java.lang.NullPointerException

Appcelerator JIRA | Thomas Huelbert | 6 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

    1.import an existing ipad project (you can use ks-ipad from titanium_mobile on github) results: "update UI for index changes" java.lang.nullpointerexcpetion notes: this is somewhat intermittent. Natalie sees some ipad project importing, none of mine do. For both us, ks-ipad is a reliable point of failure. Marked as a blocker as it prevents importing ks-ipad. !ENTRY org.eclipse.ui 4 0 2011-03-28 14:30:46.080 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.core.internal.resources.ProjectDescription.hasNature(ProjectDescription.java:286) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:517) at org.eclipse.core.internal.propertytester.ResourcePropertyTester.test(ResourcePropertyTester.java:118) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:189) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74) at org.eclipse.ui.internal.WorkbenchWindow.liftRestrictions(WorkbenchWindow.java:3060) at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3112) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379) at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5031) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213) at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324) at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4863) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method) at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42) at org.eclipse.swt.widgets.Display.sleep(Display.java:4200) at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:862) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2641) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:129) 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:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) !SESSION 2011-03-28 14:31:01.510 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/thomashuelbert/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/thomashuelbert/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.net 1 0 2011-03-28 14:31:10.261 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

    Appcelerator JIRA | 6 years ago | Thomas Huelbert
    java.lang.NullPointerException
  2. 0

    1.import an existing ipad project (you can use ks-ipad from titanium_mobile on github) results: "update UI for index changes" java.lang.nullpointerexcpetion notes: this is somewhat intermittent. Natalie sees some ipad project importing, none of mine do. For both us, ks-ipad is a reliable point of failure. Marked as a blocker as it prevents importing ks-ipad. !ENTRY org.eclipse.ui 4 0 2011-03-28 14:30:46.080 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.core.internal.resources.ProjectDescription.hasNature(ProjectDescription.java:286) at org.eclipse.core.internal.resources.Project.hasNature(Project.java:517) at org.eclipse.core.internal.propertytester.ResourcePropertyTester.test(ResourcePropertyTester.java:118) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:189) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74) at org.eclipse.ui.internal.WorkbenchWindow.liftRestrictions(WorkbenchWindow.java:3060) at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3112) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379) at org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5031) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213) at org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324) at org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4863) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method) at org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42) at org.eclipse.swt.widgets.Display.sleep(Display.java:4200) at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364) at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:862) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2641) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:129) 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:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:620) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) at org.eclipse.equinox.launcher.Main.run(Main.java:1408) !SESSION 2011-03-28 14:31:01.510 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/thomashuelbert/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/thomashuelbert/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.net 1 0 2011-03-28 14:31:10.261 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences

    Appcelerator JIRA | 6 years ago | Thomas Huelbert
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.eclipse.core.internal.resources.ProjectDescription.hasNature()
    2. Core Resource Management
      ResourcePropertyTester.test
      1. org.eclipse.core.internal.resources.ProjectDescription.hasNature(ProjectDescription.java:286)
      2. org.eclipse.core.internal.resources.Project.hasNature(Project.java:517)
      3. org.eclipse.core.internal.propertytester.ResourcePropertyTester.test(ResourcePropertyTester.java:118)
      3 frames
    3. Expression Language
      WithExpression.evaluate
      1. org.eclipse.core.internal.expressions.Property.test(Property.java:58)
      2. org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
      3. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      4. org.eclipse.core.internal.expressions.AdaptExpression.evaluate(AdaptExpression.java:91)
      5. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      6. org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:189)
      7. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
      8. org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
      8 frames
    4. Workbench
      EvaluationResultCache.evaluate
      1. org.eclipse.ui.internal.services.EvaluationResultCache.evaluate(EvaluationResultCache.java:74)
      1 frame
    5. Eclipse UI
      WorkbenchWindow$28.shellActivated
      1. org.eclipse.ui.internal.WorkbenchWindow.liftRestrictions(WorkbenchWindow.java:3060)
      2. org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3112)
      2 frames
    6. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1379)
      7. org.eclipse.swt.widgets.Shell.windowDidBecomeKey(Shell.java:1892)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5031)
      8 frames
    7. org.eclipse.swt
      OS.objc_msgSendSuper
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
      1 frame
    8. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Widget.callSuper(Widget.java:213)
      2. org.eclipse.swt.widgets.Widget.becomeKeyWindow(Widget.java:324)
      3. org.eclipse.swt.widgets.Shell.becomeKeyWindow(Shell.java:478)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:4863)
      4 frames
    9. org.eclipse.swt
      NSRunLoop.runMode
      1. org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(Native Method)
      2. org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(NSRunLoop.java:42)
      2 frames
    10. RWT
      Display.sleep
      1. org.eclipse.swt.widgets.Display.sleep(Display.java:4200)
      1 frame
    11. Workbench
      WorkbenchAdvisor.eventLoopIdle
      1. org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
      1 frame
    12. com.appcelerator.titanium
      IDEWorkbenchAdvisor.eventLoopIdle
      1. com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:862)
      1 frame
    13. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2641)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      4 frames
    14. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    15. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      1 frame
    16. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    17. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:129)
      1 frame
    18. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    19. 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:369)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    20. 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
    21. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1408)
      3 frames