java.lang.ClassCastException

Oracle Community | sabbirali_kadiwala | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Glassfish 3.1 with Hibernate

    Oracle Community | 6 years ago | sabbirali_kadiwala
    java.lang.ClassCastException
  2. 0

    Cannot cast org.hibernate.jpa.HibernatePersistenceProvider to javax.persistence.spi.PersistenceProvider

    Stack Overflow | 1 month ago | Jim
    java.lang.ClassCastException: Cannot cast org.hibernate.jpa.HibernatePersistenceProvider to javax.persistence.spi.PersistenceProvider
  3. 0

    java mock framework with play!

    Google Groups | 7 years ago | leifg
    java.lang.ClassCastException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to sum multiple vectors from some structs in Clojure

    Stack Overflow | 6 years ago | andrew cooke
    java.lang.RuntimeException: java.lang.ClassCastException (fake.clj:0)
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.ClassCastException

    No message provided

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:2990)
    1 frame
  3. Embedded GlassFish Web
    JPADeployer.prepare
    1. org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:173)
    2. org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:119)
    3. org.glassfish.persistence.jpa.JPADeployer$1.visitPUD(JPADeployer.java:213)
    4. org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:486)
    5. org.glassfish.persistence.jpa.JPADeployer.createEMFs(JPADeployer.java:220)
    6. org.glassfish.persistence.jpa.JPADeployer.prepare(JPADeployer.java:166)
    6 frames
  4. Kernel Classes
    ApplicationLifecycle.prepareModule
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870)
    1 frame
  5. Deployment Related JavaEE Full Profile Classes
    EarDeployer.prepare
    1. org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:290)
    2. org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)
    3. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)
    4. org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:138)
    5. org.glassfish.javaee.full.deployment.EarDeployer.doOnBundles(EarDeployer.java:215)
    6. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:224)
    7. org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:250)
    8. org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:138)
    8 frames
  6. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:870)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
    3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    3 frames
  7. Embedded GlassFish Web
    DeployCommand.execute
    1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
    1 frame
  8. Kernel Classes
    CommandRunnerImpl$ExecutionContext.execute
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
    5 frames
  9. Embedded GlassFish Web
    AutoDeployService$1.run
    1. org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
    2. org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:577)
    3. org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:463)
    4. org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:395)
    5. org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
    6. org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:213)
    6 frames
  10. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:512)
    2. java.util.TimerThread.run(Timer.java:462)
    2 frames