java.lang.NullPointerException

Exception #2476472

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Mark Mokryn,
  • via Unknown by Mark Mokryn,
  • Stack trace

    • java.lang.NullPointerException at com.appcelerator.titanium.ui.preferences.SDKFieldEditor.setStatus(SDKFieldEditor.java:60) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage$1.run(AndroidSDKPreferencePage.java:310) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4650) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage.loadSdk(AndroidSDKPreferencePage.java:300) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage.access$4(AndroidSDKPreferencePage.java:296) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage$AndroidSDKFieldEditor.isValid(AndroidSDKPreferencePage.java:160) at com.appcelerator.titanium.ui.preferences.MobileSDKFieldEditor.doCheckState(MobileSDKFieldEditor.java:80) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage$AndroidSDKFieldEditor.doCheckState(AndroidSDKPreferencePage.java:149) at org.eclipse.jface.preference.StringFieldEditor.checkState(StringFieldEditor.java:193) at org.eclipse.jface.preference.StringFieldEditor.refreshValidState(StringFieldEditor.java:409) at com.appcelerator.titanium.ui.preferences.AsyncMobileSDKFieldEditor.valueChanged(AsyncMobileSDKFieldEditor.java:94) at org.eclipse.jface.preference.StringFieldEditor$2.focusLost(StringFieldEditor.java:347) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) 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:1470) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3320) at org.eclipse.swt.widgets.Display.checkFocus(Display.java:653) at org.eclipse.swt.widgets.Shell.makeFirstResponder(Shell.java:1271) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5666) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.makeFirstResponder(NSWindow.java:198) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1445) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1425) at org.eclipse.swt.widgets.Control.setTabItemFocus(Control.java:4133) at org.eclipse.swt.widgets.Widget.setTabGroupFocus(Widget.java:1886) at org.eclipse.swt.widgets.Control.traverseGroup(Control.java:4884) at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:2159) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5604) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:214) at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:366) at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:523) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5428) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSWindow.makeKeyAndOrderFront(NSWindow.java:202) at org.eclipse.swt.widgets.Shell.makeKeyAndOrderFront(Shell.java:1289) at org.eclipse.swt.widgets.Shell.setWindowVisible(Shell.java:1970) at org.eclipse.swt.widgets.Shell.open(Shell.java:1347) at org.eclipse.jface.window.Window.open(Window.java:798) at com.appcelerator.titanium.android.ui.preferences.AndroidSDKPreferencePage$4.widgetSelected(AndroidSDKPreferencePage.java:492) 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.jface.window.Window.runEventLoop(Window.java:826) at org.eclipse.jface.window.Window.open(Window.java:802) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215) at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:58) 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) 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 org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:200) at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.runCommand(CocoaUIHandler.java:716) at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler.access$6(CocoaUIHandler.java:704) at org.eclipse.e4.ui.workbench.renderers.swt.cocoa.CocoaUIHandler$8.widgetSelected(CocoaUIHandler.java:569) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.