Bug 1017328

Summary: Empty field on Infinispan Configuration screen throws NPE
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: mtjandra
Target Milestone: ER6   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:17:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kremensky 2013-10-09 15:52:10 UTC
Description of problem:
 Setting "" string to any of Infinispan Configuration screen input fields ends with NPE and stucked installer.

Version-Release number of selected component (if applicable):
 EAP 6.2.0.ER5

How reproducible:
 always

Steps to Reproduce:
 1. Run gui installer, use default options until Post-install Configuration screen.
 2. Set to Perform additional post-install configuration and select to Install Infinispan Cache
 3. Put "" to Infinispan Name input field and click on Next button.

Actual results:
Exception in thread "Thread-39" java.lang.NullPointerException
	at com.izforge.izpack.panels.UserInputPanel.readTextField(UserInputPanel.java:2145)
	at com.izforge.izpack.panels.UserInputPanel.readInput(UserInputPanel.java:1370)
	at com.izforge.izpack.panels.UserInputPanel.isValidated(UserInputPanel.java:1231)
	at com.izforge.izpack.installer.IzPanel.panelValidated(IzPanel.java:434)
	at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1664)
	at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1649)
	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigate(InstallerFrame.java:1812)
	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$100(InstallerFrame.java:1779)
	at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(InstallerFrame.java:1796)
	at java.lang.Thread.run(Thread.java:724)
and installer will freeze.

Expected results:
 Error dialog is thrown.

Comment 1 Miles Tjandrawidjaja 2013-10-10 13:54:27 UTC
Error message string has bee added.

http://git.app.eng.bos.redhat.com/jbossas-installer.git/commit/?h=eap-6.2

Comment 2 Petr Kremensky 2013-10-17 11:35:51 UTC
Verified on EAP 6.2.0.ER6. Error dialogue is thrown once any of fields is missing.