NullPointerException During Install

<oXygen/> general issues.
Jamil
Posts: 77

NullPointerException During Install

Wed Oct 26, 2016 5:13 pm

I setup new hard drives in my workstation and have to reinstall everything. I am attempting to install oxygen 18.1 enterprise and see an NPE. Attached is the log created in the directory where oxygen-64bit.exe exists:

install4jError4740116636648712473.log:

Code: Select all

Exception:

java.lang.NullPointerException
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.connect(HelperCommunication.java:136)
   at com.install4j.runtime.beans.actions.misc.AbstractPrivilegesAction.startOnWindows(AbstractPrivilegesAction.java:131)
   at com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction.executeOnWindows(RequestPrivilegesAction.java:109)
   at com.install4j.runtime.beans.actions.misc.RequestPrivilegesAction.execute(RequestPrivilegesAction.java:78)
   at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(SystemInstallOrUninstallAction.java:29)
   at com.install4j.runtime.installer.ContextImpl$7.executeAction(ContextImpl.java:1668)
   at com.install4j.runtime.installer.ContextImpl$7.fetchValue(ContextImpl.java:1659)
   at com.install4j.runtime.installer.ContextImpl$7.fetchValue(ContextImpl.java:1656)
   at com.install4j.runtime.installer.helper.comm.actions.FetchObjectAction.execute(FetchObjectAction.java:14)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(HelperCommunication.java:272)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:247)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionChecked(HelperCommunication.java:185)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.fetchObjectChecked(HelperCommunication.java:168)
   at com.install4j.runtime.installer.ContextImpl.performActionIntStatic(ContextImpl.java:1656)
   at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(InstallerContextImpl.java:151)
   at com.install4j.runtime.installer.ContextImpl.performAction(ContextImpl.java:1103)
   at com.install4j.runtime.installer.controller.Controller.executeAction(Controller.java:368)
   at com.install4j.runtime.installer.controller.Controller.executeActions(Controller.java:334)
   at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:195)
   at com.install4j.runtime.installer.controller.Controller.handleStartup(Controller.java:116)
   at com.install4j.runtime.installer.controller.Controller.start(Controller.java:73)
   at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:59)
   at com.install4j.runtime.installer.Installer.main(Installer.java:46)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
   at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
   at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26)

System properties:

java.runtime.name=Java(TM) SE Runtime Environment
exe4j.moduleName=\\QNAPNAS\Installables\Installs\oXygen\oxygen-64bit.exe
exe4j.semaphoreName=Local\__qnapnas_installables_installs_oxygen_oxygen-64bit.exe
sun.boot.library.path=z:\temp\e4jde5f.tmp_dir1477490128\jre\bin
java.vm.version=25.102-b14
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
exe4j.consoleCodepage=cp0
path.separator=;
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=US
user.script=
sun.os.patch.level=
install4j.exeDir=\\QNAPNAS\Installables\Installs\oXygen\
java.vm.specification.name=Java Virtual Machine Specification
user.dir=Z:\Temp\e4jDE5F.tmp_dir1477490128
java.runtime.version=1.8.0_102-b14
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\endorsed
os.arch=amd64
java.io.tmpdir=Z:\Temp\
line.separator=

