java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Kah Loun Foong [Atlassian],
  • 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.
    via by Kah Loun Foong [Atlassian],
  • NPE at hook
    via GitHub by tgruenert
    ,
  • GitHub comment 49#33458355
    via GitHub by tgruenert
    ,
    • 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)
    No Bugmate found.