You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Myrna van Lunteren <m....@gmail.com> on 2010/04/23 00:48:05 UTC

failure building derby docs tools target?

Hi,

I haven't tried building the derby docs in a long time, but I just
tried it and I got a failure:
....
topicpull:
     [xslt] Transforming into C:\derbyt\docs\trunk\temp
     [xslt] Processing C:\derbyt\docs\trunk\temp\ctools1003034.dita to
C:\derbyt\docs\trunk\temp\ctools1003034.dita.pull
     [xslt] Loading stylesheet
C:\derbyt\docs\trunk\DITA-OT1.1.2.1\xsl\preprocess\topicpull.xsl
     [xslt] : Fatal Error! Index: 0, Size: 0
     [xslt] : Fatal Error! Fatal error during transformation Cause:
Fatal error during transformation
     [xslt] Failed to process null

BUILD FAILED
C:\derbyt\docs\trunk\build.xml:80: The following error occurred while
executing this line:
C:\derbyt\docs\trunk\build.xml:134: The following error occurred while
executing this line:
C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
during transformation

Does anyone have any insight or suggestions?

Myrna

Re: failure building derby docs tools target?

Posted by Eranda Sooriyabandara <er...@gmail.com>.
Hi Nirmal,
Thanks for pointing me out.Seems like big task. Can you send me html build.
Thanks
Eranda
On Sun, Apr 25, 2010 at 10:44 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Hi Eranda,
>
> It seems that you have to revert to JDK 1.4.2 and give a try.
> Read this
> http://mail-archives.apache.org/mod_mbox/db-derby-dev/200702.mbox/%3C17891.12541.275867.705064@gargle.gargle.HOWL%3E
> ,
> Dag faced this problem before.
>
> But in my case I am using JDK 1.6.0_16, and build was fine.
>
>
>
> On Sun, Apr 25, 2010 at 10:31 AM, Eranda Sooriyabandara
>  <er...@gmail.com> wrote:
> > Hi Nirmal,
> > Thanks for reply.I try them but no Improvement. Same excetions again and
> > again.
> > Thanks
> > Eranda
> >
> > On Sun, Apr 25, 2010 at 10:21 AM, Nirmal Fernando <
> nirmal070125@gmail.com>
> > wrote:
> >>
> >> Hi Eranda,
> >>
> >> I checked out revision 937596 yesterday, and the tools built fine in
> >> Vista. Give another try after re-checkout the Derby docs, and before
> >> that have a check on DITA version (you need DITA-OT1.1.2.1)
> >>
> >> Hope this will help you.
> >>
> >>
> >> On Sun, Apr 25, 2010 at 10:11 AM, Eranda Sooriyabandara
> >> <er...@gmail.com> wrote:
> >> > Hi Bryan,
> >> > Sorry for being late to reply.
> >> > Yes this is my first time on building this. I use ant html to build
> the
> >> > code.
> >> > Also when I am builing this with the command "ant html.tools" I got
> the
> >> > same
> >> > exception.
> >> > Thanks
> >> > Eranda
> >> >
> >> > On Sat, Apr 24, 2010 at 6:11 AM, Bryan Pendleton
> >> > <bp...@gmail.com> wrote:
> >> >>
> >> >> Eranda Sooriyabandara wrote:
> >> >>>
> >> >>>     [xslt]
> com.sun.org.apache.bcel.internal.generic.ClassGenException:
> >> >>> Branch target offset too large for short
> >> >>>
> >> >>> What can be the wrong?
> >> >>
> >> >> Hi Eranda,
> >> >>
> >> >> I've never seen this error before.
> >> >>
> >> >> Is this the first time you tried to build the docs on this machine?
> >> >>
> >> >> Which docs build command did you run?
> >> >>
> >> >> Can you build an individual doc target, like:
> >> >>
> >> >>  ant html.tools
> >> >>
> >> >> thanks,
> >> >>
> >> >> bryan
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Best Regards,
> >> Nirmal
> >>
> >> C.S.Nirmal J. Fernando
> >> Department of Computer Science & Engineering,
> >> Faculty of Engineering,
> >> University of Moratuwa,
> >> Sri Lanka.
> >
> >
>
>
>
> --
>  Best Regards,
> Nirmal
>
> C.S.Nirmal J. Fernando
> Department of Computer Science & Engineering,
> Faculty of Engineering,
> University of Moratuwa,
> Sri Lanka.
>

