java.lang.ClassNotFoundException: int

JIRA | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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

    GitHub comment 18#76179171

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

    GitHub comment 18#76179913

    GitHub | 2 years ago | jfpsf
    java.lang.ClassNotFoundException: com.phonegap.plugins.flurry
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reflections - Failed to invoke remote method with primitive argument

    Oracle Community | 1 decade ago | 843798
    java.lang.ClassNotFoundException: int
  6. 0

    Old class name is hardcoded as an accessor for the field access type : org.hibernate.MappingException: could not find PropertyAccessor class: net.sf.hibernate.property.DirectPropertyAccessor at org.hibernate.property.PropertyAccessorFactory.resolveCustomAccessor(PropertyAccessorFactory.java:103) at org.hibernate.property.PropertyAccessorFactory.getPropertyAccessor(PropertyAccessorFactory.java:128) at org.hibernate.property.PropertyAccessorFactory.getPropertyAccessor(PropertyAccessorFactory.java:118) at org.hibernate.mapping.Property.getPropertyAccessor(Property.java:250) at org.hibernate.mapping.Property.getGetter(Property.java:240) at org.hibernate.tuple.PojoTuplizer.buildPropertyGetter(PojoTuplizer.java:231) at org.hibernate.tuple.AbstractTuplizer.<init>(AbstractTuplizer.java:73) at org.hibernate.tuple.PojoTuplizer.<init>(PojoTuplizer.java:53) at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:45) at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:208) at org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:398) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:104) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:199) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043) at org.jtopic.model.test.DBLessTestCase.setUp(DBLessTestCase.java:25) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186) Caused by: java.lang.ClassNotFoundException: net.sf.hibernate.property.DirectPropertyAccessor 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.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:103) at org.hibernate.property.PropertyAccessorFactory.resolveCustomAccessor(PropertyAccessorFactory.java:100) ... 25 more

    Hibernate JIRA | 1 decade ago | Renat Zubairov
    org.hibernate.MappingException: could not find PropertyAccessor class: net.sf.hibernate.property.DirectPropertyAccessor

  1. andyglick 8 times, last 3 weeks ago
  2. tyson925 3 times, last 3 weeks ago
  3. Adrien 8 times, last 3 weeks ago
  4. SteVio1989 4 times, last 4 weeks ago
  5. jstrayer 1 times, last 1 month ago
58 more registered users
37 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