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 "Jean T. Anderson" <jt...@bristowhill.com> on 2007/01/12 19:34:51 UTC

DITA: 'ant ref' gets BUILD FAILED

I haven't paid close attention to the dita discussions lately -- are we
supposed to upgrade to the latest and greatest DITA release?

If not, please keep reading ....

'ant ref' in the trunk gets BUILD FAILED:

topicpull:
     [xslt] Transforming into /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp
     [xslt] Processing
/home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita to
/home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita.pull
     [xslt] Loading stylesheet
/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl
     [xslt] : Error! null
     [xslt] Failed to process
/home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita

BUILD FAILED
/home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:113: The following
error occurred while executing this line:
/home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:143: The following
error occurred while executing this line:
/home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/pretargets.xml:136:
javax.xml.transform.TransformerException: java.lang.NullPointerException

The specific file it seems to be complaining about
(src/ref/crefjavbclobnot.dita) hasn't changed since last August, so I
doubt it's the problem.

'ant ref' in the 10.2 branch succeeds.

thanks,

 -jean

Re: DITA: 'ant ref' gets BUILD FAILED

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
Andrew McIntyre wrote:
...
> Doc trunk build is working for me at the moment also. Might be a
> problem with the version of Xalan that is included in the JDK you are
> using?

yup, that was it. 1.4 works fine, 1.5 doesn't. somehow I just didn't
stumble into this problem before.

thanks,

 -jean


Re: DITA: 'ant ref' gets BUILD FAILED

Posted by Andrew McIntyre <mc...@gmail.com>.
On 1/12/07, Jean T. Anderson <jt...@bristowhill.com> wrote:
> I haven't paid close attention to the dita discussions lately -- are we
> supposed to upgrade to the latest and greatest DITA release?
>
> If not, please keep reading ....
>
> 'ant ref' in the trunk gets BUILD FAILED:
>
> <snip error>
>
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/pretargets.xml:136:
> javax.xml.transform.TransformerException: java.lang.NullPointerException
>
> The specific file it seems to be complaining about
> (src/ref/crefjavbclobnot.dita) hasn't changed since last August, so I
> doubt it's the problem.
>
> 'ant ref' in the 10.2 branch succeeds.

Doc trunk build is working for me at the moment also. Might be a
problem with the version of Xalan that is included in the JDK you are
using?

andrew

Re: DITA: 'ant ref' gets BUILD FAILED

Posted by "Jean T. Anderson" <jt...@bristowhill.com>.
scott hutinger wrote:
> My build with jdk1.4.x
> java version "1.4.2-03"
> Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
> Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode)
> 
> BUILD SUCCESSFUL
> Total time: 40 minutes 39 seconds
> 
> So I think jdk versions may be making your build fail?

you're right! that was it. It succeeds on 1.4.2 and fails on 1.5.0. I
had one shell set to 1.5 (for Eclipse) and just happened to be building
the 10.2 branch in a shell set to 1.4.

thanks! mystery solved,

 -jean


Re: DITA: 'ant ref' gets BUILD FAILED

Posted by scott hutinger <S-...@wiu.edu>.
My build with jdk1.4.x
java version "1.4.2-03"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode)

BUILD SUCCESSFUL
Total time: 40 minutes 39 seconds

So I think jdk versions may be making your build fail?
scott
scott hutinger wrote:
> My build ran out of memory, so am starting it again, although it takes 
> a bit on this machine timewise.  Are version of java are you using?
> I was using 6 for everything, but it fails for the doc build, so I 
> moved down to a 1.4.x version.  I'm going to try the latest 1.3.1 dita 
> doc build later, but it fails with jse 6 also.  I can't remember if I 
> used jdk1.5 for builds in the past(?)  BTW, the reason I didn't think 
> the patch I submitted worked was due to jdk1.6 failing the build.
>
> As for upgrading, I noticed that some of the xslt files in the release 
> version had some x's in front of specifically title (was xtitle) 
> somehow it was patched into title on my version (probably jeff?).
> My build is still going, and may take a bit as it's just at the html 
> processing.
>
> scott
>
> Jean T. Anderson wrote:
>> I haven't paid close attention to the dita discussions lately -- are we
>> supposed to upgrade to the latest and greatest DITA release?
>>
>> If not, please keep reading ....
>>
>> 'ant ref' in the trunk gets BUILD FAILED:
>>
>> topicpull:
>>      [xslt] Transforming into 
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp
>>      [xslt] Processing
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita to
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita.pull
>>      [xslt] Loading stylesheet
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl 
>>
>>      [xslt] : Error! null
>>      [xslt] Failed to process
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita
>>
>> BUILD FAILED
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:113: The following
>> error occurred while executing this line:
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:143: The following
>> error occurred while executing this line:
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/pretargets.xml:136: 
>>
>> javax.xml.transform.TransformerException: java.lang.NullPointerException
>>
>> The specific file it seems to be complaining about
>> (src/ref/crefjavbclobnot.dita) hasn't changed since last August, so I
>> doubt it's the problem.
>>
>> 'ant ref' in the 10.2 branch succeeds.
>>
>> thanks,
>>
>>  -jean
>>   


