0 Replies Latest reply on Feb 9, 2005 5:19 PM by Michael Neubauer

    NullPointerException during creation of debug configuration

    Michael Neubauer Newbie

      In the debug configuration dialog occures a dialog box:
      ?An error has occurred. See error log for more details? (Log file details at
      the bottom of this description). If I do not change the Name of the
      configuration the error occurs when I try to select it. The error immediately
      occurs, when I change the name of the configuration. I am using a gentoo box
      with amd64 and the standard emerged packages:

      blackdown-jdk-1.4.2.01
      Jboss-ide 1.4.1-e30
      eclipse-3.0.1-r2

      !ENTRY org.eclipse.core.runtime 4 2 Feb 08, 2005 23:26:49.608
      !MESSAGE Problems occurred when invoking code from plug-
      in: "org.eclipse.core.runtime".
      !STACK 0
      java.lang.NullPointerException
       at
      org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.updateServerConfigurati
      ons(HomeTab.java:328)
       at org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.access$1
      (HomeTab.java:311)
       at org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab$1.modifyText
      (HomeTab.java:138)
       at org.eclipse.swt.widgets.TypedListener.handleEvent
      (TypedListener.java:187)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:959)
       at org.eclipse.swt.widgets.Text.setText(Text.java:1563)
       at
      org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.updateHomedirFromConfig
      (HomeTab.java:286)
       at
      org.jboss.ide.eclipse.launcher.ui.configuration.HomeTab.initializeFrom
      (HomeTab.java:219)
       at
      org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom
      (AbstractLaunchConfigurationTabGroup.java:86)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupV
      iewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:540)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupV
      iewer$5.run(LaunchConfigurationTabGroupViewer.java:473)
       at org.eclipse.swt.custom.BusyIndicator.showWhile
      (BusyIndicator.java:69)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupV
      iewer.inputChanged(LaunchConfigurationTabGroupViewer.java:490)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupV
      iewer.setInput(LaunchConfigurationTabGroupViewer.java:454)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.h
      andleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:775)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$2
      .selectionChanged(LaunchConfigurationsDialog.java:585)
       at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
       at org.eclipse.core.internal.runtime.InternalPlatform.run
      (InternalPlatform.java:616)
       at org.eclipse.core.runtime.Platform.run(Platform.java:747)
       at org.eclipse.jface.viewers.Viewer.fireSelectionChanged
      (Viewer.java:157)
       at org.eclipse.jface.viewers.StructuredViewer.updateSelection
      (StructuredViewer.java:1394)
       at org.eclipse.jface.viewers.StructuredViewer.setSelection
      (StructuredViewer.java:1093)
       at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:356)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.laun
      chConfigurationRemoved(LaunchConfigurationView.java:284)
       at
      org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.run
      (LaunchManager.java:1484)
       at org.eclipse.core.internal.runtime.InternalPlatform.run
      (InternalPlatform.java:616)
       at org.eclipse.core.runtime.Platform.run(Platform.java:747)
       at
      org.eclipse.debug.internal.core.LaunchManager$ConfigurationNotifier.notify
      (LaunchManager.java:1505)
       at
      org.eclipse.debug.internal.core.LaunchManager.launchConfigurationDeleted
      (LaunchManager.java:736)
       at org.eclipse.debug.internal.core.LaunchConfiguration.delete
      (LaunchConfiguration.java:317)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.DeleteLaunchConfigurationAct
      ion.performAction(DeleteLaunchConfigurationAction.java:65)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationA
      ction$1.run(AbstractLaunchConfigurationAction.java:103)
       at org.eclipse.swt.custom.BusyIndicator.showWhile
      (BusyIndicator.java:69)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationA
      ction.run(AbstractLaunchConfigurationAction.java:106)
       at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent
      (BaseSelectionListenerAction.java:166)
       at
      org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
      (ActionContributionItem.java:915)
       at org.eclipse.jface.action.ActionContributionItem.access$500
      (ActionContributionItem.java:47)
       at org.eclipse.jface.action.ActionContributionItem$7.handleEvent
      (ActionContributionItem.java:785)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
       at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
       at org.eclipse.jface.window.Window.open(Window.java:648)
       at
      org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.o
      pen(LaunchConfigurationsDialog.java:419)
       at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:381)
       at org.eclipse.swt.custom.BusyIndicator.showWhile
      (BusyIndicator.java:69)
       at
      org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup
      (DebugUITools.java:385)
       at
      org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup
      (DebugUITools.java:327)
       at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run
      (OpenLaunchDialogAction.java:80)
       at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
       at
      org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
      (ActionContributionItem.java:915)
       at org.eclipse.jface.action.ActionContributionItem.access$500
      (ActionContributionItem.java:47)
       at org.eclipse.jface.action.ActionContributionItem$7.handleEvent
      (ActionContributionItem.java:785)
       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
       at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
      (Workbench.java:254)
       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
       at org.eclipse.ui.internal.ide.IDEApplication.run
      (IDEApplication.java:96)
       at org.eclipse.core.internal.runtime.PlatformActivator$1.run
      (PlatformActivator.java:335)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run
      (EclipseStarter.java:273)
       at org.eclipse.core.runtime.adaptor.EclipseStarter.run
      (EclipseStarter.java:129)
       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:324)
       at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
       at org.eclipse.core.launcher.Main.run(Main.java:704)
       at org.eclipse.core.launcher.Main.main(Main.java:688)