Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6890

Can't package for Android, Mobile Web & Blackberry with latest 3.4.0 studio throws NullPointerException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: Release 3.4.0
    • Component/s: None
    • Labels:
    • Environment:

      Environment:
      Appc Studio : 3.4.0.201409032106
      Ti SDK : 3.4.0.v20140903121714
      Mac OSX : 10.9.4
      Alloy : 1.5.0-beta
      CLI - 3.4.0-beta
      Code Processor: 1.1.1

    • Story Points:
      5
    • Sprint:
      2014 Sprint 18 Studio

      Description

      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.

      Expected Results:

      1. The package dialog show up & the app should package successfully.

      Actual Results:

      1. The package dialog does not show up for Android, Mobile Web & Blackberry & throws null pointer exception in studio logs:

      !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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                lchoudhary Lokesh Choudhary
                Tester:
                Visalakshi Chidambaram
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: