java.lang.Exception: Unexpected exception, expected<javax.persistence.TransactionRequiredException> but was<java.lang.AssertionError>

Stack Overflow | Chris | 4 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

    GitHub comment 5609#30677978

    GitHub | 3 years ago | wildfly-ci
    java.lang.Exception: Unexpected exception, expected<javax.persistence.NoResultException> but was<java.lang.AssertionError>
  2. 0

    GitHub comment 5586#30772815

    GitHub | 3 years ago | wildfly-ci
    java.lang.Exception: Unexpected exception, expected<javax.persistence.NoResultException> but was<java.lang.AssertionError>
  3. 0

    GitHub comment 5620#30797478

    GitHub | 3 years ago | wildfly-ci
    java.lang.Exception: Unexpected exception, expected<javax.persistence.NoResultException> but was<java.lang.AssertionError>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 5597#30460696

    GitHub | 3 years ago | wildfly-ci
    java.lang.Exception: Unexpected exception, expected<javax.persistence.NoResultException> but was<java.lang.AssertionError>
  6. 0

    GitHub comment 5601#30550119

    GitHub | 3 years ago | wildfly-ci
    java.lang.Exception: Unexpected exception, expected<javax.persistence.NoResultException> but was<java.lang.AssertionError>
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.AssertionError

    Expected exception: javax.persistence.TransactionRequiredException

    at org.junit.internal.runners.statements.ExpectException.evaluate()
  2. JUnit
    ExpectException.evaluate
    1. org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:35)
    1 frame
  3. Arquillian TestRunner JUnit Core
    Arquillian$5.evaluate
    1. org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
    2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
    3. org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
    4. org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
    4 frames
  4. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    8 frames
  5. Arquillian TestRunner JUnit Core
    Arquillian$3.evaluate
    1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
    2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
    3. org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
    4. org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    1 frame
  7. Arquillian TestRunner JUnit Core
    Arquillian.run
    1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
    1 frame
  8. JUnit
    JUnitCore.run
    1. org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:136)
    2 frames
  9. Arquillian TestRunner JUnit Container
    JUnitTestRunner.execute
    1. org.jboss.arquillian.junit.container.JUnitTestRunner.execute(JUnitTestRunner.java:65)
    1 frame
  10. Arquillian Protocol JMX
    JMXTestRunner.runTestMethod
    1. org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethodInternal(JMXTestRunner.java:128)
    2. org.jboss.arquillian.protocol.jmx.JMXTestRunner.runTestMethod(JMXTestRunner.java:107)
    2 frames
  11. JBoss Application Server: Arquillian Protocol JMX
    ArquillianService$ExtendedJMXTestRunner.runTestMethod
    1. org.jboss.as.arquillian.service.ArquillianService$ExtendedJMXTestRunner.runTestMethod(ArquillianService.java:226)
    1 frame
  12. Java RT
    JmxMBeanServer.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    5. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
    6. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
    7. com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
    8. com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
    9. com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
    10. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    11. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
    11 frames
  13. JBoss Application Server: JMX Subsystem
    PluggableMBeanServerImpl.invoke
    1. org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.invoke(PluggableMBeanServerImpl.java:498)
    2. org.jboss.as.jmx.PluggableMBeanServerImpl.invoke(PluggableMBeanServerImpl.java:246)
    2 frames
  14. org.jboss.remotingjmx
    ServerProxy$MessageReciever$1.run
    1. org.jboss.remotingjmx.protocol.v1.ServerProxy$InvokeHandler.handle(ServerProxy.java:1034)
    2. org.jboss.remotingjmx.protocol.v1.ServerProxy$MessageReciever$1.run(ServerProxy.java:215)
    2 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:722)
    3 frames