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

Android: Module cannot be packaged on Windows

    Details

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

      Windows 8-64 bit
      Titanium SDK, build: 3.3.0.v20140711123603
      CLI: 3.3.0-rc4

    • Story Points:
      8
    • Sprint:
      2014 Sprint 15 Studio, 2014 Sprint 17 Studio

      Description

      I was verifying the fix of TISTUD-6510 and encountered an inability to package an Android module.
      I cannot verify if it is a regression.

      To reproduce

      1. Create a module
      2. Package it

      Actual result

       
      Executing build.xml...
      C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.3.0.v20140711123603\module\android\build.xml:326: The following error occurred while executing this line:
      C:\ProgramData\Application Data\Titanium\mobilesdk\win32\3.3.0.v20140711123603\module\android\build.xml:281: exec returned: 2
      

      NPE logs Intermittently in Studio log file.

      java.lang.NullPointerException
      	at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationUIUtil.createMobileModulePackagerLaunchConfiguration(AndroidLaunchConfigurationUIUtil.java:169)
      	at com.appcelerator.titanium.android.internal.ui.launching.distribution.PackageAndroidModuleWizard.generateLaunchConfig(PackageAndroidModuleWizard.java:28)
      	at com.appcelerator.titanium.ui.module.AbstractModulePackagingWizard.generateLaunchConfiguration(AbstractModulePackagingWizard.java:115)
      	at com.appcelerator.titanium.ui.module.AbstractModulePackagingWizard.performFinish(AbstractModulePackagingWizard.java:81)
      	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
      	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
      	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      

      Expected result

      Module Packaging Successfully

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                oromero Olga Romero
                Reviewer:
                Christopher Williams
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: