db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik" <Dag.Wan...@Sun.COM>
Subject failed to build docs with JDK1.5 and JDK1.6
Date Mon, 26 Feb 2007 19:11:57 GMT

This may be a known issue?; I had to revert to JDK1.4.2 to build the
docs successfully (trunk at revision 511944).

Dag


Under JDK1.5  I got this error:

topicpull:
     [xslt] Transforming into /home/dw136774/derby/docs/trunk/temp
     [xslt] Processing /home/dw136774/derby/docs/trunk/temp/cwwdactivities.dita to /home/dw136774/derby/docs/trunk/temp/cwwdactivities.dita.pull
     [xslt] Loading stylesheet /home/dw136774/derby/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl
     [xslt] Processing /home/dw136774/derby/docs/trunk/temp/cwwdsummary.dita to /home/dw136774/derby/docs/trunk/temp/cwwdsummary.dita.pull
     [xslt] Processing /home/dw136774/derby/docs/trunk/temp/rwwdactivity3.dita to /home/dw136774/derby/docs/trunk/temp/rwwdactivity3.dita.pull
     [xslt] Processing /home/dw136774/derby/docs/trunk/temp/rwwdcopyright.dita to /home/dw136774/derby/docs/trunk/temp/rwwdcopyright.dita.pull
     [xslt] Processing /home/dw136774/derby/docs/trunk/temp/rwwdlicense.dita to /home/dw136774/derby/docs/trunk/temp/rwwdlicense.dita.pull
     [xslt] : Error! null
     [xslt] Failed to process /home/dw136774/derby/docs/trunk/temp/rwwdlicense.dita

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

Total time: 15 seconds


Under JDK1.6  I got this error:

dita.topics.xhtml:
     [xslt] Transforming into /home/dag/derby/docs/trunk/out/workingwithderbytemp
     [xslt] Processing /home/dag/derby/docs/trunk/temp/cwwdactivities.dita to /home/dag/derby/docs/trunk/out/workingwithderbytemp/cwwdactivities.html
     [xslt] Loading stylesheet /home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/dita2xhtml.xsl
     [xslt] com.sun.org.apache.bcel.internal.generic.ClassGenException: Branch target offset
too large for short
     [xslt]       at com.sun.org.apache.bcel.internal.generic.BranchInstruction.dump(BranchInstruction.java:99)
     [xslt]        at com.sun.org.apache.bcel.internal.generic.InstructionList.getByteCode(InstructionList.java:980)
     [xslt]    at com.sun.org.apache.bcel.internal.generic.MethodGen.getMethod(MethodGen.java:616)
     [xslt]  at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1039)
     [xslt]       at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
     [xslt]     at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
     [xslt]        at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:354)
     [xslt]    at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
     [xslt]    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
     [xslt]         at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:207)
     [xslt]    at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:225)
     [xslt]        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:123)
     [xslt]        at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:502)
     [xslt]   at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:257)
     [xslt]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     [xslt]      at org.apache.tools.ant.Task.perform(Task.java:364)
     [xslt]  at org.apache.tools.ant.Target.execute(Target.java:341)
     [xslt]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [xslt]         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
     [xslt]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
     [xslt]       at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
     [xslt]    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
     [xslt]   at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
     [xslt]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     [xslt]      at org.apache.tools.ant.Task.perform(Task.java:364)
     [xslt]  at org.apache.tools.ant.Target.execute(Target.java:341)
     [xslt]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [xslt]         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
     [xslt]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
     [xslt]       at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
     [xslt]    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
     [xslt]   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     [xslt]      at org.apache.tools.ant.Task.perform(Task.java:364)
     [xslt]  at org.apache.tools.ant.Target.execute(Target.java:341)
     [xslt]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [xslt]         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
     [xslt]      at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
     [xslt]       at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
     [xslt]    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
     [xslt]   at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
     [xslt]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     [xslt]      at org.apache.tools.ant.Task.perform(Task.java:364)
     [xslt]  at org.apache.tools.ant.Target.execute(Target.java:341)
     [xslt]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [xslt]         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
     [xslt]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
     [xslt]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
     [xslt]       at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
     [xslt]    at org.apache.tools.ant.Main.runBuild(Main.java:668)
     [xslt]         at org.apache.tools.ant.Main.startAnt(Main.java:187)
     [xslt]         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
     [xslt]       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/rel-links.xsl:
line 23: Attribute 'href' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/rel-links.xsl:
line 383: Attribute 'href' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/rel-links.xsl:
line 388: Attribute 'title' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/rel-links.xsl:
line 563: Attribute 'href' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/taskdisplay.xsl:
line 512: Attribute 'id' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/taskdisplay.xsl:
line 527: Attribute 'id' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/refdisplay.xsl:
line 33: Attribute 'id' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/refdisplay.xsl:
line 49: Attribute 'id' outside of element.
     [xslt] : Warning! file:/home/dag/derby/docs/trunk/DITA-OT1.1.2.1/xsl/xslhtml/refdisplay.xsl:
line 65: Attribute 'id' outside of element.
     [xslt] : Error! Branch target offset too large for short
     [xslt] : Fatal Error! Could not compile stylesheet
     [xslt] Failed to process /home/dag/derby/docs/trunk/temp/cwwdactivities.dita

BUILD FAILED

-- 
Dag H. Wanvik
Sun Microsystems, Database Technology Group (DBTG)
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax:  +47 73842101

Mime
View raw message