java.lang.NullPointerException

Appcelerator JIRA | Clayton Headley | 4 years ago
  1. 0

    After removing (but not deleting) an ACS Node project that has been published from the workspace, Titanium studio can not import the project. The import project wizard does not have an ACS project choice, and trying to promote the folder to a project throws the following error: {code} !ENTRY org.eclipse.ui 4 0 2012-11-08 08:50:55.974 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at com.aptana.ui.wizards.WizardFolderImportPage.validate(WizardFolderImportPage.java:387) at com.aptana.ui.wizards.WizardFolderImportPage$InputModifyListener.modifyText(WizardFolderImportPage.java:787) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2610) at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4531) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425) at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method) at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3446) at org.eclipse.swt.widgets.Text.setText(Text.java:1977) at com.aptana.ui.wizards.WizardFolderImportPage.setProjectName(WizardFolderImportPage.java:483) at com.aptana.ui.wizards.WizardFolderImportPage.createControl(WizardFolderImportPage.java:240) 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:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at com.aptana.projects.actions.PromoteToProjectHandler.execute(PromoteToProjectHandler.java:59) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code} This is not a regression. Steps to reproduce: 1. Create a new Node.ACS project. 2. Publish the project. 3. From the project Explorer remove the project from the workspace without removing the published app. 4. Try to import the project back into the workspace. Expected result: Import should give a warning that the published project exists and might be overwritten and allow the user to continue. Actual results: Import wizard does not recognized the project type. Creating from a folder causes NPE.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    java.lang.NullPointerException
  2. 0

    After removing (but not deleting) an ACS Node project that has been published from the workspace, Titanium studio can not import the project. The import project wizard does not have an ACS project choice, and trying to promote the folder to a project throws the following error: {code} !ENTRY org.eclipse.ui 4 0 2012-11-08 08:50:55.974 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at com.aptana.ui.wizards.WizardFolderImportPage.validate(WizardFolderImportPage.java:387) at com.aptana.ui.wizards.WizardFolderImportPage$InputModifyListener.modifyText(WizardFolderImportPage.java:787) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2610) at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4531) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425) at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972) at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method) at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3446) at org.eclipse.swt.widgets.Text.setText(Text.java:1977) at com.aptana.ui.wizards.WizardFolderImportPage.setProjectName(WizardFolderImportPage.java:483) at com.aptana.ui.wizards.WizardFolderImportPage.createControl(WizardFolderImportPage.java:240) 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:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at com.aptana.projects.actions.PromoteToProjectHandler.execute(PromoteToProjectHandler.java:59) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) {code} This is not a regression. Steps to reproduce: 1. Create a new Node.ACS project. 2. Publish the project. 3. From the project Explorer remove the project from the workspace without removing the published app. 4. Try to import the project back into the workspace. Expected result: Import should give a warning that the published project exists and might be overwritten and allow the user to continue. Actual results: Import wizard does not recognized the project type. Creating from a folder causes NPE.

    Appcelerator JIRA | 4 years ago | Clayton Headley
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 com.aptana.ui.wizards.WizardFolderImportPage.validate()
    2. com.aptana.ui
      WizardFolderImportPage$InputModifyListener.modifyText
      1. com.aptana.ui.wizards.WizardFolderImportPage.validate(WizardFolderImportPage.java:387)
      2. com.aptana.ui.wizards.WizardFolderImportPage$InputModifyListener.modifyText(WizardFolderImportPage.java:787)
      2 frames
    3. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
      6. org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2610)
      7. org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669)
      8. org.eclipse.swt.widgets.Control.windowProc(Control.java:4531)
      9. org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
      9 frames
    4. org.eclipse.swt
      OS.CallWindowProc
      1. org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
      2 frames
    5. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
      2. org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
      3. org.eclipse.swt.widgets.Text.windowProc(Text.java:2254)
      4. org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
      4 frames
    6. org.eclipse.swt
      OS.SetWindowText
      1. org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
      2. org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3446)
      2 frames
    7. RWT
      Text.setText
      1. org.eclipse.swt.widgets.Text.setText(Text.java:1977)
      1 frame
    8. com.aptana.ui
      WizardFolderImportPage.createControl
      1. com.aptana.ui.wizards.WizardFolderImportPage.setProjectName(WizardFolderImportPage.java:483)
      2. com.aptana.ui.wizards.WizardFolderImportPage.createControl(WizardFolderImportPage.java:240)
      2 frames
    9. JFace
      Window.open
      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:431)
      5. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
      6. org.eclipse.jface.window.Window.open(Window.java:790)
      6 frames
    10. com.aptana.projects
      PromoteToProjectHandler.execute
      1. com.aptana.projects.actions.PromoteToProjectHandler.execute(PromoteToProjectHandler.java:59)
      1 frame
    11. Workbench
      HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      1 frame
    12. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      2 frames
    13. Workbench
      CommandContributionItem$5.handleEvent
      1. org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      2. org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      3. org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      4. org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
      5. org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
      6. org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
      6 frames
    14. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
      4 frames
    15. Eclipse UI
      Workbench$7.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      4. org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      4 frames
    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:668)
      1 frame
    18. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      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:344)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      4 frames
    22. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    23. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      3 frames