java.lang.NullPointerException

Appcelerator JIRA | Priya Agarwal | 3 years ago
  1. 0

    Getting NPE while creating new node acs project. Refer to attached screenshot and logs. {code} !ENTRY org.eclipse.ui 4 0 2014-05-19 15:03:29.825 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.core.runtime.Path.append(Path.java:261) at com.appcelerator.titanium.acs.internal.ui.wizards.NewNodeACSProjectWizard.openIndexFile(NewNodeACSProjectWizard.java:118) at com.aptana.projects.wizards.AbstractNewProjectWizard.createAndRefreshProject(AbstractNewProjectWizard.java:432) at com.aptana.projects.wizards.AbstractNewProjectWizard.performFinish(AbstractNewProjectWizard.java:356) 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) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) 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.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) 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: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: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 | Priya Agarwal
    java.lang.NullPointerException
  2. 0

    Getting NPE while creating new node acs project. Refer to attached screenshot and logs. {code} !ENTRY org.eclipse.ui 4 0 2014-05-19 15:03:29.825 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.core.runtime.Path.append(Path.java:261) at com.appcelerator.titanium.acs.internal.ui.wizards.NewNodeACSProjectWizard.openIndexFile(NewNodeACSProjectWizard.java:118) at com.aptana.projects.wizards.AbstractNewProjectWizard.createAndRefreshProject(AbstractNewProjectWizard.java:432) at com.aptana.projects.wizards.AbstractNewProjectWizard.performFinish(AbstractNewProjectWizard.java:356) 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) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) 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.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363) 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: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: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 | Priya Agarwal
    java.lang.NullPointerException
  3. 0

    C++ Eclipse Luna CDT - java.lang.NullPointerException

    Stack Overflow | 2 years ago
    org.eclipse.core.runtime.CoreException: Internal error building project Event_Creator configuration Default
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The below NPE is thrown when Studio tries to build Node.ACS project during its startup: java.lang.NullPointerException at org.eclipse.core.runtime.Path.append(Path.java:261) at com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.determineMainFileURI(ACSCompileParticipant.java:173) at com.appcelerator.titanium.acs.internal.core.ACSCompileParticipant.buildFile(ACSCompileParticipant.java:81) at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:603) at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:514) at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:486) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:332) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:167) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Appcelerator JIRA | 4 years ago | Praveen Innamuri
    java.lang.NullPointerException

    1 unregistered visitors
    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

      No message provided

      at org.eclipse.core.runtime.Path.append()
    2. Eclipse Core
      Path.append
      1. org.eclipse.core.runtime.Path.append(Path.java:261)
      1 frame
    3. com.appcelerator.titanium
      NewNodeACSProjectWizard.openIndexFile
      1. com.appcelerator.titanium.acs.internal.ui.wizards.NewNodeACSProjectWizard.openIndexFile(NewNodeACSProjectWizard.java:118)
      1 frame
    4. com.aptana.projects
      AbstractNewProjectWizard.performFinish
      1. com.aptana.projects.wizards.AbstractNewProjectWizard.createAndRefreshProject(AbstractNewProjectWizard.java:432)
      2. com.aptana.projects.wizards.AbstractNewProjectWizard.performFinish(AbstractNewProjectWizard.java:356)
      2 frames
    5. JFace
      Dialog$2.widgetSelected
      1. org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
      2. org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
      3. org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
      3 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
      5 frames
    7. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
      2. org.eclipse.jface.window.Window.open(Window.java:802)
      2 frames
    8. Common Navigator View
      WizardShortcutAction.run
      1. org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
      1 frame
    9. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      4 frames
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
      4 frames
    11. Eclipse Workbench SWT
      PartRenderingEngine$9.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      1 frame
    12. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    13. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      1 frame
    14. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
      1 frame
    15. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
      1 frame
    16. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      1 frame
    17. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      1 frame
    18. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    19. com.appcelerator.titanium
      IDEApplication.start
      1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      1 frame
    20. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    21. 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
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      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
    23. 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