java.lang.ClassNotFoundException: int

JIRA | 8 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    When running jmx client command line to call a method on a bean which have a primitive as one of its parameters, the call fails. Details of the attributes of my MBean: java -jar cmdline-jmxclient-0.10.3.jar - 10.0.9.39:8084 com.miranda.adapter.vroom.proxy.mbeans:name=EDIDDetectorService Attributes: NotificationInfo: Attribute exposed for management (type=[Ljavax.management.MBeanNotificationInfo;) Operations: getDetectedResolutionSettingsUUID: Operation exposed for management Parameters 1, return type=java.lang.String name=p1 type=int removeNotificationListener: Operation exposed for management Parameters 3, return type=void name=p1 type=javax.management.NotificationListener name=p2 type=javax.management.NotificationFilter name=p3 type=java.lang.Object addNotificationListener: Operation exposed for management Parameters 3, return type=void name=p1 type=javax.management.NotificationListener name=p2 type=javax.management.NotificationFilter name=p3 type=java.lang.Object removeNotificationListener: Operation exposed for management Parameters 1, return type=void name=p1 type=javax.management.NotificationListener As you can see the operation getDetectedResolutionSettingsUUID takes a int as argument. When trying to execute this operation, I get this exception: java -jar cmdline-jmxclient-0.10.3.jar - 10.0.9.39:8084 com.miranda.adapter.vroom.proxy.mbeans:name=EDIDDetectorService getDetectedResolutionSettingsUUID=0 Exception in thread "main" java.lang.ClassNotFoundException: int 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.archive.jmx.Client.doBeanOperation(Client.java:513) at org.archive.jmx.Client.doSubCommand(Client.java:326) at org.archive.jmx.Client.doBean(Client.java:282) at org.archive.jmx.Client.execute(Client.java:242) at org.archive.jmx.Client.main(Client.java:154) I created a patch that fixes this issue (added as attachement).

    JIRA | 8 years ago
    java.lang.ClassNotFoundException: int
  2. 0
    samebug tip
    This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"
  3. 0
    samebug tip
    Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.
    via qt.io
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 18#76179171

    GitHub | 2 years ago | orenku
    java.lang.ClassNotFoundException: com.phonegap.plugins.flurry
  6. 0

    GitHub comment 18#76179913

    GitHub | 2 years ago | jfpsf
    java.lang.ClassNotFoundException: com.phonegap.plugins.flurry

  1. osvzs 1 times, last 5 days ago
  2. jf-ast 3 times, last 2 weeks ago
  3. jokester 3 times, last 2 weeks ago
  4. jstrayer 3 times, last 3 weeks ago
  5. Andreas Häber 1 times, last 4 weeks ago
66 more registered users
29 unregistered visitors
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

    int

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    6. java.lang.ClassLoader.loadClass(Unknown Source)
    7. java.lang.ClassLoader.loadClassInternal(Unknown Source)
    8. java.lang.Class.forName0(Native Method)
    9. java.lang.Class.forName(Unknown Source)
    9 frames
  3. org.archive.jmx
    Client.main
    1. org.archive.jmx.Client.doBeanOperation(Client.java:513)
    2. org.archive.jmx.Client.doSubCommand(Client.java:326)
    3. org.archive.jmx.Client.doBean(Client.java:282)
    4. org.archive.jmx.Client.execute(Client.java:242)
    5. org.archive.jmx.Client.main(Client.java:154)
    5 frames