Re: failure building derby docs tools target?

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Eranda,

It seems that you have to revert to JDK 1.4.2 and give a try.
Read this http://mail-archives.apache.org/mod_mbox/db-derby-dev/200702.mbox/%3C17891.12541.275867.705064@gargle.gargle.HOWL%3E,
Dag faced this problem before.

But in my case I am using JDK 1.6.0_16, and build was fine.



On Sun, Apr 25, 2010 at 10:31 AM, Eranda Sooriyabandara
<er...@gmail.com> wrote:
> Hi Nirmal,
> Thanks for reply.I try them but no Improvement. Same excetions again and
> again.
> Thanks
> Eranda
>
> On Sun, Apr 25, 2010 at 10:21 AM, Nirmal Fernando <ni...@gmail.com>
> wrote:
>>
>> Hi Eranda,
>>
>> I checked out revision 937596 yesterday, and the tools built fine in
>> Vista. Give another try after re-checkout the Derby docs, and before
>> that have a check on DITA version (you need DITA-OT1.1.2.1)
>>
>> Hope this will help you.
>>
>>
>> On Sun, Apr 25, 2010 at 10:11 AM, Eranda Sooriyabandara
>> <er...@gmail.com> wrote:
>> > Hi Bryan,
>> > Sorry for being late to reply.
>> > Yes this is my first time on building this. I use ant html to build the
>> > code.
>> > Also when I am builing this with the command "ant html.tools" I got the
>> > same
>> > exception.
>> > Thanks
>> > Eranda
>> >
>> > On Sat, Apr 24, 2010 at 6:11 AM, Bryan Pendleton
>> > <bp...@gmail.com> wrote:
>> >>
>> >> Eranda Sooriyabandara wrote:
>> >>>
>> >>>     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException:
>> >>> Branch target offset too large for short
>> >>>
>> >>> What can be the wrong?
>> >>
>> >> Hi Eranda,
>> >>
>> >> I've never seen this error before.
>> >>
>> >> Is this the first time you tried to build the docs on this machine?
>> >>
>> >> Which docs build command did you run?
>> >>
>> >> Can you build an individual doc target, like:
>> >>
>> >>  ant html.tools
>> >>
>> >> thanks,
>> >>
>> >> bryan
>> >
>> >
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> C.S.Nirmal J. Fernando
>> Department of Computer Science & Engineering,
>> Faculty of Engineering,
>> University of Moratuwa,
>> Sri Lanka.
>
>



-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Re: failure building derby docs tools target?

Posted by Eranda Sooriyabandara <er...@gmail.com>.
Hi Nirmal,
Thanks for reply.I try them but no Improvement. Same excetions again and
again.
Thanks
Eranda

On Sun, Apr 25, 2010 at 10:21 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Hi Eranda,
>
> I checked out revision 937596 yesterday, and the tools built fine in
> Vista. Give another try after re-checkout the Derby docs, and before
> that have a check on DITA version (you need DITA-OT1.1.2.1)
>
> Hope this will help you.
>
>
> On Sun, Apr 25, 2010 at 10:11 AM, Eranda Sooriyabandara
> <er...@gmail.com> wrote:
> > Hi Bryan,
> > Sorry for being late to reply.
> > Yes this is my first time on building this. I use ant html to build the
> > code.
> > Also when I am builing this with the command "ant html.tools" I got the
> same
> > exception.
> > Thanks
> > Eranda
> >
> > On Sat, Apr 24, 2010 at 6:11 AM, Bryan Pendleton
> > <bp...@gmail.com> wrote:
> >>
> >> Eranda Sooriyabandara wrote:
> >>>
> >>>     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException:
> >>> Branch target offset too large for short
> >>>
> >>> What can be the wrong?
> >>
> >> Hi Eranda,
> >>
> >> I've never seen this error before.
> >>
> >> Is this the first time you tried to build the docs on this machine?
> >>
> >> Which docs build command did you run?
> >>
> >> Can you build an individual doc target, like:
> >>
> >>  ant html.tools
> >>
> >> thanks,
> >>
> >> bryan
> >
> >
>
>
>
> --
> Best Regards,
> Nirmal
>
> C.S.Nirmal J. Fernando
> Department of Computer Science & Engineering,
> Faculty of Engineering,
> University of Moratuwa,
> Sri Lanka.
>

