- This topic has 13 replies, 3 voices, and was last updated 20 years, 10 months ago by Scott Anderson.
-
AuthorPosts
-
fkorlingMember– System Setup ——————————-
Operating System and version: Linux Mandrake 9.2
Eclipse version: 3.0M6
Eclipse build id: 200312182000
MyEclipse version: 3.7RC2
Eclipse JDK version: 1.4.1_05
Application Server JDK version:– Message Body ——————————-
The installer crashes with a NullPointerException when I try to install MyEclipse 3.7RC2 on Mandrake 9.2. Setting LAX_DEBUG=1 gives:
Preparing to install…
Checking for POSIX df.
Found POSIX df.
/bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
Creating installer data directory: /tmp/install.dir.17309
Creating installer data directory: /tmp/install.dir.17309/InstallerData
Gathering free-space information…
Space needed to complete the self-extraction: 37598 blocks
tail: `-1′ option is obsolete; use `-n 1′
Try `tail –help’ for more information.
Available space: blocks
Available blocks: Needed blocks: 37598 (block = 512 bytes)
downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: line 327: [: `)’ expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
This installation does not contain a VM.
Extracting the installation resources from the installer archive…
Extracting install.zip from downloads/EnterpriseWorkbenchInstaller_030700RC2.bin to /tmp/install.dir.17309/InstallerData/installer.zip …
Extracting done, exit code = 0
Configuring the installer for this system’s environment…[7m========= Analyzing UNIX Environment =================================[0m
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.[7m========= Analyzing LAX ==============================================[0m
LAX found………………………. OK.
LAX properties read……………… OK.[7m========= Finding VM =================================================[0m
[1mValid VM types…………………….. J2[0m
[1mExpanded Valid VM types…………….. JRE_J2 JDK_J2[0m
[1mWARNING! No valid lax.nl.current.vm available.[0m
[1mSearching for VMs in PATH:[0m
Looking in:……………………….. /bin
Looking in:……………………….. /local/home/filip/bin
Looking in:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin
Found VM:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin/java
Looking in:……………………….. /sbin
Looking in:……………………….. /usr/bin
Looking in:……………………….. /usr/games
Looking in:……………………….. /usr/local/bin
Looking in:……………………….. /usr/sbin
Looking in:……………………….. /usr/X11R6/bin
Looking in:……………………….. /usr/xpg4/bin
[1m* Using VM:……………………….. /local/home/filip/java/j2sdk1.4.1_05/bin/java[0m
Current VM is NOT a HotSpot VM[7m========= Virtual Machine Options ====================================[0m
LAX properties incorporated…………. OK.
classpath…………………………. “/tmp/install.dir.17309/InstallerData:/tmp/install.dir.17309/InstallerData/installer.zip”
main class………………………… “com.zerog.ia.installer.Main”
.lax file path…………………….. “/tmp/install.dir.17309/temp.lax”
user directory…………………….. “/tmp/install.dir.17309”
stdout to…………………………. “console”
sterr to………………………….. “console”
install directory………………….. “”
JIT………………………………. none
option (verify)……………………. off
option (verbosity)…………………. none
option (garbage collection extent)…… none
option (garbage collection thread)…… none
option (native stack max size)………. none
option (java stack max size)………… none
option (java heap max size)…………. 50331648
option (java heap initial size)……… 16777216
option (lax.nl.java.option.additional).. none[7m========= Display settings ===========================================[0m
X display…………………………. local
UI mode…………………………… guiLaunching installer…
[7m========= VM Command Line ============================================[0m
CLASSPATH=/tmp/install.dir.17309/InstallerData:/tmp/install.dir.17309/InstallerData/installer.zip
[1m”/local/home/filip/java/j2sdk1.4.1_05/bin/java” -Djava.compiler=NONE -Xmx50331648 -Xms16777216 com.zerog.lax.LAX “/tmp/install.dir.17309/temp.lax” “/tmp/env.properties.17309” [0m[7m========= Executing JAVA =============================================[0m
LAX Version = 5.5
FileEncoding::initialize()- platform default encoding: ISO-8859-1
FileEncoding::initialize()- using encoding: ISO-8859-1
seaFilename = EnterpriseWorkbenchInstaller_030700RC2
Default properties location = downloads/downloads/
UI Mode set to Default – SWING.
__________________________________________________________________________java.lang.NullPointerException
at com.zerog.ia.installer.Main.h(DashoA8113)
at com.zerog.ia.installer.Main.b(DashoA8113)
at com.zerog.ia.installer.Main.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)Stack Trace:
java.lang.NullPointerException
at com.zerog.ia.installer.Main.h(DashoA8113)
at com.zerog.ia.installer.Main.b(DashoA8113)
at com.zerog.ia.installer.Main.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
[7m========= JAVA Finished ==============================================[0mRemoving tmp install dir: “/tmp/install.dir.17309”
undefined
Riyad KallaMemberHave you tried upgrading to the 1.4.2_03 JDK release? Would you be willing to try that and see if this is a JDK issue.
fkorlingMemberTried the 1.4.2_03 but got the exact same result:
Preparing to install…
Checking for POSIX df.
Found POSIX df.
/bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
Creating installer data directory: /tmp/install.dir.3361
Creating installer data directory: /tmp/install.dir.3361/InstallerData
Gathering free-space information…
Space needed to complete the self-extraction: 37598 blocks
tail: `-1′ option is obsolete; use `-n 1′
Try `tail –help’ for more information.
Available space: blocks
Available blocks: Needed blocks: 37598 (block = 512 bytes)
downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: line 327: [: `)’ expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
This installation does not contain a VM.
Extracting the installation resources from the installer archive…
Extracting install.zip from downloads/EnterpriseWorkbenchInstaller_030700RC2.bin to /tmp/install.dir.3361/InstallerData/installer.zip …
Extracting done, exit code = 0
Configuring the installer for this system’s environment…[7m========= Analyzing UNIX Environment =================================[0m
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.[7m========= Analyzing LAX ==============================================[0m
LAX found………………………. OK.
LAX properties read……………… OK.[7m========= Finding VM =================================================[0m
[1mValid VM types…………………….. J2[0m
[1mExpanded Valid VM types…………….. JRE_J2 JDK_J2[0m
[1mWARNING! No valid lax.nl.current.vm available.[0m
[1mSearching for VMs in PATH:[0m
Looking in:……………………….. /bin
Looking in:……………………….. /local/home/filip/bin
Looking in:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin/
Found VM:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin//java
Looking in:……………………….. /sbin
Looking in:……………………….. /usr/bin
Looking in:……………………….. /usr/games
Looking in:……………………….. /usr/local/bin
Looking in:……………………….. /usr/sbin
Looking in:……………………….. /usr/X11R6/bin
Looking in:……………………….. /usr/xpg4/bin
[1m* Using VM:……………………….. /local/home/filip/java/j2sdk1.4.2_03/bin//java[0m
Current VM is NOT a HotSpot VM[7m========= Virtual Machine Options ====================================[0m
LAX properties incorporated…………. OK.
classpath…………………………. “/tmp/install.dir.3361/InstallerData:/tmp/install.dir.3361/InstallerData/installer.zip”
main class………………………… “com.zerog.ia.installer.Main”
.lax file path…………………….. “/tmp/install.dir.3361/temp.lax”
user directory…………………….. “/tmp/install.dir.3361”
stdout to…………………………. “console”
sterr to………………………….. “console”
install directory………………….. “”
JIT………………………………. none
option (verify)……………………. off
option (verbosity)…………………. none
option (garbage collection extent)…… none
option (garbage collection thread)…… none
option (native stack max size)………. none
option (java stack max size)………… none
option (java heap max size)…………. 50331648
option (java heap initial size)……… 16777216
option (lax.nl.java.option.additional).. none[7m========= Display settings ===========================================[0m
X display…………………………. local
UI mode…………………………… guiLaunching installer…
[7m========= VM Command Line ============================================[0m
CLASSPATH=/tmp/install.dir.3361/InstallerData:/tmp/install.dir.3361/InstallerData/installer.zip
[1m”/local/home/filip/java/j2sdk1.4.2_03/bin//java” -Djava.compiler=NONE -Xmx50331648 -Xms16777216 com.zerog.lax.LAX “/tmp/install.dir.3361/temp.lax” “/tmp/env.properties.3361” [0m[7m========= Executing JAVA =============================================[0m
LAX Version = 5.5
FileEncoding::initialize()- platform default encoding: ISO-8859-1
FileEncoding::initialize()- using encoding: ISO-8859-1
seaFilename = EnterpriseWorkbenchInstaller_030700RC2
Default properties location = downloads/downloads/
UI Mode set to Default – SWING.
__________________________________________________________________________java.lang.NullPointerException
at com.zerog.ia.installer.Main.h(DashoA8113)
at com.zerog.ia.installer.Main.b(DashoA8113)
at com.zerog.ia.installer.Main.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)Stack Trace:
java.lang.NullPointerException
at com.zerog.ia.installer.Main.h(DashoA8113)
at com.zerog.ia.installer.Main.b(DashoA8113)
at com.zerog.ia.installer.Main.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
[7m========= JAVA Finished ==============================================[0mRemoving tmp install dir: “/tmp/install.dir.3361”
Riyad KallaMemberCan you take a look at this thread:
https://www.genuitec.com/forums/topic/installing-asks-to-change-install-directory/#post-202048which then points to this thread:
https://www.genuitec.com/forums/topic/exe-installer-2-6-3-aborts-with-jsdk-1-4-2-02-closed/&highlight=windows+installerwhich both point out that there is a problem between JDK 1.4.2 and InstallAnywhere. In the second post Scott gives instructions and command line args you can try to launch the installer with another VM (preferablly 1.4.1).
fkorlingMemberSorry , but the info the threads don’t help.
For the Linux version the LAX_VM environment variable doesn’t seem to
be defined at all. I’ve tried 3 different JVMs now, 1.4.1_03, 1.4.1_05 and 1.4.2_03 with
the same result.The 3.6.4 MyEclipse installer and Eclipse 3.0M6 runs without any problem with any of the
above JVMs in the same environment./Filip
Riyad KallaMemberFilip I’m a bit confused… your statement:
The 3.6.4 MyEclipse installer and Eclipse 3.0M6 runs without any problem with any of the
above JVMs in the same environment.makes me thing that you have the installer working now? Do you still need help, if so, is the installer still not working for you? (when you installed the other VMs, did you specify to the installer which VM to use with the ‘export LAX_VM=<path to jdk>’ environment variable?)
fkorlingMemberSorry for the confusion.
What I meant to say was that I tested the environment in which the 3.7RC2 installer fails
with some other programs, i.e Eclipse 3.0M6(without MyEclipse) and the 3.6.4 MyEclipse
installer. Both these programs work, so it indicates to me that its the 3.7RC2 installer
that has problems, not my environment.Also, I tried to install 3.7RC2 on a Linux RedHat 9, but got the same error.
/Filip
Riyad KallaMemberFilip ok thank you for trying the installer on another platform, it does indeed seem that there is something amiss. I’ll bring this to the attention of Scott.
Scott AndersonParticipantThis one is very interesting and appears to be a new problem. Thank you both for the diligence shown in looking through the old threads and trying different JVMs.
One thing that stands out to me is this output
/bin/ls: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin: No such file or directory
True location of the self extractor: downloads/downloads/EnterpriseWorkbenchInstaller_030700RC2.binHow are you executing the installer and from what directory? Are you logged in as a user, or as root? Can you think of a possible reason why the error regarding the file location occurs? Are you simply changing the file to an executable and running it from within the current directory, or are you doing something else.
While we don’t test on Mandrake, we certainly do test on RedHat and haven’t seen such a problem with this installer. Puzzling. With answers to the above, hopefully we’ll be able to run this down.
fkorlingMemberScott,
If I change to the directory where the installer is located, the strange message that you point out chages to the more expected:
bash-2.05b$ LAX_DEBUG=1 ./EnterpriseWorkbenchInstaller_030700RC2.bin
Preparing to install…
Checking for POSIX df.
Found POSIX df.
True location of the self extractor: /local/home/filip/downloads/EnterpriseWorkbenchInstaller_030700RC2.bin
Creating installer data directory: /tmp/install.dir.15552
— snip —However, the installer fails in the same way as before.
Running the installer as an ordinary user or root doesn’t matter, I get the same error.A note on the RedHat failure: I use X-server on Mandrake 9.2 installatation and login
to the RedHat machine. I will log on the console of the RedHat machine and see
if the problem could be related the Mandrake X-server./Filip
fkorlingMemberLogging on the console on the Red Hat 9 machine made no difference. It doesn’t seem to be an X-server related problem.
/Filip
fkorlingMemberCase solved — the downloaded file I had was corrupted for some reason.
It was 19057797 bytes, instead of 19054049, which it the correct size.I downloaded a new, fresh file and now it works without problems.
Thanks for your support.
Regards,
Filip
Riyad KallaMemberIts always the little things isn’t it?
Glad to hear it worked.
Scott AndersonParticipantI’m really glad to see this one closed. Man, that was tough!
-
AuthorPosts