This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: numberformatexception in advanced get user input panel
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2011
12:51 AM
numberformatexception in advanced get user input panel
Hi
I found a new bug in IA2011 + SP2. If I set the variable $ABC$ as the result variable of textfield in Advanced Get User Input Panel, the installer will hang with the following exception:
Does anyone know how to fix it?
2011-12-21 01:09:37.019-08:00 : STDERR : Error running install panel: Get User Input
java.lang.NumberFormatException
2011-12-21 01:09:37.023-08:00 : STDERR : java.lang.NumberFormatException
2011-12-21 01:09:37.024-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.024-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.025-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.025-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.026-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.029-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.g(DashoA10*..)
2011-12-21 01:09:37.029-08:00 : STDERR : at com.zerog.ia.installer.util.IAVariableStringResolver.a(DashoA10*..)
2011-12-21 01:09:37.030-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.a(DashoA10*..)
2011-12-21 01:09:37.031-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.a(DashoA10*..)
2011-12-21 01:09:37.031-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.substitute(DashoA10*..)
2011-12-21 01:09:37.033-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.n(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.g(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.b(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at ZeroGho.setupUI(DashoA10*..)
2011-12-21 01:09:37.035-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.035-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.038-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
2011-12-21 01:09:37.038-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.actionPerformed(DashoA10*..)
2011-12-21 01:09:37.044-08:00 : STDERR : at java.awt.Button.processActionEvent(Button.java:403)
2011-12-21 01:09:37.044-08:00 : STDERR : at java.awt.Button.processEvent(Button.java:371)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.Component.dispatchEventImpl(Component.java:4641)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.Component.dispatchEvent(Component.java:4471)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.EventQueue.dispatchEvent(EventQueue.java:610)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:280)
2011-12-21 01:09:37.046-08:00 : STDERR : at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
2011-12-21 01:09:37.046-08:00 : STDERR : at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
2011-12-21 01:09:37.057-08:00 : STDOUT : ExtractToFile: target = /tmp/699558.tmp/reg.jar
2011-12-21 01:09:37.058-08:00 : STDOUT : ExtractToFile: extractWhatURL = jar:file:/tmp/install.dir.13585/InstallerData/installer.zip!/$IA_PROJECT_DIR$/lib/reg.jar
2011-12-21 01:09:37.193-08:00 : STDERR : Exception in thread "Thread-119"
2011-12-21 01:09:37.194-08:00 : STDERR : java.lang.NumberFormatException
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.196-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.202-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.g(DashoA10*..)
2011-12-21 01:09:37.202-08:00 : STDERR : at com.zerog.ia.installer.util.IAVariableStringResolver.a(DashoA10*..)
2011-12-21 01:09:37.203-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.b(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.actions.Exec.getLogDescription(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.IAStatus.(DashoA10*..)
2011-12-21 01:09:37.205-08:00 : STDERR : at com.zerog.ia.installer.IAStatus.(DashoA10*..)
2011-12-21 01:09:37.205-08:00 : STDERR : at ZeroGw0.run(DashoA10*..)
I found a new bug in IA2011 + SP2. If I set the variable $ABC$ as the result variable of textfield in Advanced Get User Input Panel, the installer will hang with the following exception:
Does anyone know how to fix it?
2011-12-21 01:09:37.019-08:00 : STDERR : Error running install panel: Get User Input
java.lang.NumberFormatException
2011-12-21 01:09:37.023-08:00 : STDERR : java.lang.NumberFormatException
2011-12-21 01:09:37.024-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.024-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.025-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.025-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.026-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.029-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.g(DashoA10*..)
2011-12-21 01:09:37.029-08:00 : STDERR : at com.zerog.ia.installer.util.IAVariableStringResolver.a(DashoA10*..)
2011-12-21 01:09:37.030-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.a(DashoA10*..)
2011-12-21 01:09:37.031-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.a(DashoA10*..)
2011-12-21 01:09:37.031-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.substitute(DashoA10*..)
2011-12-21 01:09:37.033-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.n(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.g(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.installer.installpanels.GetUserInputPanel.b(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at com.zerog.ia.api.priv.ZGInstallPanelProxy.a(DashoA10*..)
2011-12-21 01:09:37.034-08:00 : STDERR : at ZeroGho.setupUI(DashoA10*..)
2011-12-21 01:09:37.035-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.035-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.038-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
2011-12-21 01:09:37.038-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.f(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
2011-12-21 01:09:37.039-08:00 : STDERR : at com.zerog.ia.installer.AAMgr.actionPerformed(DashoA10*..)
2011-12-21 01:09:37.044-08:00 : STDERR : at java.awt.Button.processActionEvent(Button.java:403)
2011-12-21 01:09:37.044-08:00 : STDERR : at java.awt.Button.processEvent(Button.java:371)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.Component.dispatchEventImpl(Component.java:4641)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.Component.dispatchEvent(Component.java:4471)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.EventQueue.dispatchEvent(EventQueue.java:610)
2011-12-21 01:09:37.045-08:00 : STDERR : at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:280)
2011-12-21 01:09:37.046-08:00 : STDERR : at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
2011-12-21 01:09:37.046-08:00 : STDERR : at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:185)
2011-12-21 01:09:37.057-08:00 : STDOUT : ExtractToFile: target = /tmp/699558.tmp/reg.jar
2011-12-21 01:09:37.058-08:00 : STDOUT : ExtractToFile: extractWhatURL = jar:file:/tmp/install.dir.13585/InstallerData/installer.zip!/$IA_PROJECT_DIR$/lib/reg.jar
2011-12-21 01:09:37.193-08:00 : STDERR : Exception in thread "Thread-119"
2011-12-21 01:09:37.194-08:00 : STDERR : java.lang.NumberFormatException
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.a(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.195-08:00 : STDERR : at ZeroGad.b(DashoA10*..)
2011-12-21 01:09:37.196-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.202-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.g(DashoA10*..)
2011-12-21 01:09:37.202-08:00 : STDERR : at com.zerog.ia.installer.util.IAVariableStringResolver.a(DashoA10*..)
2011-12-21 01:09:37.203-08:00 : STDERR : at com.zerog.ia.installer.util.VariableManager.b(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.util.VariableFacade.b(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.actions.Exec.getLogDescription(DashoA10*..)
2011-12-21 01:09:37.204-08:00 : STDERR : at com.zerog.ia.installer.IAStatus.
2011-12-21 01:09:37.205-08:00 : STDERR : at com.zerog.ia.installer.IAStatus.
2011-12-21 01:09:37.205-08:00 : STDERR : at ZeroGw0.run(DashoA10*..)
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2011
01:04 AM
I tried with a Basic Sample Template project file. The issue was not reproducible. If possible, Could you share the project file?
Regards
SunnyBoy
Regards
SunnyBoy
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2011
02:41 AM
Have you left any blank entry or have you applied any rule which is not in correct format or with blank value?
Try re-adding/configure the Get User Input panel...
Try re-adding/configure the Get User Input panel...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2011
03:13 AM
Are you using any customcode or extract to file action ($IA_PROJECT_DIR$/lib/reg.jar) before this panel?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 28, 2011
05:12 AM
If you have marked the same variable (which is configured in Get User Input panel and Set IA variable action for "Evaluate any variable at assignment" property) for encryption under Project / Variables / configure variables then this issue might occur. Either remove that variable from the encryption property or do not mark it for "Evaluate any variable at assignment" property in Set IA variable action. It will resolve your issue 🙂
-- Mac
-- Mac
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 28, 2011
08:32 PM
Macintosh wrote:
If you have marked the same variable (which is configured in Get User Input panel and Set IA variable action for "Evaluate any variable at assignment" property) for encryption under Project / Variables / configure variables then this issue might occur. Either remove that variable from the encryption property or do not mark it for "Evaluate any variable at assignment" property in Set IA variable action. It will resolve your issue 🙂
-- Mac
Hi Mac,
Exactlly!!! The problem was caused by the variable was set to encryption. So we can't encrypt the variable which in the panel user input, right? Are we going to support this? Because of security reason, we don't want to expose the password user input to the install log. How can we fix it except to exclude the variable?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2011
03:14 AM
I think that there is a rather simple workaround: as the log file is not written to disk until the installation is finished, you may want to NULLify the variable right after it's used, so it won't be written in the install.log (actually it will be written, but as empty).
zhiyangchen wrote:
Hi Mac,
Exactlly!!! The problem was caused by the variable was set to encryption. So we can't encrypt the variable which in the panel user input, right? Are we going to support this? Because of security reason, we don't want to expose the password user input to the install log. How can we fix it except to exclude the variable?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2011
06:52 AM
In that case try the second approach I have mentioned i.e. "Do not mark that variable for "Evaluate any variable at assignment" property in Set IA variable action".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 08, 2012
12:35 AM
I have already found the root cause. In the Advanced Get User Input Panel, if I set $VCENTER_HOSTNAME$ as the Textfield result variable, it will abort with the exception. If I remove the $ from the result variable, then the problem is gone.