java.lang.ClassCastException: in.cleartax.gst.entities.Rupee cannot be cast to java.math.BigDecimal

Stack Overflow | zodi91 | 1 week ago
  1. 0

    Hibernate exception java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.Date

    Stack Overflow | 3 years ago | Michal
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.Date
  2. 0

    How to use @TypeDef with Hibernate Transaction, without immutability

    Stack Overflow | 1 week ago | zodi91
    java.lang.ClassCastException: in.cleartax.gst.entities.Rupee cannot be cast to java.math.BigDecimal
  3. 0

    hibernate4 simple cascade persist don't works

    Stack Overflow | 2 years ago | user2406796
    org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: dominio.Tag
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Does the Hibernate Query Cache work in Dom4J mode

    Stack Overflow | 5 years ago | Brett Shelley
    java.lang.ClassCastException: org.dom4j.tree.DefaultElement cannot be cast to java.math.BigDecimal
  6. 0

    Unsaved Transient Instance Hibernate

    Stack Overflow | 2 years ago | Abhinav
    org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: model.CepTransport

    1 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.ClassCastException

      in.cleartax.gst.entities.Rupee cannot be cast to java.math.BigDecimal

      at org.hibernate.type.descriptor.java.BigDecimalTypeDescriptor.areEqual()
    2. Hibernate
      JdbcCoordinatorImpl.beforeTransactionCompletion
      1. org.hibernate.type.descriptor.java.BigDecimalTypeDescriptor.areEqual(BigDecimalTypeDescriptor.java:19)
      2. org.hibernate.type.AbstractStandardBasicType.isEqual(AbstractStandardBasicType.java:180)
      3. org.hibernate.type.AbstractStandardBasicType.isSame(AbstractStandardBasicType.java:170)
      4. org.hibernate.type.AbstractStandardBasicType.isDirty(AbstractStandardBasicType.java:206)
      5. org.hibernate.type.AbstractStandardBasicType.isDirty(AbstractStandardBasicType.java:202)
      6. org.hibernate.type.TypeHelper.findDirty(TypeHelper.java:296)
      7. org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:4126)
      8. org.hibernate.event.internal.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:528)
      9. org.hibernate.event.internal.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:215)
      10. org.hibernate.event.internal.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:142)
      11. org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:216)
      12. org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:85)
      13. org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:38)
      14. org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)
      15. org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:468)
      16. org.hibernate.internal.SessionImpl.flushBeforeTransactionCompletion(SessionImpl.java:3135)
      17. org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:2352)
      18. org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.beforeTransactionCompletion(JdbcCoordinatorImpl.java:485)
      18 frames
    3. org.hibernate.resource
      JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit
      1. org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.beforeCompletionCallback(JdbcResourceLocalTransactionCoordinatorImpl.java:147)
      2. org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.access$100(JdbcResourceLocalTransactionCoordinatorImpl.java:38)
      3. org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.commit(JdbcResourceLocalTransactionCoordinatorImpl.java:231)
      3 frames
    4. Hibernate
      TransactionImpl.commit
      1. org.hibernate.engine.transaction.internal.TransactionImpl.commit(TransactionImpl.java:65)
      1 frame
    5. Dropwizard Hibernate Support
      UnitOfWorkApplicationListener$UnitOfWorkEventListener.onEvent
      1. io.dropwizard.hibernate.UnitOfWorkAspect.commitTransaction(UnitOfWorkAspect.java:124)
      2. io.dropwizard.hibernate.UnitOfWorkAspect.afterEnd(UnitOfWorkAspect.java:63)
      3. io.dropwizard.hibernate.UnitOfWorkApplicationListener$UnitOfWorkEventListener.onEvent(UnitOfWorkApplicationListener.java:79)
      3 frames
    6. jersey-core-server
      ContainerFilteringStage$ResponseFilterStage.apply
      1. org.glassfish.jersey.server.internal.monitoring.CompositeRequestEventListener.onEvent(CompositeRequestEventListener.java:71)
      2. org.glassfish.jersey.server.internal.process.RequestProcessingContext.triggerEvent(RequestProcessingContext.java:226)
      3. org.glassfish.jersey.server.ContainerFilteringStage$ResponseFilterStage.apply(ContainerFilteringStage.java:188)
      4. org.glassfish.jersey.server.ContainerFilteringStage$ResponseFilterStage.apply(ContainerFilteringStage.java:163)
      4 frames
    7. Jersey Core
      Stages.process
      1. org.glassfish.jersey.process.internal.Stages.process(Stages.java:171)
      1 frame
    8. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:442)
      2. org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434)
      3. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329)
      3 frames
    9. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      6 frames
    10. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      2 frames
    11. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      5 frames
    12. Dropwizard Jetty Support
      NonblockingServletHolder.handle
      1. io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)
      1 frame
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
      1 frame
    14. Dropwizard Servlet Support
      ThreadNameFilter.doFilter
      1. io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:34)
      1 frame
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      1 frame
    16. Dropwizard Jersey Support
      AllowedMethodsFilter.doFilter
      1. io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:50)
      2. io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:44)
      2 frames
    17. Jetty
      HandlerWrapper.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      7. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      7 frames
    18. Metrics Integration for Jetty 9.1 and higher
      InstrumentedHandler.handle
      1. com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:240)
      1 frame
    19. Dropwizard Jetty Support
      RoutingHandler.handle
      1. io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51)
      1 frame
    20. org.eclipse.jetty
      GzipHandler.handle
      1. org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
      1 frame
    21. Dropwizard Jetty Support
      BiDiGzipHandler.handle
      1. io.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:68)
      1 frame
    22. Jetty
      SelectChannelEndPoint$2.run
      1. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:56)
      2. org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)
      3. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      4. org.eclipse.jetty.server.Server.handle(Server.java:524)
      5. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
      6. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
      7. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      8. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      9. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      9 frames
    23. org.eclipse.jetty
      ExecuteProduceConsume.run
      1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
      2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
      3. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
      3 frames
    24. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
      2 frames
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame