java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException

Atlassian JIRA | Kah Loun Foong [Atlassian] | 4 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

    database settings using LDAP credential: {noformat} <database type="oracle"> <connection dialect="org.hibernate.dialect.Oracle10gDialect" driver="oracle.jdbc.OracleDriver" jdbcurl="jdbc:oracle:thin:@ldap://ldap.server.au/cn=OracleContext,cn=NetServiceNames,dc=test,dc=au/jra1prd" password="Sanitized by Support Utility" username="fecru" maxPoolSize="20" minPoolSize="5" driverSource="bundled"/> </database> {noformat} Accessing Smart Commits settings will have the following errors: {noformat} 2013-07-08 09:29:35,817 ERROR [CommitNotifier1 ] com.atlassian.event.internal.LockFreeEventPublisher$Publisher LockFreeEventPublisher$Publisher-dispatch - There was an exception thrown trying to dispatch event 'com.atlassian.fisheye.event.CommitEventImpl[source=BSG]' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@36b60ce2'. java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:228) at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:83) at com.atlassian.fisheye.event.FisheyeEventPublisher.publish(FisheyeEventPublisher.java:29) at com.cenqua.fisheye.rep.CommitNotificationRepositoryListener$CommitEventNotifier.apply(CommitNotificationRepositoryListener.java:208) ... Caused by: java.lang.reflect.UndeclaredThrowableException ... Caused by: java.lang.reflect.InvocationTargetException ... Caused by: java.sql.SQLException: Could not get connnection ... Caused by: com.cenqua.crucible.hibernate.CruDBException: java.sql.SQLException: IO Error: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] ... Caused by: java.sql.SQLException: IO Error: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] ... Caused by: oracle.net.ns.NetException: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] {noformat} Other plugins in Crucible will have similar errors too.

    Atlassian JIRA | 4 years ago | Kah Loun Foong [Atlassian]
    java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException
  2. 0

    database settings using LDAP credential: {noformat} <database type="oracle"> <connection dialect="org.hibernate.dialect.Oracle10gDialect" driver="oracle.jdbc.OracleDriver" jdbcurl="jdbc:oracle:thin:@ldap://ldap.server.au/cn=OracleContext,cn=NetServiceNames,dc=test,dc=au/jra1prd" password="Sanitized by Support Utility" username="fecru" maxPoolSize="20" minPoolSize="5" driverSource="bundled"/> </database> {noformat} Accessing Smart Commits settings will have the following errors: {noformat} 2013-07-08 09:29:35,817 ERROR [CommitNotifier1 ] com.atlassian.event.internal.LockFreeEventPublisher$Publisher LockFreeEventPublisher$Publisher-dispatch - There was an exception thrown trying to dispatch event 'com.atlassian.fisheye.event.CommitEventImpl[source=BSG]' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@36b60ce2'. java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:228) at com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:83) at com.atlassian.fisheye.event.FisheyeEventPublisher.publish(FisheyeEventPublisher.java:29) at com.cenqua.fisheye.rep.CommitNotificationRepositoryListener$CommitEventNotifier.apply(CommitNotificationRepositoryListener.java:208) ... Caused by: java.lang.reflect.UndeclaredThrowableException ... Caused by: java.lang.reflect.InvocationTargetException ... Caused by: java.sql.SQLException: Could not get connnection ... Caused by: com.cenqua.crucible.hibernate.CruDBException: java.sql.SQLException: IO Error: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] ... Caused by: java.sql.SQLException: IO Error: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] ... Caused by: oracle.net.ns.NetException: JNDI Package failure javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory not found from bundle [com.atlassian.fecru.plugin.commithook.fecru-commithooks-plugin]] {noformat} Other plugins in Crucible will have similar errors too.

    Atlassian JIRA | 4 years ago | Kah Loun Foong [Atlassian]
    java.lang.RuntimeException: java.lang.reflect.UndeclaredThrowableException

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.reflect.UndeclaredThrowableException

      at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke()
    2. com.atlassian.event
      LockFreeEventPublisher.publish
      1. com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50)
      2. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)
      3. com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)
      4. com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)
      5. com.atlassian.event.internal.LockFreeEventPublisher$Publisher.dispatch(LockFreeEventPublisher.java:228)
      6. com.atlassian.event.internal.LockFreeEventPublisher.publish(LockFreeEventPublisher.java:83)
      6 frames
    3. com.atlassian.fisheye
      FisheyeEventPublisher.publish
      1. com.atlassian.fisheye.event.FisheyeEventPublisher.publish(FisheyeEventPublisher.java:29)
      1 frame
    4. com.cenqua.fisheye
      CommitNotificationRepositoryListener$CommitEventNotifier.apply
      1. com.cenqua.fisheye.rep.CommitNotificationRepositoryListener$CommitEventNotifier.apply(CommitNotificationRepositoryListener.java:208)
      1 frame