Re: DITA: 'ant ref' gets BUILD FAILED

Posted by Kim Haase <Ca...@Sun.COM>.
Hi,

You're right, you need 1.4.x for the doc build. We are still using the 
DITA 1.1.2.1 toolkit.

Best of luck,
Kim Haase

scott hutinger wrote:
> My build ran out of memory, so am starting it again, although it takes a 
> bit on this machine timewise.  Are version of java are you using?
> I was using 6 for everything, but it fails for the doc build, so I moved 
> down to a 1.4.x version.  I'm going to try the latest 1.3.1 dita doc 
> build later, but it fails with jse 6 also.  I can't remember if I used 
> jdk1.5 for builds in the past(?)  BTW, the reason I didn't think the 
> patch I submitted worked was due to jdk1.6 failing the build.
> 
> As for upgrading, I noticed that some of the xslt files in the release 
> version had some x's in front of specifically title (was xtitle) somehow 
> it was patched into title on my version (probably jeff?).
> My build is still going, and may take a bit as it's just at the html 
> processing.
> 
> scott
> 
> Jean T. Anderson wrote:
>> I haven't paid close attention to the dita discussions lately -- are we
>> supposed to upgrade to the latest and greatest DITA release?
>>
>> If not, please keep reading ....
>>
>> 'ant ref' in the trunk gets BUILD FAILED:
>>
>> topicpull:
>>      [xslt] Transforming into 
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp
>>      [xslt] Processing
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita to
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita.pull
>>      [xslt] Loading stylesheet
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl 
>>
>>      [xslt] : Error! null
>>      [xslt] Failed to process
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita
>>
>> BUILD FAILED
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:113: The following
>> error occurred while executing this line:
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:143: The following
>> error occurred while executing this line:
>> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/pretargets.xml:136: 
>>
>> javax.xml.transform.TransformerException: java.lang.NullPointerException
>>
>> The specific file it seems to be complaining about
>> (src/ref/crefjavbclobnot.dita) hasn't changed since last August, so I
>> doubt it's the problem.
>>
>> 'ant ref' in the 10.2 branch succeeds.
>>
>> thanks,
>>
>>  -jean
>>   
> 

Re: DITA: 'ant ref' gets BUILD FAILED

Posted by scott hutinger <S-...@wiu.edu>.
My build ran out of memory, so am starting it again, although it takes a 
bit on this machine timewise.  Are version of java are you using?
I was using 6 for everything, but it fails for the doc build, so I moved 
down to a 1.4.x version.  I'm going to try the latest 1.3.1 dita doc 
build later, but it fails with jse 6 also.  I can't remember if I used 
jdk1.5 for builds in the past(?)  BTW, the reason I didn't think the 
patch I submitted worked was due to jdk1.6 failing the build.

As for upgrading, I noticed that some of the xslt files in the release 
version had some x's in front of specifically title (was xtitle) somehow 
it was patched into title on my version (probably jeff?).
My build is still going, and may take a bit as it's just at the html 
processing.

scott

Jean T. Anderson wrote:
> I haven't paid close attention to the dita discussions lately -- are we
> supposed to upgrade to the latest and greatest DITA release?
>
> If not, please keep reading ....
>
> 'ant ref' in the trunk gets BUILD FAILED:
>
> topicpull:
>      [xslt] Transforming into /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp
>      [xslt] Processing
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita to
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita.pull
>      [xslt] Loading stylesheet
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl
>      [xslt] : Error! null
>      [xslt] Failed to process
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/temp/crefjavbclobnot.dita
>
> BUILD FAILED
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:113: The following
> error occurred while executing this line:
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/build.xml:143: The following
> error occurred while executing this line:
> /home/jta/DB-DERBY-SVN/derby/docs/trunk/DITA-OT1.1.2.1/pretargets.xml:136:
> javax.xml.transform.TransformerException: java.lang.NullPointerException
>
> The specific file it seems to be complaining about
> (src/ref/crefjavbclobnot.dita) hasn't changed since last August, so I
> doubt it's the problem.
>
> 'ant ref' in the 10.2 branch succeeds.
>
> thanks,
>
>  -jean
>