Re: failure building derby docs tools target?

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Eranda,

I checked out revision 937596 yesterday, and the tools built fine in
Vista. Give another try after re-checkout the Derby docs, and before
that have a check on DITA version (you need DITA-OT1.1.2.1)

Hope this will help you.


On Sun, Apr 25, 2010 at 10:11 AM, Eranda Sooriyabandara
<er...@gmail.com> wrote:
> Hi Bryan,
> Sorry for being late to reply.
> Yes this is my first time on building this. I use ant html to build the
> code.
> Also when I am builing this with the command "ant html.tools" I got the same
> exception.
> Thanks
> Eranda
>
> On Sat, Apr 24, 2010 at 6:11 AM, Bryan Pendleton
> <bp...@gmail.com> wrote:
>>
>> Eranda Sooriyabandara wrote:
>>>
>>>     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException:
>>> Branch target offset too large for short
>>>
>>> What can be the wrong?
>>
>> Hi Eranda,
>>
>> I've never seen this error before.
>>
>> Is this the first time you tried to build the docs on this machine?
>>
>> Which docs build command did you run?
>>
>> Can you build an individual doc target, like:
>>
>>  ant html.tools
>>
>> thanks,
>>
>> bryan
>
>



-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Re: failure building derby docs tools target?

Posted by Eranda Sooriyabandara <er...@gmail.com>.
Hi Bryan,
Sorry for being late to reply.
Yes this is my first time on building this. I use ant html to build the
code.
Also when I am builing this with the command "ant html.tools" I got the same
exception.
Thanks
Eranda

On Sat, Apr 24, 2010 at 6:11 AM, Bryan Pendleton <bpendleton.derby@gmail.com
> wrote:

> Eranda Sooriyabandara wrote:
>
>>     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException:
>> Branch target offset too large for short
>>
>> What can be the wrong?
>>
>
> Hi Eranda,
>
> I've never seen this error before.
>
> Is this the first time you tried to build the docs on this machine?
>
> Which docs build command did you run?
>
> Can you build an individual doc target, like:
>
>  ant html.tools
>
> thanks,
>
> bryan
>

Re: failure building derby docs tools target?

