javax.ejb.EJBException: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.

GitHub | MrCaf | 2 months ago
  1. 0

    GitHub comment 12#254804830

    GitHub | 2 months ago | MrCaf
    javax.ejb.EJBException: java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
  2. 0

    Quantil Berechnen

    GitHub | 2 years ago | Schtani
    java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
  3. 0

    ScoreAttained condition throws arithmatic exception - OptaPlanner

    Stack Overflow | 3 years ago | Ali Shah
    java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BigDecimal and “java.lang.ArithmeticException: Non-terminating decimal expansion” | Lost In Transition

    wordpress.com | 6 months ago
    java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
  6. 0

    Commons talk:Commonist/Archive 1 - Wikimedia Commons

    wikimedia.org | 11 months ago
    java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.

  1. serious2monkeys 2 times, last 1 month ago
2 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.ArithmeticException

    Non-terminating decimal expansion; no exact representable decimal result.

    at java.math.BigDecimal.divide()
  2. Java RT
    BigDecimal.divide
    1. java.math.BigDecimal.divide(Unknown Source)
    1 frame
  3. fr.pizzeria.admin
    StatistiqueService.findClientsParCommandes
    1. fr.pizzeria.admin.metier.StatistiqueService.findClientsParCommandes(StatistiqueService.java:48)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. JBoss Application Server: EE
    ManagedReferenceMethodInterceptor.processInvocation
    1. org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    1 frame
  6. JBoss Application Server Server
    InterceptorContext$Invocation.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    2 frames
  7. Weld
    Jsr299BindingsInterceptor.processInvocation
    1. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
    2. org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
    2 frames
  8. JBoss Application Server: EE
    UserInterceptorFactory$1.processInvocation
    1. org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    1 frame
  9. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  10. JBoss Application Server: EJB Subsystem
    ExecutionTimeInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    1 frame
  11. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  12. JPA
    SBInvocationInterceptor.processInvocation
    1. org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
    1 frame
  13. JBoss Application Server Server
    InterceptorContext$Invocation.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    2 frames
  14. Weld Implementation
    AbstractEJBRequestScopeActivationInterceptor.aroundInvoke
    1. org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
    1 frame
  15. Weld
    EjbRequestScopeActivationInterceptor.processInvocation
    1. org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
    1 frame
  16. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  17. WildFly: EE
    ConcurrentContextInterceptor.processInvocation
    1. org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    1 frame
  18. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
    3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    4. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    4 frames
  19. JBoss Application Server: EE
    ComponentDispatcherInterceptor.processInvocation
    1. org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    1 frame
  20. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  21. JBoss Application Server: EJB Subsystem
    PooledInstanceInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
    1 frame
  22. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  23. JBoss Application Server: EJB Subsystem
    CMTTxInterceptor.processInvocation
    1. org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
    2. org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
    3. org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
    3 frames
  24. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  25. JBoss Application Server: EJB Subsystem
    CurrentInvocationContextInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    1 frame
  26. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  27. JBoss Application Server: EJB Subsystem
    WaitTimeInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
    1 frame
  28. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  29. JBoss Application Server: EJB Subsystem
    SecurityContextInterceptor.processInvocation
    1. org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
    1 frame
  30. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  31. JBoss Application Server: EJB Subsystem
    ShutDownInterceptorFactory$1.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    1 frame
  32. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  33. JBoss Application Server: EJB Subsystem
    LoggingInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    1 frame
  34. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  35. JBoss Application Server: EE
    NamespaceContextInterceptor.processInvocation
    1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    1 frame
  36. JBoss Application Server Server
    InterceptorContext.proceed
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    1 frame
  37. JBoss Application Server: EJB Subsystem
    AdditionalSetupInterceptor.processInvocation
    1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    1 frame
  38. JBoss Application Server Server
    InterceptorContext.run
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    4. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    4 frames
  39. WildFly Security Manager
    WildFlySecurityManager.doChecked
    1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
    1 frame
  40. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    2. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    3. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    4. org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    5. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    6. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    6 frames
  41. JBoss Application Server: EE
    ViewDescription$1.processInvocation
    1. org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    2. org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    2 frames
  42. JBoss Application Server Server
    ChainedInterceptor.processInvocation
    1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    2. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    2 frames
  43. JBoss Application Server: EE
    ProxyInvocationHandler.invoke
    1. org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
    1 frame
  44. fr.pizzeria.admin
    StatistiqueService$$$view4.findClientsParCommandes
    1. fr.pizzeria.admin.metier.StatistiqueService$$$view4.findClientsParCommandes(Unknown Source)
    1 frame
  45. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  46. Weld Implementation
    ProxyMethodHandler.invoke
    1. org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:436)
    2. org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
    3. org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    4. org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
    5. org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    5 frames
  47. fr.pizzeria.admin
    StatistiquesController.doGet
    1. fr.pizzeria.admin.metier.StatistiqueService$Proxy$_$$_Weld$EnterpriseProxy$.findClientsParCommandes(Unknown Source)
    2. fr.pizzeria.admin.statistique.StatistiquesController.doGet(StatistiquesController.java:26)
    2 frames
  48. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    2 frames
  49. Undertow Servlet
    FilterHandler$FilterChainImpl.doFilter
    1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
    2 frames
  50. fr.pizzeria.admin
    PerformanceFilter.doFilter
    1. fr.pizzeria.admin.filter.PerformanceFilter.doFilter(PerformanceFilter.java:30)
    1 frame
  51. Undertow Servlet
    FilterHandler$FilterChainImpl.doFilter
    1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    2 frames
  52. fr.pizzeria.admin
    EncodageFilter.doFilter
    1. fr.pizzeria.admin.filter.EncodageFilter.doFilter(EncodageFilter.java:23)
    1 frame
  53. Undertow Servlet
    FilterHandler$FilterChainImpl.doFilter
    1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    2 frames
  54. fr.pizzeria.admin
    AuthentificationFilter.doFilter
    1. fr.pizzeria.admin.filter.AuthentificationFilter.doFilter(AuthentificationFilter.java:39)
    1 frame
  55. Undertow Servlet
    ServletDispatchingHandler.handleRequest
    1. io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
    2. io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
    3. io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
    4. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
    5. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
    5 frames
  56. WildFly: Undertow
    SecurityContextAssociationHandler.handleRequest
    1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
    1 frame
  57. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    1 frame
  58. Undertow Servlet
    ServletAuthenticationCallHandler.handleRequest
    1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
    2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
    2 frames
  59. Undertow Core
    AbstractConfidentialityHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
    2 frames
  60. Undertow Servlet
    ServletConfidentialityConstraintHandler.handleRequest
    1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
    1 frame
  61. Undertow Core
    AuthenticationMechanismsHandler.handleRequest
    1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
    1 frame
  62. Undertow Servlet
    CachedAuthenticatedSessionHandler.handleRequest
    1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
    1 frame
  63. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
    2. io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
    3. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    3 frames
  64. WildFly: Undertow
    JACCContextIdHandler.handleRequest
    1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
    1 frame
  65. Undertow Core
    PredicateHandler.handleRequest
    1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
    2 frames
  66. Undertow Servlet
    ServletInitialHandler$1.handleRequest
    1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
    2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
    3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
    4. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
    4 frames
  67. Undertow Core
    HttpServerExchange$1.run
    1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
    2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
    2 frames
  68. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames