- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Problems with migrated project from IA 2015 to 2021 - Custom UI Designer button not working
- 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
Problems with migrated project from IA 2015 to 2021 - Custom UI Designer button not working
Working on moving from IA 2015 to 2021 SP1.
The project went through the migration/upgrade process OK - I assume so. However have 2 problems which I think are related. Anyway thoughts on working around this? Case #02536674 was also opened.
After the migration I have 2 problems which I think are related
2a) On the Installer UI Tab in the IDE, the Custom UI designer button is not launching when working with this migrated project (it does work on a new project. I do have some values set in the old project that were in the Installer UI Tab that would now display in the new Custom UI designer window.
console.txt has this error when I click the button
Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException: Vector Enumeration
at java.base/java.util.Vector$1.nextElement(Vector.java:375)
at com.zerog.ia.designer.jaxb.schema.Marshal_IAThemeConfig.getLabelList(Unknown Source)
at com.zerog.ia.designer.jaxb.schema.Marshal_IAThemeConfig.addDataOfInstallerStepsConfig(Unknown Source)
at com.zerog.ia.designer.jaxb.schema.Marshal_IAThemeConfig.addDataOfIFC(Unknown Source)
at Flexeraag6$6.itemStateChanged(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.itemStateChanged(AWTEventMulticaster.java:462)
at Flexeraaty.actionPerformed(Unknown Source)
at java.desktop/javax.swing.JComboBox.fireActionEvent(JComboBox.java:1264)
at Flexeraaty.fireActionEvent(Unknown Source)
at java.desktop/javax.swing.JComboBox.setSelectedItem(JComboBox.java:589)
at Flexeraaty.aa(Unknown Source)
at Flexeraag6.bl(Unknown Source)
at Flexeraag6.bk(Unknown Source)
at Flexeraag6.bj(Unknown Source)
at Flexeraag6.a8(Unknown Source)
at Flexeraag6.a6(Unknown Source)
at Flexeraag6.<init>(Unknown Source)
at com.zerog.ia.designer.util.InstallPanelsDialog.ad(Unknown Source)
at com.zerog.ia.designer.customizers.TLookAndFeelPropertySheet.ch(Unknown Source)
at com.zerog.ia.designer.customizers.TLookAndFeelPropertySheet.bj(Unknown Source)
at com.zerog.ia.designer.customizers.TLookAndFeelPropertySheet$2.actionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2b) After build the installer and running a GUI install after hitting ok on our Splash screen , the install fails with a nullpointerexception in a dialog box. Never get farther than the splash screen. That missing
After clicking OK on the splash screen I see this in error dialog
java.lang.NullPointerException
at java.lang.String.<init>(String.java:152)
at com.zerog.ia.installer.util.MnemonicString.<init>(Unknown Source)
at Flexeraauf.am(Unknown Source)
at Flexeraauf.<init>(Unknown Source)
at Flexeraat9.ap(Unknown Source)
at Flexeraat9.<init>(Unknown Source)
at Flexeraarf.ah(Unknown Source)
at com.zerog.ia.installer.AAMgr.initAAMgr(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Debug output
__________________________________________________
Loading externalized properties
java.lang.NullPointerException
at java.lang.String.<init>(String.java:152)
at com.zerog.ia.installer.util.MnemonicString.<init>(Unknown Source)
at Flexeraauf.am(Unknown Source)
at Flexeraauf.<init>(Unknown Source)
at Flexeraat9.ap(Unknown Source)
at Flexeraat9.<init>(Unknown Source)
at Flexeraarf.ah(Unknown Source)
at com.zerog.ia.installer.AAMgr.initAAMgr(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
java.lang.NullPointerException
at com.zerog.ia.installer.AAMgr.initAAMgr(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I am also facing similar issue while upgrading the project from IA2015 to IA2021. @torlowski If you found the solution, please let me know.
java.lang.NullPointerException
at com.zerog.ia.installer.LifeCycleManager.bv(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a3(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a6(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I opened a case and they provide me some answers. You errors look different than mine, so milage may vary.
one was related to the the 2015 project definition. The second was I had hot fix A installed and removing that having just SP1 or to install SP2 helped.
For the first issue this is what support gave to fix the issue with not being able to launch the Custom UI designer.
-----------
hank you for following up and providing that information. I was able to make a few changes to the original project, migrate it to IA 2021, and open the Custom UI Designer. Here are the steps I followed:
1. Open the original project in IA 2015
2. Navigate to Installer UI > Look & Feel Settings
3. Installer Steps > Add images or a list of installer steps to the left-side of installer panels = Yes
4. Click the Default Installer/Uninstaller Panel Image > Installer Steps Labels settings button
5. Click the Auto Populate button and Confirm and the dialog that displays
6. Click OK
7. Installer Steps > Add images or a list of installer steps to the left-side of installer panels = No
8. Save the project
9. Open the saved project with IA 2021
10. Navigate to Installer UI > Look & Feel Settings and click the Custom UI Designer button
When I followed these steps I was able to open the Custom UI Designer.