Posted by Bryan Pendleton <bp...@gmail.com>.
Eranda Sooriyabandara wrote:
>      [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException: 
> Branch target offset too large for short
> 
> What can be the wrong?

Hi Eranda,

I've never seen this error before.

Is this the first time you tried to build the docs on this machine?

Which docs build command did you run?

Can you build an individual doc target, like:

   ant html.tools

thanks,

bryan

Re: failure building derby docs tools target?

Posted by Eranda Sooriyabandara <er...@gmail.com>.
Hi,
I try it to build on Windows Vista and I got a exception,


     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException:
Branch target offset too large for short
What can be the wrong?
Thanks
Eranda

On Fri, Apr 23, 2010 at 8:46 PM, Rick Hillegas <ri...@oracle.com>wrote:

>  Knut Anders Hatlen wrote:
>
>> On 04/23/10 03:20, Myrna van Lunteren wrote:
>>
>>
>>> On Thu, Apr 22, 2010 at 5:50 PM, Bryan Pendleton
>>> <bp...@gmail.com> wrote:
>>>
>>>
>>>> C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
>>>>> during transformation
>>>>>
>>>>>
>>>> Make sure you're using JDK 1.4. At least, that's what works for me.
>>>>
>>>> thanks,
>>>>
>>>> bryan
>>>>
>>>>
>>>>
>>>>
>>> Thanks Bryan, it worked with ibm142.
>>> Somehow I think I've gone through this once before...
>>>
>>>
>>
>> I'm able to build the docs with Sun's Java 6, but I have to run ant with
>> "-lib lib" to get it to pick up the jars in the lib dir. Haven't
>> investigated why this is needed.
>>
>>
>>
> I just successfully built the docs using Apple's Java 6 on mac os x. That
> is, I think the build succeeded. I saw pages of warnings when building the
> monohtml and pdf versions, but I've always seen those warnings. A cursory
> glance at the results suggests that the build succeeded. For the record, I
> always throw an extra slug of memory at ant when building the docs: I set
> the following environment variable:
>
> export ANT_OPTS="-Xmx512m"
>
> Regards,
> -Rick
>

Re: failure building derby docs tools target?

Posted by Rick Hillegas <ri...@oracle.com>.
Knut Anders Hatlen wrote:
> On 04/23/10 03:20, Myrna van Lunteren wrote:
>   
>> On Thu, Apr 22, 2010 at 5:50 PM, Bryan Pendleton
>> <bp...@gmail.com> wrote:
>>     
>>>> C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
>>>> during transformation
>>>>         
>>> Make sure you're using JDK 1.4. At least, that's what works for me.
>>>
>>> thanks,
>>>
>>> bryan
>>>
>>>
>>>       
>> Thanks Bryan, it worked with ibm142.
>> Somehow I think I've gone through this once before...
>>     
>
> I'm able to build the docs with Sun's Java 6, but I have to run ant with
> "-lib lib" to get it to pick up the jars in the lib dir. Haven't
> investigated why this is needed.
>
>   
I just successfully built the docs using Apple's Java 6 on mac os x. 
That is, I think the build succeeded. I saw pages of warnings when 
building the monohtml and pdf versions, but I've always seen those 
warnings. A cursory glance at the results suggests that the build 
succeeded. For the record, I always throw an extra slug of memory at ant 
when building the docs: I set the following environment variable:

export ANT_OPTS="-Xmx512m"

Regards,
-Rick

Re: failure building derby docs tools target?

Posted by Knut Anders Hatlen <Kn...@Sun.COM>.
On 04/23/10 03:20, Myrna van Lunteren wrote:
> On Thu, Apr 22, 2010 at 5:50 PM, Bryan Pendleton
> <bp...@gmail.com> wrote:
>>> C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
>>> during transformation
>>
>> Make sure you're using JDK 1.4. At least, that's what works for me.
>>
>> thanks,
>>
>> bryan
>>
>>
> 
> Thanks Bryan, it worked with ibm142.
> Somehow I think I've gone through this once before...

I'm able to build the docs with Sun's Java 6, but I have to run ant with
"-lib lib" to get it to pick up the jars in the lib dir. Haven't
investigated why this is needed.

-- 
Knut Anders

Re: failure building derby docs tools target?

Posted by Myrna van Lunteren <m....@gmail.com>.
On Thu, Apr 22, 2010 at 5:50 PM, Bryan Pendleton
<bp...@gmail.com> wrote:
>> C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
>> during transformation
>
> Make sure you're using JDK 1.4. At least, that's what works for me.
>
> thanks,
>
> bryan
>
>

Thanks Bryan, it worked with ibm142.
Somehow I think I've gone through this once before...
Myrna

Re: failure building derby docs tools target?

Posted by Bryan Pendleton <bp...@gmail.com>.
> C:\derbyt\docs\trunk\DITA-OT1.1.2.1\pretargets.xml:136: Fatal error
> during transformation

Make sure you're using JDK 1.4. At least, that's what works for me.

thanks,

bryan