org.osgi.framework.BundleException

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.

  • Initially reported as OSGI-736: When System.out is called with a parameter value of null (see code below), a NullPointerException is thrown by TracingPrintStreamWrapper (see stack trace below). According to J2SE javadoc "null" should be printed instead. Example: ======= package test; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { public void start(BundleContext context) { System.out.println((String)null); } public void stop(BundleContext context) { } } Stack Trace: ========== org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac tBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(Stand ardBundleStarter.java:118) at com.springsource.kernel.module.internal.CompositeBundleStarter.start( CompositeBundleStarter.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy45.start(Unknown Source) at com.springsource.kernel.deployer.core.module.StandardModule.startBund le(StandardModule.java:438) at com.springsource.kernel.deployer.core.module.StandardModule.deploy(St andardModule.java:302) at com.springsource.kernel.deployer.app.legacy.SingleBundleApplication.d eploy(SingleBundleApplication.java:128) at com.springsource.kernel.deployer.core.internal.StandardApplicationDep loyer.deploy(StandardApplicationDeployer.java:389) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy52.deploy(Unknown Source) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deploy(HotDeploymentFileSystemListener.java:191) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deployIfNotDeployed(HotDeploymentFileSystemListener.java:202) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. onChange(HotDeploymentFileSystemListener.java:97) at com.springsource.kernel.io.fs.WatchTask.notifyListeners(WatchTask.jav a:194) at com.springsource.kernel.io.fs.WatchTask.notifyInitialState(WatchTask. java:136) at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:89) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.append(TracingPrintStreamWrapper.java:114) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.print(TracingPrintStreamWrapper.java:191) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.println(TracingPrintStreamWrapper.java:259) at de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activ ator.java:25) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund leContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:798) ... 50 more
    via by Costin Leau,
  • When System.out is called with a parameter value of null (see code below), a NullPointerException is thrown by TracingPrintStreamWrapper (see stack trace below). According to J2SE javadoc "null" should be printed instead. Example: ======= package test; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { public void start(BundleContext context) { System.out.println((String)null); } public void stop(BundleContext context) { } } Stack Trace: ========== org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac tBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(Stand ardBundleStarter.java:118) at com.springsource.kernel.module.internal.CompositeBundleStarter.start( CompositeBundleStarter.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy45.start(Unknown Source) at com.springsource.kernel.deployer.core.module.StandardModule.startBund le(StandardModule.java:438) at com.springsource.kernel.deployer.core.module.StandardModule.deploy(St andardModule.java:302) at com.springsource.kernel.deployer.app.legacy.SingleBundleApplication.d eploy(SingleBundleApplication.java:128) at com.springsource.kernel.deployer.core.internal.StandardApplicationDep loyer.deploy(StandardApplicationDeployer.java:389) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy52.deploy(Unknown Source) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deploy(HotDeploymentFileSystemListener.java:191) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deployIfNotDeployed(HotDeploymentFileSystemListener.java:202) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. onChange(HotDeploymentFileSystemListener.java:97) at com.springsource.kernel.io.fs.WatchTask.notifyListeners(WatchTask.jav a:194) at com.springsource.kernel.io.fs.WatchTask.notifyInitialState(WatchTask. java:136) at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:89) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.append(TracingPrintStreamWrapper.java:114) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.print(TracingPrintStreamWrapper.java:191) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.println(TracingPrintStreamWrapper.java:259) at de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activ ator.java:25) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund leContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:798) ... 50 more
    via by Andreas Rudert,
  • Initially reported as OSGI-736: When System.out is called with a parameter value of null (see code below), a NullPointerException is thrown by TracingPrintStreamWrapper (see stack trace below). According to J2SE javadoc "null" should be printed instead. Example: ======= package test; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { public void start(BundleContext context) { System.out.println((String)null); } public void stop(BundleContext context) { } } Stack Trace: ========== org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac tBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(Stand ardBundleStarter.java:118) at com.springsource.kernel.module.internal.CompositeBundleStarter.start( CompositeBundleStarter.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy45.start(Unknown Source) at com.springsource.kernel.deployer.core.module.StandardModule.startBund le(StandardModule.java:438) at com.springsource.kernel.deployer.core.module.StandardModule.deploy(St andardModule.java:302) at com.springsource.kernel.deployer.app.legacy.SingleBundleApplication.d eploy(SingleBundleApplication.java:128) at com.springsource.kernel.deployer.core.internal.StandardApplicationDep loyer.deploy(StandardApplicationDeployer.java:389) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy52.deploy(Unknown Source) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deploy(HotDeploymentFileSystemListener.java:191) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deployIfNotDeployed(HotDeploymentFileSystemListener.java:202) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. onChange(HotDeploymentFileSystemListener.java:97) at com.springsource.kernel.io.fs.WatchTask.notifyListeners(WatchTask.jav a:194) at com.springsource.kernel.io.fs.WatchTask.notifyInitialState(WatchTask. java:136) at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:89) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.append(TracingPrintStreamWrapper.java:114) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.print(TracingPrintStreamWrapper.java:191) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.println(TracingPrintStreamWrapper.java:259) at de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activ ator.java:25) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund leContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:798) ... 50 more
    via by Costin Leau,
  • When System.out is called with a parameter value of null (see code below), a NullPointerException is thrown by TracingPrintStreamWrapper (see stack trace below). According to J2SE javadoc "null" should be printed instead. Example: ======= package test; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { public void start(BundleContext context) { System.out.println((String)null); } public void stop(BundleContext context) { } } Stack Trace: ========== org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Abstrac tBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(Stand ardBundleStarter.java:118) at com.springsource.kernel.module.internal.CompositeBundleStarter.start( CompositeBundleStarter.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy45.start(Unknown Source) at com.springsource.kernel.deployer.core.module.StandardModule.startBund le(StandardModule.java:438) at com.springsource.kernel.deployer.core.module.StandardModule.deploy(St andardModule.java:302) at com.springsource.kernel.deployer.app.legacy.SingleBundleApplication.d eploy(SingleBundleApplication.java:128) at com.springsource.kernel.deployer.core.internal.StandardApplicationDep loyer.deploy(StandardApplicationDeployer.java:389) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.Servic eInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextA dvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doP roceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.inv oke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed( ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami cAopProxy.java:204) at $Proxy52.deploy(Unknown Source) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deploy(HotDeploymentFileSystemListener.java:191) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. deployIfNotDeployed(HotDeploymentFileSystemListener.java:202) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener. onChange(HotDeploymentFileSystemListener.java:97) at com.springsource.kernel.io.fs.WatchTask.notifyListeners(WatchTask.jav a:194) at com.springsource.kernel.io.fs.WatchTask.notifyInitialState(WatchTask. java:136) at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:89) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.append(TracingPrintStreamWrapper.java:114) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.print(TracingPrintStreamWrapper.java:191) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintS treamWrapper.println(TracingPrintStreamWrapper.java:259) at de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activ ator.java:25) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(Bund leContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:798) ... 50 more
    via by Andreas Rudert,
    • org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:830) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:779) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) at com.springsource.kernel.dm.internal.StandardBundleStarter.start(StandardBundleStarter.java:118) at com.springsource.kernel.module.internal.CompositeBundleStarter.start(CompositeBundleStarter.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy45.start(Unknown Source) at com.springsource.kernel.deployer.core.module.StandardModule.startBundle(StandardModule.java:438) at com.springsource.kernel.deployer.core.module.StandardModule.deploy(StandardModule.java:302) at com.springsource.kernel.deployer.app.legacy.SingleBundleApplication.deploy(SingleBundleApplication.java:128) at com.springsource.kernel.deployer.core.internal.StandardApplicationDeployer.deploy(StandardApplicationDeployer.java:389) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy52.deploy(Unknown Source) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:191) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeploymentFileSystemListener.java:202) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:97) at com.springsource.kernel.io.fs.WatchTask.notifyListeners(WatchTask.java:194) at com.springsource.kernel.io.fs.WatchTask.notifyInitialState(WatchTask.java:136) at com.springsource.kernel.io.fs.WatchTask.run(WatchTask.java:89) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.append(TracingPrintStreamWrapper.java:114) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.print(TracingPrintStreamWrapper.java:191) at com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.println(TracingPrintStreamWrapper.java:259) at de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activator.java:25) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:807) at java.security.AccessController.doPrivileged(Native Method)
    No Bugmate found.