History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IZPACK-53
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Kami Shishegar
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

PortValidator throws exception

Created: 10/Apr/08 06:16 PM   Updated: 11/Apr/08 04:16 PM
Component/s: Utilities
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified

Environment: Windows XP, JDK 1.5
Issue Links:
Duplicate
 


 Description  « Hide
Using PortValidator throws exception if port not available instead of displaying dialog box.

<field type="rule" align="right" variable="rmiport.value">
<spec txt=" RMIPort:" layout="N:4:4" />
<validator
class="com.izforge.izpack.util.PortValidator"
txt="Port is in use">
</validator>
</field>

[java] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
[java] at com.izforge.izpack.panels.UserInputPanel.showMessageDialog(UserInputPanel.java:3581)
[java] at com.izforge.izpack.panels.UserInputPanel.showWarningMessageDialog(UserInputPanel.java:3598)
[java] at com.izforge.izpack.panels.UserInputPanel.readRuleField(UserInputPanel.java:1454)
[java] at com.izforge.izpack.panels.UserInputPanel.readInput(UserInputPanel.java:996)
[java] at com.izforge.izpack.panels.UserInputPanel.isValidated(UserInputPanel.java:838)
[java] at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1552)
[java] at com.izforge.izpack.installer.InstallerFrame.navigateNext(InstallerFrame.java:1543)
[java] at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1626)
[java] at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[java] at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[java] at java.awt.Component.processMouseEvent(Unknown Source)
[java] at javax.swing.JComponent.processMouseEvent(Unknown Source)
[java] at java.awt.Component.processEvent(Unknown Source)
[java] at java.awt.Container.processEvent(Unknown Source)
[java] at java.awt.Component.dispatchEventImpl(Unknown Source)
[java] at java.awt.Container.dispatchEventImpl(Unknown Source)
[java] at java.awt.Component.dispatchEvent(Unknown Source)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
[java] at java.awt.Container.dispatchEventImpl(Unknown Source)
[java] at java.awt.Window.dispatchEventImpl(Unknown Source)
[java] at java.awt.Component.dispatchEvent(Unknown Source)
[java] at java.awt.EventQueue.dispatchEvent(Unknown Source)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[java] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[java] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[java] at java.awt.EventDispatchThread.run(Unknown Source)



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Hans Aikema - 11/Apr/08 04:15 PM
Duplicate of IZPACK-52

Hans Aikema - 11/Apr/08 04:16 PM
Closing as a duplicate of IZPACK-52