List Info

Thread: - java 1.6 osx; build fails




- java 1.6 osx; build fails
country flaguser name
Switzerland
2008-04-30 06:50:03
Hi devs!


I just gave it a try to build lenya on osx with java 1.6 -
recently  
delivered by apple via the system update (finally...; but
only for  
64bit intel macs...).
Thought I'd let you know about the outcome...

The build fails with the following message:

[...]

validate-config:
Validating some important configuration files
Validating cocoon.xconf using a very basic RELAX NG grammar
...

BUILD FAILED
/Users/ragaller/apache/lenya/lenya-trunk/src/targets/init-bu
ild.xml: 
64: The following error occurred while executing this line:
/Users/ragaller/apache/lenya/lenya-trunk/src/targets/init-bu
ild.xml: 
73: The following error occurred while executing this line:
/Users/ragaller/apache/lenya/lenya-trunk/externals/cocoon_2_
1_x/tools/ 
targets/validate-build.xml:87:
java.lang.NullPointerException


Can anyone reproduce this? - hints about how to debug this
are  
appreciated.


Jürgen
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: - java 1.6 osx; build fails
country flaguser name
Spain
2008-04-30 11:43:58
On Wed, 2008-04-30 at 13:50 +0200, Juergen Ragaller wrote:
> Hi devs!
> 
> 
> I just gave it a try to build lenya on osx with java
1.6 - recently  
> delivered by apple via the system update (finally...;
but only for  
> 64bit intel macs...).
> Thought I'd let you know about the outcome...
> 
> The build fails with the following message:
> 
> [...]
> 
> validate-config:
> Validating some important configuration files
> Validating cocoon.xconf using a very basic RELAX NG
grammar ...
> 
> BUILD FAILED
>
/Users/ragaller/apache/lenya/lenya-trunk/src/targets/init-bu
ild.xml: 
> 64: The following error occurred while executing this
line:
>
/Users/ragaller/apache/lenya/lenya-trunk/src/targets/init-bu
ild.xml: 
> 73: The following error occurred while executing this
line:
>
/Users/ragaller/apache/lenya/lenya-trunk/externals/cocoon_2_
1_x/tools/ 
> targets/validate-build.xml:87:
java.lang.NullPointerException
> 
> 
> Can anyone reproduce this? - hints about how to debug
this are  
> appreciated.

I have seen a lot with 1.6 build in other apps and various
os. The
validation is always what is failing. Mostly it is a problem
of the xsl
processor (xalan, saxon et.al.).

Please do the build with the -v flag then we get a
stacktrace.

./build.sh -v

salu2

> 
> 
> Jürgen
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
> 
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: - java 1.6 osx; build fails
country flaguser name
Switzerland
2008-04-30 14:45:56
Am 30.04.2008 um 18:43 schrieb Thorsten Scherler:
>
> I have seen a lot with 1.6 build in other apps and
various os. The
> validation is always what is failing. Mostly it is a
problem of the  
> xsl
> processor (xalan, saxon et.al.).
>
> Please do the build with the -v flag then we get a
stacktrace.


Thanks, Thorsten - I did that

here is the stacktrace:

BUILD FAILED
/Users/ragaller/apache/lenya/lenya-trunk/src/targets/webapp-
build.xml: 
74: 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.ja
va:1216)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:1185
)
	at  
org 
.apache 
.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java: 
40)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:106
8)
	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(DatatypeLibraryLoader.java:151)
	at org.relaxng.datatype.helpers.DatatypeLibraryLoader 
$Service.<init>(DatatypeLibraryLoader.java:173)
	at  
org 
.relaxng 
.datatype 
.helpers.DatatypeLibraryLoader.<init>(DatatypeLibraryL
oader.java:57)
	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(Unk
nown  
Source)
	at  
org 
.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElemen
t(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(Unk
nown 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(Unk
nown  
Source)
	at  
com.thaiopensource.validate.auto.AutoSchemaReader.createSche
ma(Unknown  
Source)
	at
com.thaiopensource.validate.ValidationDriver.loadSchema(Unkn
own  
Source)
	at com.thaiopensource.relaxng.util.JingTask.execute(Unknown
Source)
	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j
ava: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(DatatypeLibraryLoader.java:151)
	at org.relaxng.datatype.helpers.DatatypeLibraryLoader 
$Service.<init>(DatatypeLibraryLoader.java:173)
	at  
org 
.relaxng 
.datatype 
.helpers.DatatypeLibraryLoader.<init>(DatatypeLibraryL
oader.java:57)
	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(Unk
nown  
Source)
	at  
org 
.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElemen
t(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(Unk
nown 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(Unk
nown  
Source)
	at  
com.thaiopensource.validate.auto.AutoSchemaReader.createSche
ma(Unknown  
Source)
	at
com.thaiopensource.validate.ValidationDriver.loadSchema(Unkn
owso  
fn Source)
	at com.thaiopensource.relaxng.util.JingTask.execute(Unknown
Source)
	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j
ava: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.ja
va:1216)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:1185
)
	at  
org 
.apache 
.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java: 
40)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:106
8)
	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)


****

Jürgen



------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )