- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Installer hangs at 100% during the initial launch
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Our customers have been using our built installer now for months and now out of the blue one customer is reporting the installer is hanging at 100% during the initial launch.
Having looked at the logs it stops due to this exception:
Stack Trace:
java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null
at java.base/java.util.Hashtable.get(Hashtable.java:381)
at com.zerog.util.IAResourceBundle.getUsableBundle(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.ia.installer.Installer.<clinit>(Unknown Source)
at com.zerog.util.ZGUtil.getResourceDirectory(Unknown Source)
at com.zerog.ia.licensing.EditionHelper.<clinit>(Unknown Source)
at Flexeraajo.ah(Unknown Source)
at Flexeraajo.<clinit>(Unknown Source)
at com.zerog.ia.installer.Action.<clinit>(Unknown Source)
at Flexeraarb.ai(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(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(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an ExceptionInInitializerError. This application will now exit. (LAX)
[press enter to close this window]
The JDK being used is Coerretto JDK 17.0.8_7 on a Windows 2022 Server.
Has anyone seen this type of issue before?
Thanks
please try this,
Please Goto Project--> JVM Setting---> Installer Setting --> Add additional argument --> -Djdk.util.zip.disableZip64ExtraFieldValidation=true
build and run the project.
I've got some more info from the customer now which goes a little bit more deeper into the issue:
LAX Version = 22.0
Unable to open zip file: C:\Users\##########\AppData\Local\Temp\3\I1691574543\InstallerData\Execute.zip
java.util.zip.ZipException: Invalid CEN header (invalid zip64 extra data field size)
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1728)
at java.base/java.util.zip.ZipFile$Source.checkExtraFields(ZipFile.java:1261)
at java.base/java.util.zip.ZipFile$Source.checkAndAddEntry(ZipFile.java:1212)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1667)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1445)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1407)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:716)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:250)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:179)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:193)
at Flexeraayd.<init>(Unknown Source)
at Flexeraayd.<init>(Unknown Source)
at Flexeraayd.ai(Unknown Source)
at Flexeraayd.<clinit>(Unknown Source)
at com.zerog.util.ZGUtil.findInZips(Unknown Source)
at com.zerog.util.ZGUtil.findDirectory(Unknown Source)
at com.zerog.util.ZGUtil.findDirectory(Unknown Source)
at com.zerog.util.ZGUtil.getInputStream(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.bx(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(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(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
java.lang.ExceptionInInitializerError
at com.zerog.util.ZGUtil.getResourceDirectory(Unknown Source)
at com.zerog.ia.licensing.EditionHelper.<clinit>(Unknown Source)
at Flexeraajo.ah(Unknown Source)
at Flexeraajo.<clinit>(Unknown Source)
at com.zerog.ia.installer.Action.<clinit>(Unknown Source)
at Flexeraarb.ai(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.init(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(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null
at java.base/java.util.Hashtable.get(Hashtable.java:381)
at com.zerog.util.IAResourceBundle.getUsableBundle(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.ia.installer.Installer.<clinit>(Unknown Source)
... 15 more
java.lang.ExceptionInInitializerError
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(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Caused by: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null
at java.base/java.util.Hashtable.get(Hashtable.java:381)
at com.zerog.util.IAResourceBundle.getUsableBundle(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.util.IAResourceBundle.getValue(Unknown Source)
at com.zerog.ia.installer.IAStatus.<clinit>(Unknown Source)
... 8 more
theException = ExceptionInInitializerError
please try this,
Please Goto Project--> JVM Setting---> Installer Setting --> Add additional argument --> -Djdk.util.zip.disableZip64ExtraFieldValidation=true
build and run the project.