IzPack

'compile' crashes with NullPointer (install.xml worked with 4.3.2, but not with 4.3.3)

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.3.3
  • Fix Version/s: 4.3.3, 5.0
  • Component/s: Compiler
  • Labels:
    None
  • Environment:
    OpenSuse 11.2 x686
  • Number of attachments :
    0

Description

/usr/local/IzPack/bin/compile install.xml -b .

.:: IzPack - Version 4.3.3 ::.

< compiler specifications version: 1.0 >

  • Copyright (c) 2001-2008 Julien Ponge
  • Visit http://izpack.org/ for the latest releases
  • Released under the terms of the Apache Software License version 2.0.

-> Processing : install.xml
-> Output : install.jar
-> Base path : /home/g4l4xy/installer
-> Kind : standard
-> Compression : default
-> Compr. level: -1
-> IzPack home : /usr/local/IzPack

-> Fatal error :
null
java.lang.NullPointerException
at com.izforge.izpack.adaptator.impl.XMLParser.parseLineNrFromInputSource(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.compiler.CompilerConfig.main(Unknown Source)
at com.izforge.izpack.compiler.Compiler.main(Unknown Source)

Activity

Hide
Julien Ponge added a comment -

This one's for you David

Show
Julien Ponge added a comment - This one's for you David
Hide
Raoul S da Silva Curiel added a comment -

I should add that I didn't change the install.xml script at all that had worked with 4.3.2. I just re-ran the compilation to see if my 'unix shortcut' problem had been fixed, but now it doesn't even generate anything. Can post my install files if necessary, but should be possible to compare the code with the previous version, see what changed, and what could be null...

Show
Raoul S da Silva Curiel added a comment - I should add that I didn't change the install.xml script at all that had worked with 4.3.2. I just re-ran the compilation to see if my 'unix shortcut' problem had been fixed, but now it doesn't even generate anything. Can post my install files if necessary, but should be possible to compare the code with the previous version, see what changed, and what could be null...
Hide
David Duponchel added a comment -

Julien resolved this issue (a missing xsl file) and updated the online jar. I've just added a meaningful message just in case (the "null" message from the NPE is quite useless...).

Show
David Duponchel added a comment - Julien resolved this issue (a missing xsl file) and updated the online jar. I've just added a meaningful message just in case (the "null" message from the NPE is quite useless...).
Hide
Raoul S da Silva Curiel added a comment -

I can confirm this problem no longer exists. Do I close the issue or do you guys control that? I'm happy IZPACK-392 also seems closed. I can now create shortcuts on Linux even if other users exist on the system, which previously (4.3.2) wasn't possible as the system would hang. Great job! We'll forget about uploading over a released version! I also have a day job and a night job and gave up waiting for the fixed version well after midnight as I had to get some sleep before my day job!

Show
Raoul S da Silva Curiel added a comment - I can confirm this problem no longer exists. Do I close the issue or do you guys control that? I'm happy IZPACK-392 also seems closed. I can now create shortcuts on Linux even if other users exist on the system, which previously (4.3.2) wasn't possible as the system would hang. Great job! We'll forget about uploading over a released version! I also have a day job and a night job and gave up waiting for the fixed version well after midnight as I had to get some sleep before my day job!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: