JDK-5108664 : Netbeans installer does not start
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 1.4.2_06
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-09-29
  • Updated: 2004-10-04
  • Resolved: 2004-10-04
Related Reports
Duplicate :  
Description
Not sure what category to select. Please reassign as appropriate. Netbeans installer does not start. When run in debug mode:
java -Dis.debug=1 -jar NetBeans-dev-20040927.jar

It gives:
line/col: 4/-1
com.jxml.quick.QPE: java.lang.NullPointerException
        at com.jxml.quick.QContext.throwPE(Unknown Source)
        at com.jxml.quick.tf.QClassWrapper.getPropertyDescriptors(Unknown Source)
        at com.jxml.quick.access.QPropertyAccess.setPD(Unknown Source)
        at com.jxml.quick.access.QPropertyAccess.writeable(Unknown Source)
        at com.jxml.quick.engine.QCElementFactory$QCElement$CEState.match(Unknown Source)
        at com.jxml.quick.engine.QCMSeqFactory$QCMSeq$SeqState.match(Unknown Source)
        at com.jxml.quick.engine.QElementFactory$QElement$EState.processElement(Unknown Source)
        at com.jxml.quick.engine.QCMFactory$QCM.startElement(Unknown Source)
        at com.jxml.quick.engine.QContextImpl.startElement(Unknown Source)
        at com.jxml.quick.QConvert.startElement(Unknown Source)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at com.jxml.quick.Quick.parse(Unknown Source)
        at com.installshield.qjml.QJML.read(Unknown Source)
        at com.installshield.qjml.QJML.read(Unknown Source)
        at com.installshield.wizard.WizardLoader.load(Unknown Source)
        at com.installshield.wizard.Wizard.loadWizard(Unknown Source)
        at com.installshield.wizard.Wizard.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at run.main(Unknown Source)
QJMLException: (error code = 3002; message="java.lang.NullPointerException")
        at com.installshield.qjml.QJML.read(Unknown Source)
        at com.installshield.qjml.QJML.read(Unknown Source)
        at com.installshield.wizard.WizardLoader.load(Unknown Source)
        at com.installshield.wizard.Wizard.loadWizard(Unknown Source)
        at com.installshield.wizard.Wizard.main(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at run.main(Unknown Source)
The wizard cannot continue because of the following error: could not load wizard tree specified in /wizard.inf (106)

At first it looks like Install Shield problem but the same installer runs without any problem on JDK 1.4.2_05 or JDK 1.5.0 build 64. The same problem happens on Solaris Sparc 9 and Solaris 9 X86, Win XP and Linux Fedora Core 2. It also happens with latest build of JDK 1.4.2_07. So it looks like some regression. As we do not have source of Install Shield code we cannot provide more details. You might need to contact Install Shield support.
###@###.### 2004-09-29

I attached simple test installer to reproduce problem. Unzip it and run as:
java -Dis.debug=1 -jar TestInstaller.jar
###@###.### 2004-09-29

Comments
EVALUATION This problem has been fixed by the fix for 4948761:REGRESSION 142_06 - Introspector.getBeanInfo throws NPE. The fix was putback into the 1.4.2_06 b03 workspace yesterday. I've tried running the test case as: java -Dis.debug=1 -Xbootclasspath/p:./testclass -jar TestInstaller.jar the testclass directory contains java/beans/Introspector*.class files (the fix for 4948761) and I could see the installer got started. The fix will be available in 1.4.2_06 b03 which should be ready sometime today. This bug can be closed after verification. ###@###.### 2004-09-29 J2SE 1.4.2_06 b03 is available at: /net/koori.sfbay/onestop/jdk/1.4.2_06/fcs/b03 ###@###.### 2004-09-29 Closing this bug as the submitter has tested with J2SE 1.4.2_06 b03 and the problem is solved. ###@###.### 10/4/04 22:11 GMT
29-09-2004