java.lang.NullPointerException

Appcelerator JIRA | Deepti Pandey | 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

    This is a regression. Test Steps: 1. Uninstall Xcode *or* move Xcode to a directory in which the CLI cannot pick up 2. Launch Studio with a new workspace 3. Wait untill Studio loads. Actual Result: NPE occurs. {code} !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.457 !MESSAGE CSS property 'maximize-visible' has been deprecated: renamed as swt-maximize-visible !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.458 !MESSAGE CSS property 'minimize-visible' has been deprecated: renamed as swt-minimize-visible !ENTRY org.eclipse.ui 4 4 2014-04-16 10:13:33.613 !MESSAGE An internal error has occurred. !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath(IOSSDKConfigurer.java:51) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.createAdvancedSettingsComposite(IOSSDKConfigurer.java:59) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.<init>(BasePlatformConfigurationComposite.java:322) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:41) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:39) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doCreateComposite(IOSSDKConfigurer.java:141) at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.createConfigurationContents(BaseMobilePlatformConfigurer.java:122) at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createConfigurationContents(PlatformsListConfigurationPage.java:181) at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createControl(PlatformsListConfigurationPage.java:155) 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 org.eclipse.jface.window.Window.create(Window.java:432) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:48) at com.appcelerator.titanium.ui.TitaniumUIPlugin$6.runInUIThread(TitaniumUIPlugin.java:425) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653) 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:125) 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) {code}

    Appcelerator JIRA | 3 years ago | Deepti Pandey
    java.lang.NullPointerException
  2. 0

    This is a regression. Test Steps: 1. Uninstall Xcode *or* move Xcode to a directory in which the CLI cannot pick up 2. Launch Studio with a new workspace 3. Wait untill Studio loads. Actual Result: NPE occurs. {code} !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.457 !MESSAGE CSS property 'maximize-visible' has been deprecated: renamed as swt-maximize-visible !ENTRY org.eclipse.e4.ui.css.core 4 0 2014-04-16 10:13:06.458 !MESSAGE CSS property 'minimize-visible' has been deprecated: renamed as swt-minimize-visible !ENTRY org.eclipse.ui 4 4 2014-04-16 10:13:33.613 !MESSAGE An internal error has occurred. !STACK 0 java.lang.NullPointerException at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath(IOSSDKConfigurer.java:51) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.createAdvancedSettingsComposite(IOSSDKConfigurer.java:59) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.<init>(BasePlatformConfigurationComposite.java:322) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:41) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:39) at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doCreateComposite(IOSSDKConfigurer.java:141) at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.createConfigurationContents(BaseMobilePlatformConfigurer.java:122) at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createConfigurationContents(PlatformsListConfigurationPage.java:181) at com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createControl(PlatformsListConfigurationPage.java:155) 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 org.eclipse.jface.window.Window.create(Window.java:432) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:48) at com.appcelerator.titanium.ui.TitaniumUIPlugin$6.runInUIThread(TitaniumUIPlugin.java:425) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653) 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:125) 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) {code}

    Appcelerator JIRA | 3 years ago | Deepti Pandey
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath()
    2. com.appcelerator.titanium
      PlatformsListConfigurationPage.createControl
      1. com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.defaultSDKPath(IOSSDKConfigurer.java:51)
      2. com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.createAdvancedSettingsComposite(IOSSDKConfigurer.java:59)
      3. com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.<init>(BasePlatformConfigurationComposite.java:322)
      4. com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:41)
      5. com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer$IOSConfigurationComposite.<init>(IOSSDKConfigurer.java:39)
      6. com.appcelerator.titanium.ios.ui.configuration.IOSSDKConfigurer.doCreateComposite(IOSSDKConfigurer.java:141)
      7. com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.createConfigurationContents(BaseMobilePlatformConfigurer.java:122)
      8. com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createConfigurationContents(PlatformsListConfigurationPage.java:181)
      9. com.appcelerator.titanium.ui.wizard.PlatformsListConfigurationPage.createControl(PlatformsListConfigurationPage.java:155)
      9 frames
    3. JFace
      Dialog.create
      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)
      4. org.eclipse.jface.window.Window.create(Window.java:432)
      5. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
      5 frames
    4. com.appcelerator.titanium
      TitaniumUIPlugin$6.runInUIThread
      1. com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:48)
      2. com.appcelerator.titanium.ui.TitaniumUIPlugin$6.runInUIThread(TitaniumUIPlugin.java:425)
      2 frames
    5. Workbench
      UIJob$1.run
      1. org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
      1 frame
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3976)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3653)
      4 frames
    7. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      1 frame
    8. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    9. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      1 frame
    10. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
      1 frame
    11. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
      1 frame
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      1 frame
    14. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    15. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    16. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    17. 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
    18. 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
    19. 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