You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Schumarer (JIRA)" <ji...@apache.org> on 2007/04/12 18:59:32 UTC
[jira] Created: (FOR-984) Forrest doesn't work properly with Sun's
JDK 1.6
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-dev
Reporter: Schumarer
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.
Re: [jira] Updated: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by Ross Gardler <rg...@apache.org>.
Schumarer wrote:
> If you want to know, it's the same problem on Ubuntu 6.10 with Java 6.
Thanks for the report, very useful. We'll address it sometime in the
next dev cycle.
Ross
Re: [jira] Updated: (FOR-984) Forrest doesn't work properly with Sun's JDK 1.6
Posted by Schumarer <sc...@gmail.com>.
If you want to know, it's the same problem on Ubuntu 6.10 with Java 6.
but works great with java 1.5 update 8.
usr@gandalf:~/testing$ java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)
On 4/12/07, Schumarer (JIRA) <ji...@apache.org> wrote:
>
>
> [
> https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Schumarer updated FOR-984:
> --------------------------
>
> Attachment: log.txt
>
> This has been tested on Windows SP2 with java 1.6.0_01 (latest version)
>
> > 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-dev
> > Reporter: Schumarer
> > 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.
>
>
[jira] Commented: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544416 ]
Thorsten Scherler commented on FOR-984:
---------------------------------------
This bug only should appear in jdk => 1.6.
Seeing that you use 1.5 on Fedora makes me wonder which JDK you are using, suns or other?
> 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.
[jira] Commented: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by "Bjorn Agren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544072 ]
Bjorn Agren commented on FOR-984:
---------------------------------
Hi
any updates on this? I get the same issue when using java 1.5 on Fedora 7. I do a forrest seed, then to run "forrest run" is ok but "forrest" halts at validate-sitemap with the error
......./apache-forrest-0.8/main/targets/validate.xml:158 java.lang.NullPointerException.
This happens with the install right from the distribution: build.sh generates the above warning Container.Until.compose.......
Any help is very appreciated
thanks
/Bjorn
> 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.
[jira] Issue Comment Edited: (FOR-984) Forrest doesn't work
properly with Sun's JDK 1.6
Posted by "Jacob Brown (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Crossley updated FOR-984:
-------------------------------
Description:
Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
validate-sitemap:
D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
was:
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.
Summary: validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes (was: Forrest doesn't work properly with Sun's JDK 1.6)
Changed the Issue Summary from "Forrest doesn't work properly with Sun's JDK 1.6" to "validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes". Also edited description.
validate-sitemap:
C:\devtools\apache-forrest-0.7\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31: error: datatype library
"http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645383#action_12645383 ]
David Crossley commented on FOR-984:
------------------------------------
I see that James Clark has re-surfaced and commenced a project for Jing and other RELAX NG tools.
http://code.google.com/p/jing-trang/ ... BSD license.
I haven't tried yet (and not yet on Java 6 anyway) but updating our packaged version of Jing might help.
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FOR-984) Forrest doesn't work properly with Sun's
JDK 1.6
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Crossley updated FOR-984:
-------------------------------
Fix Version/s: 0.9
Affects Version/s: 0.9
> 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-dev, 0.9
> Reporter: Schumarer
> Fix For: 0.9
>
> 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.
[jira] Commented: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by "Jacob Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549892 ]
Jacob Brown commented on FOR-984:
---------------------------------
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.
[jira] Issue Comment Edited: (FOR-984) Forrest doesn't work
properly with Sun's JDK 1.6
Posted by "Jacob Brown (JIRA)" <ji...@apache.org>.
[ 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:30 PM:
----------------------------------------------------------
I have the same issue 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 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)
> 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.
[jira] Commented: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650993#action_12650993 ]
Thorsten Scherler commented on FOR-984:
---------------------------------------
Environment : Guadalinex v5 (basado en ubuntu 8.04)
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
...
forrest validate :
...
validate-xdocs:
Warning: Reference forrest.cp has not been set at runtime, but was found during
build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-executed targets.
31 file(s) have been successfully validated.
...validated xdocs
validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf
validate-sitemap:
...validated project sitemap
validate-skinchoice:
...validated existence of skin 'pelt'
BUILD SUCCESSFUL
Total time: 8 seconds
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650951#action_12650951 ]
Cyriaque Dupoirieux commented on FOR-984:
-----------------------------------------
I have tested what David wanted :
Environment : Windows XP
java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
forrest validate :
...
validate-xdocs:
Warning: Reference forrest.cp has not been set at runtime, but was found during
build file parsing, attempting to resolve. Future versions of Ant may support
referencing ids defined in non-executed targets.
31 file(s) have been successfully validated.
...validated xdocs
validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf
validate-sitemap:
...validated project sitemap
validate-skinchoice:
...validated existence of skin 'pelt'
BUILD SUCCESSFUL
Total time: 8 seconds
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FOR-984) Forrest doesn't work properly with Sun's
JDK 1.6
Posted by "Schumarer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Schumarer updated FOR-984:
--------------------------
Attachment: log.txt
This has been tested on Windows SP2 with java 1.6.0_01 (latest version)
> 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-dev
> Reporter: Schumarer
> 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.
[jira] Commented: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620506#action_12620506 ]
David Crossley commented on FOR-984:
------------------------------------
I do not yet have Java 1.6 so cannot help debug this. Looking at the "log.txt" attachment from the issue reporter, it seems that this happens from our "validate-sitemap" Ant task for Jing. So it is not Forrest itself.
People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
> 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.
[jira] Commented: (FOR-984) Forrest doesn't work properly with
Sun's JDK 1.6
Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489652 ]
Cyriaque Dupoirieux commented on FOR-984:
-----------------------------------------
I have the following warning (build.sh) with the java 1.5.0_11 on Mandriva Linux Free 2007 :
init:
--------------------------------------------------------------
Using Apache Ant version 1.6.5 compiled on May 16 2006
Build file /home/windchill/Desktop/forrest/main/build.xml
Use 'build.[sh|bat] -projecthelp' to see other options.
Build system home /home/windchill/Desktop/forrest/tools/ant
Build number 1
Project Name Forrest build file
Java Version 1.5
Timestamp 200704170207
This is: apache-forrest 0.8
--------------------------------------------------------------
compile:
Created dir: /home/windchill/Desktop/forrest/build/classes
Compiling 32 source files to /home/windchill/Desktop/forrest/build/classes
/home/windchill/Desktop/forrest/main/java/org/apache/forrest/locationmap/lm/LocationMap.java:256: warning: [deprecation] compose(java.lang.Object,org.apache.avalon.framework.component.ComponentManager) in org.apache.avalon.framework.container.ContainerUtil has been deprecated
ContainerUtil.compose(context, new WrapperComponentManager(m_manager));
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
I think this may help, some APIs are deprecated in the 1.5 so they should not be used with 1.6...
> 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-dev, 0.9
> Reporter: Schumarer
> Fix For: 0.9
>
> 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.
[jira] Issue Comment Edited: (FOR-984) Forrest doesn't work
properly with Sun's JDK 1.6
Posted by "Jacob Brown (JIRA)" <ji...@apache.org>.
[ 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:31 PM:
----------------------------------------------------------
I have the same issue 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 running forrest.
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 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)
> 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.
[jira] Commented: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649593#action_12649593 ]
David Crossley commented on FOR-984:
------------------------------------
Would someone on Java 6 please test the current Forrest trunk SVN.
]$ cd my-new-dir
]$ forrest seed
]$ forrest validate
It should now get past the "validate-sitemap" stage.
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FOR-984) validate-sitemap target fails relaxng
validation on some JDK 1.6: missing datatypes
Posted by "David Crossley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FOR-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Crossley closed FOR-984.
------------------------------
Resolution: Fixed
Fantastic. Thanks. Welcome to the new Jing.
> validate-sitemap target fails relaxng validation on some JDK 1.6: missing datatypes
> -----------------------------------------------------------------------------------
>
> 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
>
>
> Doing 'forrest' fails at the validate-sitemap task. Missing the RELAX NG datatype library ...
> validate-sitemap:
> D:\apache-forrest-0.8rc\main\webapp\resources\schema\relaxng\sitemap-v06.rng:72:31:
> error: datatype library "http://www.w3.org/2001/XMLSchema-datatypes" not recognized
> People should be able to work around that by editing their forrest.properties configuration to expose the "forrest.validate.sitemap" property and set it to "false". Might need to do the same for the "forrest.validate.stylesheets" property.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.