org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test.

SpringSource Issue Tracker | Costin Leau | 8 years ago
  1. 0

    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

    SpringSource Issue Tracker | 8 years ago | Costin Leau
    org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test.
  2. 0

    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

    Spring JIRA | 8 years ago | Andreas Rudert
    org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test.
  3. 0

    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

    SpringSource Issue Tracker | 8 years ago | Costin Leau
    org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Spring JIRA | 8 years ago | Andreas Rudert
    org.osgi.framework.BundleException: Exception in test.Activator.start() of bundle test.
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.append()
    2. com.springsource.kernel
      TracingPrintStreamWrapper.println
      1. com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.append(TracingPrintStreamWrapper.java:114)
      2. com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.print(TracingPrintStreamWrapper.java:191)
      3. com.springsource.kernel.serviceability.tracing.internal.TracingPrintStreamWrapper.println(TracingPrintStreamWrapper.java:259)
      3 frames
    3. de.deutschepost.rs
      Activator.start
      1. de.deutschepost.rs.omsbenchmark.servicelistener.Activator.start(Activator.java:25)
      1 frame
    4. Eclipse OSGi
      BundleContextImpl$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:807)
      1 frame
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame