java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 52#93857248
    via GitHub by jinnko
    ,
  • how to run 32 bit jar on 64 bit jvm
    via Stack Overflow by ewok
    ,
  • Required Libs
    via djproject by sguergachi
    ,
  • Hello, I have the same problem as the colleague mentioned.
 http://jira.pentaho.com/browse/PDI-3884 I made the change to the file as indicated, however exibie the message. ++ head -1
++ find /usr/lib maxdepth 1 -name 'xulrunner[0-9]*'
+ MOZILLA_FIVE_HOME=
+ LD_LIBRARY_PATH=:
+ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
+ export GDK_NATIVE_WINDOWS=1
+ GDK_NATIVE_WINDOWS=1
+ export LIBOVERLAY_SCROLLBAR=0
+ LIBOVERLAY_SCROLLBAR=0
++ dirname ./spoon.sh
+ BASEDIR=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ . /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/set-pentaho-env.sh
+ setPentahoEnv
++ dirname ./spoon.sh
+ DIR_REL=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
+ '[' -n '' ']'
+ __LAUNCHER=java
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../java/bin/java ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ _PENTAHO_JAVA_HOME=
+ _PENTAHO_JAVA=java
+ LIBPATH=NONE
+ STARTUP='-jar launcher/pentaho-application-launcher-5.0.1-stable.jar'
+ case `uname -s` in
++ uname -s
++ uname -m
+ ARCH=i386
+ OPT='-XstartOnFirstThread '
+ case $ARCH in
+ LIBPATH=./../libswt/osx/
+ export LIBPATH
+ '[' -z '' ']'
+ PENTAHO_DI_JAVA_OPTIONS='-Xmx512m -XX:MaxPermSize=256m'
+ OPT='-XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT='
+ java -XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT= -jar launcher/pentaho-application-launcher-5.0.1-stable.jar -lib ./../libswt/osx/ ''
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at org.pentaho.di.ui.core.widget.OsHelper.setAppName(OsHelper.java:81)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:566)
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:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Can you help me?
    via by Jéssica Rosa,
    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) at org.eclipse.swt.internal.C.<clinit>(Unknown Source) at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source) at org.daveware.passwordmakerapp.gui.GuiMain.open(GuiMain.java:249) at org.daveware.passwordmakerapp.gui.GuiMain.run(GuiMain.java:236) at org.daveware.passwordmakerapp.Main.run(Main.java:177) at org.daveware.passwordmakerapp.Main.main(Main.java:48) ... 5 more

    Users with the same issue

    andyglick
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    4 more bugmates