java.lang.Throwable

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.

  • I am using org.springframework.orm.ibatis.SqlMapClientFactoryBean. While this class was instanciated, I got the exceptiong below. The reason is that the bungle manifest of org.springframework.osgi.spring-ibatis is missing the import import com.ibatis.sqlmap.engine.transaction java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/transaction/TransactionConfig at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at java.beans.Introspector$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) at java.beans.Introspector.getTargetMethodInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:244) at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:143) at org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperImpl.java:236) at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:194) at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:177) at org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java:130) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:760) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:724) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:610) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:551) at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:441) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:174) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext$DependencyListener.findServiceDependencies(ServiceDependentOsgiBundleXmlApplicationContext.java:149) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext$DependencyListener.access$100(ServiceDependentOsgiBundleXmlApplicationContext.java:136) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext.onRefresh(ServiceDependentOsgiBundleXmlApplicationContext.java:90) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346) at org.springframework.osgi.context.support.AbstractRefreshableOsgiBundleApplicationContext.refresh(AbstractRefreshableOsgiBundleApplicationContext.java:170) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext.refresh(ServiceDependentOsgiBundleXmlApplicationContext.java:76) at org.springframework.osgi.extender.support.ApplicationContextCreator.run(ApplicationContextCreator.java:155) at java.lang.Thread.run(Unknown Source) 18.05.2007 11:55:17 org.springframework.osgi.extender.support.ApplicationContextCreator run INFO: Calling code: java.lang.Throwable at org.springframework.osgi.extender.support.ApplicationContextCreator.<init>(ApplicationContextCreator.java:95) at org.springframework.osgi.extender.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:320) at org.springframework.osgi.extender.ContextLoaderListener.bundleChanged(ContextLoaderListener.java:289) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1509) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:355) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    via by Bernd Kolb,
  • I am using org.springframework.orm.ibatis.SqlMapClientFactoryBean. While this class was instanciated, I got the exceptiong below. The reason is that the bungle manifest of org.springframework.osgi.spring-ibatis is missing the import import com.ibatis.sqlmap.engine.transaction java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/transaction/TransactionConfig at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethods(Unknown Source) at java.beans.Introspector$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) at java.beans.Introspector.getTargetMethodInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at java.beans.Introspector.getBeanInfo(Unknown Source) at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:244) at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:143) at org.springframework.beans.BeanWrapperImpl.setIntrospectionClass(BeanWrapperImpl.java:236) at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:194) at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:177) at org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java:130) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:760) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:724) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:610) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:551) at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:441) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:173) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:174) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext$DependencyListener.findServiceDependencies(ServiceDependentOsgiBundleXmlApplicationContext.java:149) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext$DependencyListener.access$100(ServiceDependentOsgiBundleXmlApplicationContext.java:136) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext.onRefresh(ServiceDependentOsgiBundleXmlApplicationContext.java:90) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346) at org.springframework.osgi.context.support.AbstractRefreshableOsgiBundleApplicationContext.refresh(AbstractRefreshableOsgiBundleApplicationContext.java:170) at org.springframework.osgi.extender.support.ServiceDependentOsgiBundleXmlApplicationContext.refresh(ServiceDependentOsgiBundleXmlApplicationContext.java:76) at org.springframework.osgi.extender.support.ApplicationContextCreator.run(ApplicationContextCreator.java:155) at java.lang.Thread.run(Unknown Source) 18.05.2007 11:55:17 org.springframework.osgi.extender.support.ApplicationContextCreator run INFO: Calling code: java.lang.Throwable at org.springframework.osgi.extender.support.ApplicationContextCreator.<init>(ApplicationContextCreator.java:95) at org.springframework.osgi.extender.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:320) at org.springframework.osgi.extender.ContextLoaderListener.bundleChanged(ContextLoaderListener.java:289) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1509) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:355) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    via by Bernd Kolb,
  • Spring-OSGi and JMS
    via by Don Laidlaw,
  • Logger problems
    via by Ingo Meyer,
  • Spring-OSGi and JavaConfig
    via by Mario Scalas,
  • Spring OSGI transaction management
    via by xluo,
  • Unable to do an integration test
    via by bvansomeren,
    • java.lang.Throwable at org.springframework.osgi.extender.support.ApplicationContextCreator.<init>(ApplicationContextCreator.java:95) at org.springframework.osgi.extender.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:320) at org.springframework.osgi.extender.ContextLoaderListener.bundleChanged(ContextLoaderListener.java:289) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1210) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1558) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1509) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:355) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    No Bugmate found.