java.lang.RuntimeException: Runtime Exception

htmlunit | davidoo | 1 year 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

    Stack trace is not emitted when exception is thrown

    htmlunit | 1 year ago | davidoo
    java.lang.RuntimeException: Runtime Exception
  2. 0

    Globally uncaught exception when creating duplicate role

    https://bugzilla.redhat.com/bugzilla/ | 5 years ago | Filip Brychta
    java.lang.RuntimeException: [1347978546494] java.lang.RuntimeException:javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state -> javax.transaction.RollbackException:[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state -> javax.persistence.EntityExistsException:org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update -> org.hibernate.exception.ConstraintViolationException:Could not execute JDBC batch update -> java.sql.BatchUpdateException:Batch entry 0 insert into RHQ_ROLE (NAME, DESCRIPTION, FSYSTEM, ID) values ('newRole', NULL, '0', '10052') was aborted. Call getNextException to see the cause.[SQLException=Batch entry 0 insert into RHQ_ROLE (NAME, DESCRIPTION, FSYSTEM, ID) values ('newRole', NULL, '0', '10052') was aborted. Call getNextException to see the cause. -> ERROR: duplicate key value violates unique constraint "rhq_role_name_key" Detail: Key (name)=(newRole) already exists.(error-code=0,sql-state=23505)]

    Root Cause Analysis

    1. java.lang.RuntimeException

      Runtime Exception

      at java.lang.Throwable.Throwable()
    2. Java RT
      RuntimeException.RuntimeException
      1. java.lang.Throwable.Throwable(Throwable.java:65)
      2. java.lang.Exception.Exception(Exception.java:28)
      3. java.lang.RuntimeException.RuntimeException(RuntimeException.java:28)
      3 frames
    3. Vaadin
      LoggingRPCTest$2.onSuccess
      1. com.google.gwt.user.client.rpc.LoggingRPCTest.throwException(LoggingRPCTest.java:40)
      2. com.google.gwt.user.client.rpc.LoggingRPCTest$2.onSuccess(LoggingRPCTest.java:149)
      2 frames
    4. GWT dev
      Impl.entry0
      1. com.google.gwt.core.client.impl.AsyncFragmentLoader.onLoadImpl(AsyncFragmentLoader.java:574)
      2. com.google.gwt.core.client.impl.AsyncFragmentLoader.onLoad(AsyncFragmentLoader.java:275)
      3. com.google.gwt.core.client.impl.Impl.apply(Impl.java:236)
      4. com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275)
      4 frames
    5. Unknown
      Unknown.anonymous
      1. Unknown.anonymous(Unknown Source)
      1 frame