java.lang.ClassCastException: java.lang.Long

Oracle Community | 785296 | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Syncronisation between AD - OID Version 11.1.1.2.0

    Oracle Community | 6 years ago | 785296
    java.lang.ClassCastException: java.lang.Long
  2. 0

    warning and error logs 11.1.1.8 Portal

    Oracle Community | 11 months ago | PabloToledo
    java.lang.ClassCastException: java.lang.Long
  3. 0

    [evaluator] OCL evaluation exception on comparing Real with 'OclInvalid' and 'null' values

    Eclipse Bugzilla | 10 years ago | serg.boyko2011
    java.lang.ClassCastException: org.eclipse.emf.ecore.impl.DynamicEObjectImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Creating a Generic Class that works with int[] and double[]

    Coderanch | 2 years ago | Knute Snortum
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long

      at java.lang.Double.compareTo()
    2. Java RT
      Double.compareTo
      1. java.lang.Double.compareTo(Double.java:32)
      1 frame
    3. oracle.core.ojdl
      MessageFormatFileSet.compare
      1. oracle.core.ojdl.reader.MessageFormatFileSet.compare(MessageFormatFileSet.java:139)
      1 frame
    4. Java RT
      Arrays.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1270)
      2. java.util.Arrays.mergeSort(Arrays.java:1282)
      3. java.util.Arrays.sort(Arrays.java:1210)
      3 frames
    5. oracle.core.ojdl
      BaseLogQuery.executeQuery
      1. oracle.core.ojdl.reader.FileSet.updateSnapshot_default(FileSet.java:243)
      2. oracle.core.ojdl.reader.FileSet.updateSnapshot(FileSet.java:226)
      3. oracle.core.ojdl.reader.MessageFormatFileSet.updateSnapshot(MessageFormatFileSet.java:41)
      4. oracle.core.ojdl.reader.FileSetLogReader.updateSnapshot(FileSetLogReader.java:794)
      5. oracle.core.ojdl.reader.FileSetLogReader.read(FileSetLogReader.java:157)
      6. oracle.core.ojdl.reader.MergeLogReader._read(MergeLogReader.java:239)
      7. oracle.core.ojdl.reader.MergeLogReader.read(MergeLogReader.java:159)
      8. oracle.core.ojdl.query.LogReaderQuery.getNextRecord(LogReaderQuery.java:297)
      9. oracle.core.ojdl.query.LogReaderQuery.getResultSet(LogReaderQuery.java:164)
      10. oracle.core.ojdl.query.LogReaderQuery.executeQuery(LogReaderQuery.java:104)
      11. oracle.core.ojdl.query.BaseLogQuery.executeQuery(BaseLogQuery.java:63)
      11 frames
    6. oracle.as.management
      LogQueryBase.executeQuery
      1. oracle.as.management.logging.impl.LogQueryBase.executeQuery(LogQueryBase.java:208)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. oracle.as.jmx
      OracleStandardEmitterMBean.invoke
      1. oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:877)
      2. oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:94)
      3. oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
      4. oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
      5. oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
      6. oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:174)
      7. oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
      8. oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:791)
      8 frames
    9. Java RT
      JmxMBeanServer.invoke
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      2 frames
    10. weblogic.management.jmx
      WLSMBeanServerInterceptorBase.invoke
      1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
      2. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
      2 frames
    11. weblogic.management.mbeanservers
      JMXContextInterceptor.invoke
      1. weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
      1 frame
    12. weblogic.management.jmx
      WLSMBeanServerInterceptorBase.invoke
      1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
      2. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
      2 frames
    13. weblogic.management.mbeanservers
      SecurityInterceptor.invoke
      1. weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:443)
      1 frame
    14. weblogic.management.jmx
      WLSMBeanServer.invoke
      1. weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:314)
      1 frame
    15. weblogic.management.mbeanservers
      JMXConnectorSubjectForwarder$11.run
      1. weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
      2. weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
      2 frames
    16. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    17. weblogic.management.mbeanservers
      JMXConnectorSubjectForwarder.invoke
      1. weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
      1 frame
    18. Java RT
      RMIConnectionImpl_WLSkel.invoke
      1. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
      2. javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
      3. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
      4. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
      5. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
      6. javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
      6 frames
    19. weblogic.rmi.internal
      BasicServerRef$1.run
      1. weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
      2. weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
      2 frames
    20. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      1 frame
    21. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
      1 frame
    22. weblogic.rmi.internal
      WLSExecuteRequest.run
      1. weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
      2. weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      2 frames
    23. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      2 frames