Bug 1040107 - NullPointerException during installation
Summary: NullPointerException during installation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER7
: ---
Assignee: Thomas Hauser
QA Contact: Len DiMaggio
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 18:11 UTC by kconner
Modified: 2014-02-06 15:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description kconner 2013-12-10 18:11:20 UTC
Both Keith and Len have seen the following when trying to use the ER7 installer

Myself, Alan and Kurt have managed to install it successfully.

MD5 (jboss-fsw-installer-6.0.0.ER7-redhat-1.jar) = 9a2b77a0bf5175fd9844e1e92da9dbd2

java.lang.NullPointerException
	at java.util.Hashtable.put(Hashtable.java:394)
	at java.util.Properties.setProperty(Properties.java:143)
	at com.redhat.installer.postinstall.SQLRunner.run(SQLRunner.java:61)
	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:597)
	at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:760)
	at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:516)
	at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:462)
	at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:388)
	at java.lang.Thread.run(Thread.java:695)

Initial investigation seems to suggest an environmental issue

Comment 1 Thomas Hauser 2013-12-10 19:10:25 UTC
This NPE results from the jboss.server.data.dir query to the server not being answered in previous steps. Thus, it is null, and a call to setProperty() with a null value results in this NPE.

Comment 2 Thomas Hauser 2013-12-12 15:54:54 UTC
Fixed in ER7-2.

Comment 3 Len DiMaggio 2013-12-16 19:28:33 UTC
Verified in ER7-2


Note You need to log in before you can comment on or make changes to this bug.