Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the cause of the IllegalArgumentException error message I'm getting?

Rick Kane March 18, 2018

When I try to install Bamboo. I first got a message that it couldn't find the 64 bit version of JRE. I clicked the locate button and put in the path. Then I got the following message. I aam stuck at this point. Please help!

-------<Message start>-------------------

An error occurred: java.lang.InnegalArgumentException: Object is not an instance of declaring class. Error log:

-------<Message end>-------------------

 

<Error log start>=================

Exception:

java.lang.IllegalArgumentException: object is not an instance of declaring class
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.install4j.runtime.installer.helper.ClasspathModificator.addClassPathInt(Unknown Source)
at com.install4j.runtime.installer.helper.ClasspathModificator.access$000(Unknown Source)
at com.install4j.runtime.installer.helper.ClasspathModificator$1.run(Unknown Source)
at com.install4j.runtime.installer.helper.comm.actions.RunAction.execute(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(Unknown Source)
at com.install4j.runtime.installer.helper.ClasspathModificator.addClassPath(Unknown Source)
at com.install4j.runtime.installer.helper.InstallerUtil$2.run(Unknown Source)
at com.install4j.runtime.installer.helper.comm.actions.RunAction.execute(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(Unknown Source)
at com.install4j.runtime.installer.helper.InstallerUtil.loadJREDeployLibs(Unknown Source)
at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
at com.install4j.runtime.installer.Installer.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.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

System properties:

sun.desktop=windows
awt.toolkit=sun.awt.windows.WToolkit
java.specification.version=9
file.encoding.pkg=sun.io
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Users\<USERNAME>\AppData\Local\Temp\e4jAF0F.tmp_dir1521403894\i4jruntime.jar;C:\Users\<USERNAME>\AppData\Local\Temp\e4jAF0F.tmp_dir1521403894\user.jar;C:\Users\<USERNAME>\AppData\Local\Temp\e4jAF0F.tmp_dir1521403894\platform.zip;
sun.awt.enableExtraMouseButtons=true
java.vm.vendor=Oracle Corporation
sun.arch.data.model=64
install4j.exeDir=C:\Users\<USERNAME>\Downloads\JiraSoftware\
user.variant=
java.vendor.url=http://java.oracle.com/
install4j.systemLanguage=en
user.timezone=America/New_York
os.name=Windows 10
java.vm.specification.version=9
user.country=US
sun.boot.library.path=c:\program files\java\jre-9.0.4\bin
sun.java.command=C:\Users\<USERNAME>\Downloads\JiraSoftware\atlassian-bamboo-6.4.0-windows-x64.exe
jdk.debug=release
sun.cpu.endian=little
user.home=C:\Users\<USERNAME>
exe4j.unextractedPosition=1973686
user.language=en
java.specification.vendor=Oracle Corporation
java.home=c:\program files\java\jre-9.0.4
file.separator=\
java.vm.compressedOopsMode=32-bit
line.separator=

java.specification.name=Java Platform API Specification
java.vm.specification.vendor=Oracle Corporation
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
exe4j.moduleName=C:\Users\<USERNAME>\Downloads\JiraSoftware\atlassian-bamboo-6.4.0-windows-x64.exe
exe4j.tempDir=C:\Users\<USERNAME>\AppData\Local\Temp\e4jAF0F.tmp_dir1521403894
user.script=
exe4j.consoleCodepage=cp0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
exe4j.isInstall4j=true
java.runtime.version=9.0.4+11
user.name=<USERNAME>
path.separator=;
os.version=10.0
java.runtime.name=Java(TM) SE Runtime Environment
sun.java2d.noddraw=true
file.encoding=Cp1252
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
exe4j.semaphoreName=Local\c:_users_<USERNAME>_downloads_jirasoftware_atlassian-bamboo-6.4.0-windows-x64.exe
install4j.appDir=C:\Users\<USERNAME>\AppData\Local\Temp\
java.vendor.url.bug=http://bugreport.java.com/bugreport/
java.io.tmpdir=C:\Users\<USERNAME>\AppData\Local\Temp\
java.version=9.0.4
user.dir=C:\Users\<USERNAME>\AppData\Local\Temp\e4jAF0F.tmp_dir1521403894
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
java.awt.printerjob=sun.awt.windows.WPrinterJob
sun.os.patch.level=
java.library.path=C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Novell\ZENworks\bin;C:\Program Files (x86)\Workshare\Modules\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files\Dell\Dell Data Protection\Encryption\;C:\Users\<USERNAME>\AppData\Local\Microsoft\WindowsApps;c:\program files\java\jre-9.0.4\bin
java.vm.info=mixed mode
java.vendor=Oracle Corporation
java.vm.version=9.0.4+11
sun.io.unicode.encoding=UnicodeLittle
java.class.version=53.0
exe4j.launchName=C:\Users\<USERNAME>\Downloads\JiraSoftware\atlassian-bamboo-6.4.0-windows-x64.exe

 

<Error log end>=================

 

 

1 answer

0 votes
Jeremy Owen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2018

Hey Rick,

Bamboo doesn't yet support Java 1.9. I suspect you'll just need to install JDK 1.8 instead:

Hope this helps. :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events