java.vm.specification.vendor=Oracle Corporation
user.variant=
exe4j.tempDir=Z:\Temp\e4jDE5F.tmp_dir1477490128
os.name=Windows 10
sun.java2d.noddraw=true
sun.jnu.encoding=Cp1252
java.library.path=Z:\Temp\e4jDE5F.tmp_dir1477490128\user;C:\Program Files\Microsoft MPI\Bin\;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\PKWARE\pkzipc;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Users\jamil\AppData\Local\Microsoft\WindowsApps;z:\temp\e4jde5f.tmp_dir1477490128\jre\bin
sun.awt.enableExtraMouseButtons=true
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
exe4j.isInstall4j=true
os.version=10.0
user.home=C:\Users\jamil
user.timezone=America/New_York
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.8
java.class.path=Z:\Temp\e4jDE5F.tmp_dir1477490128\i4jruntime.jar;Z:\Temp\e4jDE5F.tmp_dir1477490128\user.jar;Z:\Temp\e4jDE5F.tmp_dir1477490128\user\i4jCustom.jar;Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\deploy.jar;Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\plugin.jar
user.name=jamil
java.vm.specification.version=1.8
sun.java.command=\\QNAPNAS\Installables\Installs\oXygen\oxygen-64bit.exe
java.home=z:\temp\e4jde5f.tmp_dir1477490128\jre
sun.arch.data.model=64
exe4j.launchName=\\QNAPNAS\Installables\Installs\oXygen\oxygen-64bit.exe
user.language=en
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
exe4j.unextractedPosition=48756569
java.version=1.8.0_102
java.ext.dirs=z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path=z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\resources.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\rt.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\sunrsasign.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\jsse.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\jce.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\charsets.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\lib\jfr.jar;z:\temp\e4jde5f.tmp_dir1477490128\jre\classes
install4j.appDir=Z:\TEMP\
java.vendor=Oracle Corporation
file.separator=\
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
install4j.systemLanguage=en
sun.desktop=windows
sun.cpu.isalist=amd64


error.log:

Code: Select all

java.lang.InternalError: java.io.FileNotFoundException: \Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\ext\sunec.jar
   at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
   at sun.misc.URLClassPath.getResource(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.security.jca.ProviderConfig$2.run(Unknown Source)
   at sun.security.jca.ProviderConfig$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.security.jca.ProviderConfig.doLoadProvider(Unknown Source)
   at sun.security.jca.ProviderConfig.getProvider(Unknown Source)
   at sun.security.jca.ProviderList.getProvider(Unknown Source)
   at sun.security.jca.ProviderList.getService(Unknown Source)
   at sun.security.jca.GetInstance.getInstance(Unknown Source)
   at java.security.Security.getImpl(Unknown Source)
   at java.security.MessageDigest.getInstance(Unknown Source)
   at java.io.ObjectStreamClass.computeDefaultSUID(Unknown Source)
   at java.io.ObjectStreamClass.access$100(Unknown Source)
   at java.io.ObjectStreamClass$1.run(Unknown Source)
   at java.io.ObjectStreamClass$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.io.ObjectStreamClass.getSerialVersionUID(Unknown Source)
   at java.io.ObjectStreamClass.writeNonProxy(Unknown Source)
   at java.io.ObjectOutputStream.writeClassDescriptor(Unknown Source)
   at java.io.ObjectOutputStream.writeNonProxyDesc(Unknown Source)
   at java.io.ObjectOutputStream.writeClassDesc(Unknown Source)
   at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
   at java.io.ObjectOutputStream.writeObject0(Unknown Source)
   at java.io.ObjectOutputStream.writeObject(Unknown Source)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.sendObject(HelperCommunication.java:503)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeOther(HelperCommunication.java:287)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:249)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(HelperCommunication.java:224)
   at com.install4j.runtime.installer.helper.InstallerUtil.initHelperState(InstallerUtil.java:157)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.connect(HelperCommunication.java:129)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.main(HelperCommunication.java:553)
   at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAsHelper(HelperCommunication.java:403)
   at com.install4j.runtime.installer.Installer.main(Installer.java:43)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
   at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
   at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26)
Caused by: java.io.FileNotFoundException: \Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\ext\sunec.jar
   at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
   at sun.misc.URLClassPath$JarLoader.access$700(Unknown Source)
   at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
   at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
   ... 49 more
Jamil
Posts: 77

Re: NullPointerException During Install

Wed Oct 26, 2016 5:14 pm

I think this may be due to the latest Bitdefender update I also installed. Bitdefender thought that oxygen install was ransomware previously. I will disable it then try again.
Jamil
Posts: 77

Re: NullPointerException During Install

Wed Oct 26, 2016 5:26 pm

Bitdefender's ransomware now defaults to disabled after install. It is not turned on. I see no information showing that it blocked the oxygen install.
adrian
Posts: 2326

Re: NullPointerException During Install

Wed Oct 26, 2016 5:29 pm

Hi,

This may not be related, but I see you have the temporary folder on a Z: drive (Z:\Temp). Is this a local drive, ramdrive or maybe a network drive?

I see you're also running the installer directly from a network share "\\QNAPNAS\Installables\Installs\oXygen\oxygen-64bit.exe". This can be problematic if the network share requires authentication. Due to the fact that the installer is executed again with admin privileges, you usually get prompted to authenticate again on the network share (from the admin privileges context).

However, from the message

Code: Select all

java.lang.InternalError: java.io.FileNotFoundException: \Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\ext\sunec.jar
it's most likely the anti-virus blocking the installer from unpacking the JRE in that location.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jamil
Posts: 77

Re: NullPointerException During Install

Wed Oct 26, 2016 6:28 pm

adrian wrote:Hi,

This may not be related, but I see you have the temporary folder on a Z: drive (Z:\Temp). Is this a local drive, ramdrive or maybe a network drive?

I see you're also running the installer directly from a network share "\\QNAPNAS\Installables\Installs\oXygen\oxygen-64bit.exe". This can be problematic if the network share requires authentication. Due to the fact that the installer is executed again with admin privileges, you usually get prompted to authenticate again on the network share (from the admin privileges context).

However, from the message

Code: Select all

java.lang.InternalError: java.io.FileNotFoundException: \Z:\TEMP\e4jDE5F.tmp_dir1477490128\jre\lib\ext\sunec.jar
it's most likely the anti-virus blocking the installer from unpacking the JRE in that location.

Regards,
Adrian


Thanks for responding. I had installed oxygen this same way from my NAS for as long as I can remember. This is the first time I have ever run into this issue. It is a strange one. The install is getting hung up after the NPE. I end up killing the two processes that show zero CPU from the Windows task manager.

My Z: drive is a ram drive. I have oxygen-64bit.exe stored on my NAS. Again, I have been installing it this way with zero problems in the past. I just uninstalled this new Bitdefender and logged in after rebooting. I will play around and post my findings. I have no idea what is going wrong.
Jamil
Posts: 77

Re: NullPointerException During Install

Wed Oct 26, 2016 6:33 pm

The trouble is all due to this newer 2017 Bitdefender. With it uninstalled, oxygen installs without issue as it always has in the past.
Jamil
Posts: 77

Re: NullPointerException During Install

Fri Oct 28, 2016 4:20 pm

This is mostly informational for any other Bitdefender users here:

I reported this incident to Bitdefender support. They are following up, and the install issue will eventually be resolved on their end. For now, I have not found a workable solution other than uninstalling Bitdefender 2017. Bitdefender 2016 (or maybe 2015...I forget what the older version was) did not have this issue. It flag oxygen-64.exe as ransomware, but it at least showed an alert and allowed me to mark it as safe to execute.
adrian
Posts: 2326

Re: NullPointerException During Install

Tue Nov 01, 2016 10:53 am

Hi Jamil,

We were not aware of such issues with Bitdefender (Oxygen installer getting flagged as ransomware), not to mention Bitdefender 2017 blocking the installer.
Thank you for reporting the incident and also for providing details in case other users encounter similar problems.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mrcarbon
Posts: 1

Re: NullPointerException During Install

Wed Mar 01, 2017 12:48 pm

Hi there,

I have Bitdefender 2017 and have just experienced exactly the same issue trying to install oXygen 17 on my new laptop. Did you get any feedback from Bitdefender saying they were planning on fixing it?

Angus
Jamil
Posts: 77

Re: NullPointerException During Install

Mon Mar 06, 2017 2:50 am

The issue remains unresolved by Bitdefender. Apparently, they are unable to reproduce the install issue. For reasons unknown to me, they are able to install oxygen without Bitdefender causing this issue on their computers. I have simply uninstalled Bitdefender in the meantime.
Jamil
Posts: 77

Re: NullPointerException During Install

Sat Aug 12, 2017 12:03 am

I am now seeing that this issue is resolved with Bitdefender 2018. The issue remains in the 2017 version.
Radu
Posts: 5093

Re: NullPointerException During Install

Mon Aug 14, 2017 8:10 am

Hi Jamil,

Thanks for the update, we'll share this information with other users who might be affected by this problem.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests