Bug 1040107

Summary: NullPointerException during installation
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: kconner
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Len DiMaggio <ldimaggi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, soa-p-jira
Target Milestone: ER7   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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