java.lang.NullPointerException: null

Appcelerator JIRA | Kondal Kolipaka | 3 months ago
  1. 0

    *To reproduce this:* # Login once to Appcelerator Studio and close it. # Go to offline mode - switch off the network # Launch studio # Create a new mobile app project. *Actual:* While launching mobile app project creation wizard, NPE is thrown in the error log. *Expected:* Project should be created without an app registration in the cloud and shouldn't throw any error during the creation. Please find the error log; {code:java} The following data will be sent: ------ STATUS ------ pluginId com.appcelerator.titanium.core pluginVersion 3.1.2.qualifier code 0 severity 4 message (Build 4.8.0.qualifier) [ERROR] com.appcelerator.titanium.core/debug/dashboard Error retrieving the JSON content for the Mobile SDK configurations fingerprint 3ec6c7ec stacktrace Exception:java.lang.NullPointerException: null at com.aptana.jetty.util.epl.ajax.JSON$StringSource.hasNext(JSON.java:1456) at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:812) at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:724) at com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:180) at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfoMap(SDKInfoManager.java:78) at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getLatestSDKInfo(SDKInfoManager.java:117) at com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfo(SDKInfoManager.java:64) at com.appcelerator.titanium.core.internal.mobile.MobilePlatformsRegistry$LazyMobilePlatform.configurationStatus(MobilePlatformsRegistry.java:270) at com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.validatePlatforms(NewMobileProjectCreationPage.java:303) at com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.createControl(NewMobileProjectCreationPage.java:228) at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178) at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622) at org.eclipse.jface.window.Window.create(Window.java:435) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101) at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:95) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) 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:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) ------ REPORT ------ name Kondal Kolipaka email kkolipaka@appcelerator.com comment productVersion 4.8.0.qualifier productName Appcelerator Studio javaRuntimeVersion 1.7.0_80-b15 osgiWs cocoa osgiOs MacOSX osgiOsVersion 10.11.4 osgiArch x86_64 {code}

    Appcelerator JIRA | 3 months ago | Kondal Kolipaka
    java.lang.NullPointerException: null
  2. 0

    HQL Exception (org.hibernate.dialect.Dialect$3)

    Stack Overflow | 4 years ago | Hari
    java.lang.NullPointerException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error loading model properties in JPA on play 2.0.3

    Stack Overflow | 4 years ago | Chappies
    java.lang.NullPointerException: null
  5. 0

    Why lift can't find my "db.properties"

    Stack Overflow | 5 years ago | Freewind
    java.lang.NullPointerException: null

    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

      null

      at com.aptana.jetty.util.epl.ajax.JSON$StringSource.hasNext()
    2. com.aptana.jetty
      JSON.parse
      1. com.aptana.jetty.util.epl.ajax.JSON$StringSource.hasNext(JSON.java:1456)
      2. com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:812)
      3. com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:724)
      4. com.aptana.jetty.util.epl.ajax.JSON.parse(JSON.java:180)
      4 frames
    3. com.appcelerator.titanium
      NewMobileProjectCreationPage.createControl
      1. com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfoMap(SDKInfoManager.java:78)
      2. com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getLatestSDKInfo(SDKInfoManager.java:117)
      3. com.appcelerator.titanium.core.internal.mobile.SDKInfoManager.getSDKInfo(SDKInfoManager.java:64)
      4. com.appcelerator.titanium.core.internal.mobile.MobilePlatformsRegistry$LazyMobilePlatform.configurationStatus(MobilePlatformsRegistry.java:270)
      5. com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.validatePlatforms(NewMobileProjectCreationPage.java:303)
      6. com.appcelerator.titanium.ui.ide.wizard.NewMobileProjectCreationPage.createControl(NewMobileProjectCreationPage.java:228)
      6 frames
    4. JFace
      Dialog.create
      1. org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:178)
      2. org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:759)
      3. org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:622)
      4. org.eclipse.jface.window.Window.create(Window.java:435)
      5. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
      5 frames
    5. Common Navigator View
      WizardShortcutAction.run
      1. org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:95)
      1 frame
    6. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      4 frames
    7. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
      7. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
      8. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
      8 frames
    8. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      1 frame
    9. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    10. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      1 frame
    11. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      1 frame
    12. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      1 frame
    13. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    14. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      1 frame
    15. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    16. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
      1 frame
    17. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    18. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    20. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      4 frames