java.lang.reflect.InvocationTargetException

JIRA | wroot | 6 months ago
  1. 0

    I don't remember if i have tried to run it on Linux right after Smack 4 update, but on Xubuntu it runs fine (from a shortcut-link). On Ubuntu it used to work when you first run it via cmd and lock to launcher. But currently it doesn't start form a launcher and only work when running ./Spark in cmd. logs this: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jivesoftware.launcher.Startup.start(Startup.java:93) at org.jivesoftware.launcher.Startup.main(Startup.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57) Caused by: java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParser at org.jivesoftware.spark.PluginManager.updateClasspath(PluginManager.java:464) at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:217) at org.jivesoftware.Spark.startup(Spark.java:198) ... 12 more Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParser at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more

    Jive Software Open Source | 6 months ago | wroot
    java.lang.reflect.InvocationTargetException
  2. 0

    I don't remember if i have tried to run it on Linux right after Smack 4 update, but on Xubuntu it runs fine (from a shortcut-link). On Ubuntu it used to work when you first run it via cmd and lock to launcher. But currently it doesn't start form a launcher and only work when running ./Spark in cmd. logs this: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jivesoftware.launcher.Startup.start(Startup.java:93) at org.jivesoftware.launcher.Startup.main(Startup.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57) Caused by: java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParser at org.jivesoftware.spark.PluginManager.updateClasspath(PluginManager.java:464) at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:217) at org.jivesoftware.Spark.startup(Spark.java:198) ... 12 more Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParser at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more

    JIRA | 6 months ago | wroot
    java.lang.reflect.InvocationTargetException
  3. 0

    I don't remember if i have tried to run it on Linux right after Smack 4 update, but on Xubuntu it runs fine (from a shortcut-link). On Ubuntu it used to work when you first run it via cmd and lock to launcher. But currently it doesn't start form a launcher and only work when running ./Spark in cmd. logs this: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jivesoftware.launcher.Startup.start(Startup.java:93) at org.jivesoftware.launcher.Startup.main(Startup.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57) Caused by: java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParser at org.jivesoftware.spark.PluginManager.updateClasspath(PluginManager.java:464) at org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:217) at org.jivesoftware.Spark.startup(Spark.java:198) ... 12 more Caused by: java.lang.ClassNotFoundException: org.xmlpull.v1.XmlPullParser at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more

    Jive Software Open Source | 6 months ago | wroot
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error: Unable to add source file : -p does not exist

    Stack Overflow | 3 years ago | Richard Le
    java.lang.ClassNotFoundException: com.ric hardle.Bound2Processor;
  6. 0

    NiftyGUI's Nifty class cant instantiate?

    Stack Overflow | 3 years ago | caxco93
    java.lang.ClassNotFoundException: org.bushe.swing.event.EventTopicSubscriber
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.xmlpull.v1.XmlPullParser

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. org.jivesoftware.spark
    PluginManager.loadPlugins
    1. org.jivesoftware.spark.PluginManager.updateClasspath(PluginManager.java:464)
    2. org.jivesoftware.spark.PluginManager.loadPlugins(PluginManager.java:217)
    2 frames
  4. org.jivesoftware
    Spark.startup
    1. org.jivesoftware.Spark.startup(Spark.java:198)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. org.jivesoftware.launcher
    Startup.main
    1. org.jivesoftware.launcher.Startup.start(Startup.java:93)
    2. org.jivesoftware.launcher.Startup.main(Startup.java:43)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. com.exe4j.runtime
    LauncherEngine.launch
    1. com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
    1 frame
  9. com.install4j.runtime
    UnixLauncher.main
    1. com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)
    1 frame