org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

Appcelerator JIRA | Lokesh Choudhary | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h5. Description: 1. Update to appc studio 3.4.0.201409032106. 2. Create a new app targeting all platforms. 3. Package for Android, Mobile Web & Blackberry. h5. Expected Results: 1. The package dialog show up & the app should package successfully. h5. Actual Results: 1. The package dialog does not show up for Android, Mobile Web & Blackberry & throws null pointer exception in studio logs: {code} !ENTRY com.appcelerator.titanium.ui 4 0 2014-09-05 13:40:41.026 !MESSAGE (Build 3.4.0.201409032106) [ERROR] java.lang.NullPointerException !STACK 0 org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at com.appcelerator.titanium.ui.launching.AbstractPackagingLaunchShortcut.launch(AbstractPackagingLaunchShortcut.java:47) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$3.widgetSelected(LaunchAppToolbarContribution.java:405) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: java.lang.NullPointerException at com.appcelerator.titanium360.ui.launch.contributor.Titanium360EnvsLaunchConfigurationContributor.initialize(Titanium360EnvsLaunchConfigurationContributor.java:136) at com.appcelerator.titanium.ui.mobile.AbstractPlatformConfigurationComponent.initializeContributors(AbstractPlatformConfigurationComponent.java:151) at com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.initialize(AndroidDistributionComponent.java:461) at com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.createContents(AndroidDistributionComponent.java:287) at com.appcelerator.titanium.android.ui.distribution.AndroidPackagingPage.createControl(AndroidPackagingPage.java:43) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608) at com.appcelerator.titanium.ui.wizard.PublishWizardDialog.createContents(PublishWizardDialog.java:56) at org.eclipse.jface.window.Window.create(Window.java:432) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104) at org.eclipse.jface.window.Window.open(Window.java:791) at com.appcelerator.titanium.android.ui.distribution.AndroidPackageHandler.execute(AndroidPackageHandler.java:33) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ... 38 more {code}

    Appcelerator JIRA | 3 years ago | Lokesh Choudhary
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
  2. 0

    h5. Description: 1. Update to appc studio 3.4.0.201409032106. 2. Create a new app targeting all platforms. 3. Package for Android, Mobile Web & Blackberry. h5. Expected Results: 1. The package dialog show up & the app should package successfully. h5. Actual Results: 1. The package dialog does not show up for Android, Mobile Web & Blackberry & throws null pointer exception in studio logs: {code} !ENTRY com.appcelerator.titanium.ui 4 0 2014-09-05 13:40:41.026 !MESSAGE (Build 3.4.0.201409032106) [ERROR] java.lang.NullPointerException !STACK 0 org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at com.appcelerator.titanium.ui.launching.AbstractPackagingLaunchShortcut.launch(AbstractPackagingLaunchShortcut.java:47) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$3.widgetSelected(LaunchAppToolbarContribution.java:405) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: java.lang.NullPointerException at com.appcelerator.titanium360.ui.launch.contributor.Titanium360EnvsLaunchConfigurationContributor.initialize(Titanium360EnvsLaunchConfigurationContributor.java:136) at com.appcelerator.titanium.ui.mobile.AbstractPlatformConfigurationComponent.initializeContributors(AbstractPlatformConfigurationComponent.java:151) at com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.initialize(AndroidDistributionComponent.java:461) at com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.createContents(AndroidDistributionComponent.java:287) at com.appcelerator.titanium.android.ui.distribution.AndroidPackagingPage.createControl(AndroidPackagingPage.java:43) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608) at com.appcelerator.titanium.ui.wizard.PublishWizardDialog.createContents(PublishWizardDialog.java:56) at org.eclipse.jface.window.Window.create(Window.java:432) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104) at org.eclipse.jface.window.Window.open(Window.java:791) at com.appcelerator.titanium.android.ui.distribution.AndroidPackageHandler.execute(AndroidPackageHandler.java:33) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ... 38 more {code}

    Appcelerator JIRA | 3 years ago | Lokesh Choudhary
    org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.appcelerator.titanium360.ui.launch.contributor.Titanium360EnvsLaunchConfigurationContributor.initialize()
    2. com.appcelerator.titanium360
      Titanium360EnvsLaunchConfigurationContributor.initialize
      1. com.appcelerator.titanium360.ui.launch.contributor.Titanium360EnvsLaunchConfigurationContributor.initialize(Titanium360EnvsLaunchConfigurationContributor.java:136)
      1 frame
    3. com.appcelerator.titanium
      AndroidPackagingPage.createControl
      1. com.appcelerator.titanium.ui.mobile.AbstractPlatformConfigurationComponent.initializeContributors(AbstractPlatformConfigurationComponent.java:151)
      2. com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.initialize(AndroidDistributionComponent.java:461)
      3. com.appcelerator.titanium.android.ui.distribution.AndroidDistributionComponent.createContents(AndroidDistributionComponent.java:287)
      4. com.appcelerator.titanium.android.ui.distribution.AndroidPackagingPage.createControl(AndroidPackagingPage.java:43)
      4 frames
    4. JFace
      WizardDialog.createContents
      1. org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
      2. org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
      3. org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
      3 frames
    5. com.appcelerator.titanium
      PublishWizardDialog.createContents
      1. com.appcelerator.titanium.ui.wizard.PublishWizardDialog.createContents(PublishWizardDialog.java:56)
      1 frame
    6. JFace
      Window.open
      1. org.eclipse.jface.window.Window.create(Window.java:432)
      2. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
      3. org.eclipse.jface.window.Window.open(Window.java:791)
      3 frames
    7. com.appcelerator.titanium
      AndroidPackageHandler.execute
      1. com.appcelerator.titanium.android.ui.distribution.AndroidPackageHandler.execute(AndroidPackageHandler.java:33)
      1 frame
    8. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
      2. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
      5 frames
    11. Commands
      Command.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
      1 frame
    12. com.appcelerator.titanium
      AbstractPackagingLaunchShortcut.launch
      1. com.appcelerator.titanium.ui.launching.AbstractPackagingLaunchShortcut.launch(AbstractPackagingLaunchShortcut.java:47)
      1 frame
    13. org.eclipse.debug
      LaunchShortcutExtension.launch
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:434)
      1 frame
    14. com.appcelerator.titanium
      LaunchAppToolbarContribution$3.widgetSelected
      1. com.appcelerator.titanium.ui.LaunchAppToolbarContribution$3.widgetSelected(LaunchAppToolbarContribution.java:405)
      1 frame
    15. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)
      7. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      8. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)
      9. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)
      9 frames
    16. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      1 frame
    17. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    18. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      1 frame
    19. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
      1 frame
    20. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
      1 frame
    21. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    22. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      1 frame
    23. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    24. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      1 frame
    25. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    26. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      4 frames
    27. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    28. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1450)
      3 frames