[ 
https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549892
 ] 

jeblinux edited comment on FOR-984 at 12/9/07 8:29 PM:
----------------------------------------------------------

I have the same issue when after downloading apache-forrest-0.8 and running 
forrest on the 'seeded' directory. I am running Debian with java version 
"1.5.0" gij (GNU libgcj) version 4.2.1 (Debian 4.2.1-5). I was even able to 
successfully build the project with the GNU tools by typing 'build' from the 
'forrest/main' directory. Here is some verbose output from the build process.

validate-sitemap:

BUILD FAILED
/home/jacob/apache-forrest-0.8/main/targets/validate.xml:158: 
java.lang.NullPointerException
   at org.apache.tools.ant.Task.perform(Task.java:373)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
   at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.apache.tools.ant.Main.runBuild(Main.java:668)
   at org.apache.tools.ant.Main.startAnt(Main.java:187)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.81)
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.81)
   at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.81)
   at 
com.thaiopensource.relaxng.impl.SchemaReceiverImpl.installHandlers(Unknown 
Source)
   at 
com.thaiopensource.validate.auto.AutoSchemaReceiver$Handler.startElement(Unknown
 Source)
   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
   at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(Unknown 
Source)
   at com.thaiopensource.validate.ValidationDriver.loadSchema(Unknown Source)
   at com.thaiopensource.relaxng.util.JingTask.execute(Unknown Source)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   ...10 more
--- Nested Exception ---
java.lang.NullPointerException
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.81)
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.81)
   at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.81)
   at 
com.thaiopensource.relaxng.impl.SchemaReceiverImpl.installHandlers(Unknown 
Source)
   at 
com.thaiopensource.validate.auto.AutoSchemaReceiver$Handler.startElement(Unknown
 Source)
   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
   at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(Unknown 
Source)
   at com.thaiopensource.validate.ValidationDriver.loadSchema(Unknown Source)
   at com.thaiopensource.relaxng.util.JingTask.execute(Unknown Source)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
   at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.apache.tools.ant.Main.runBuild(Main.java:668)
   at org.apache.tools.ant.Main.startAnt(Main.java:187)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

      was (Author: jeblinux):
    I have the same issue when after downloading apache-forrest-0.8 and running 
forrest on the 'seeded' directory. I am running Debian with java version 
"1.5.0" gij (GNU libgcj) version 4.2.1 (Debian 4.2.1-5). I was even able to 
successfully build the project with the GNU tools by tybing 'build' from the 
'forrest/main' directory. Here is some verbose output from the build process.

validate-sitemap:

BUILD FAILED
/home/jacob/apache-forrest-0.8/main/targets/validate.xml:158: 
java.lang.NullPointerException
   at org.apache.tools.ant.Task.perform(Task.java:373)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
   at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.apache.tools.ant.Main.runBuild(Main.java:668)
   at org.apache.tools.ant.Main.startAnt(Main.java:187)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.NullPointerException
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.81)
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.81)
   at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.81)
   at 
com.thaiopensource.relaxng.impl.SchemaReceiverImpl.installHandlers(Unknown 
Source)
   at 
com.thaiopensource.validate.auto.AutoSchemaReceiver$Handler.startElement(Unknown
 Source)
   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
   at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(Unknown 
Source)
   at com.thaiopensource.validate.ValidationDriver.loadSchema(Unknown Source)
   at com.thaiopensource.relaxng.util.JingTask.execute(Unknown Source)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   ...10 more
--- Nested Exception ---
java.lang.NullPointerException
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.81)
   at 
org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.81)
   at org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.81)
   at 
com.thaiopensource.relaxng.impl.SchemaReceiverImpl.installHandlers(Unknown 
Source)
   at 
com.thaiopensource.validate.auto.AutoSchemaReceiver$Handler.startElement(Unknown
 Source)
   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
   at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(Unknown 
Source)
   at com.thaiopensource.validate.ValidationDriver.loadSchema(Unknown Source)
   at com.thaiopensource.relaxng.util.JingTask.execute(Unknown Source)
   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
   at org.apache.tools.ant.Task.perform(Task.java:364)
   at org.apache.tools.ant.Target.execute(Target.java:341)
   at org.apache.tools.ant.Target.performTasks(Target.java:369)
   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
   at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
   at org.apache.tools.ant.Main.runBuild(Main.java:668)
   at org.apache.tools.ant.Main.startAnt(Main.java:187)
   at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
   at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
  
> Forrest doesn't work properly with Sun's JDK 1.6
> ------------------------------------------------
>
>                 Key: FOR-984
>                 URL: https://issues.apache.org/jira/browse/FOR-984
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Core operations, Launch 'forrest'
>    Affects Versions: 0.8, 0.9-dev
>            Reporter: Schumarer
>             Fix For: 0.9-dev
>
>         Attachments: log.txt
>
>
> Hi, 
> This problem is quite easy to reproduce. First, install Sun's JDK 1.6 
> (whatever version until 1.6.0_01-b06 ) define your %JAVA_HOME% on that JDK.
> When you seed a new projet, there is no problem and it works. 
> When you do a "forrest run", it works too, but when you do a "forrest" it 
> doesn't work anymore. I'll try to attach a full log.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.