[sip-comm-dev] Problems whit ant build-installation-windows or generic


#1

Hello dear developers,

I'm sure that this problem is already in the mailing list, but I can't find the soulution of it.
Can somebody help me?

I become bei starting of "ant build-installation-windows" or
                                    "ant build-installation-generic"
this message:
            
BUILD FAILED
java.lang.NullPointerException
        at com.izforge.izpack.adaptator.impl.XMLParser.searchFirstElement(Unknown Source)
        at com.izforge.izpack.adaptator.impl.XMLParser.parse(Unknown Source)
        at com.izforge.izpack.compiler.CompilerConfig.getXMLTree(Unknown Source)
        at com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown Source)
        at com.izforge.izpack.ant.IzPackTask.execute(Unknown Source)
        
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        
        at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
        
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        
        at java.lang.reflect.Method.invoke(Method.java:597)
        
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 3 seconds

Any Ideas

BR Nikolay


#2

Hey Nikolay,

Apologies for the late reply.

Note that we are not officially maintaining the izpack installers any
more since we've switch to MSI installers with wix. This may explain the
problems you are experiencing.

You may try to either switch to an older version of izpack (we were last
using 3.10.2) or switch to wix (although configuring this one might be
even tricker).

Cheers
Emil

Nikolay Velichkov wrote:

···

Hello dear developers,

I'm sure that this problem is already in the mailing list, but I can't
find the soulution of it.
Can somebody help me?

I become bei starting of "ant build-installation-windows" or
                                    "ant build-installation-generic"
this message:
           
BUILD FAILED
java.lang.NullPointerException
        at
com.izforge.izpack.adaptator.impl.XMLParser.searchFirstElement(Unknown
Source)
        at com.izforge.izpack.adaptator.impl.XMLParser.parse(Unknown Source)
        at com.izforge.izpack.compiler.CompilerConfig.getXMLTree(Unknown
Source)
        at
com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Unknown Source)
        at com.izforge.izpack.ant.IzPackTask.execute(Unknown Source)
       
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
       
        at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
       
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       
        at java.lang.reflect.Method.invoke(Method.java:597)
       
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 3 seconds

Any Ideas

BR Nikolay

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net