This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 209267 - Null pointer in bottom up Web services scenario
Summary: Null pointer in bottom up Web services scenario
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.ws (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Peter Moogk CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-08 16:06 EST by Peter Moogk CLA
Modified: 2009-02-11 22:03 EST (History)
0 users

See Also:


Attachments
Fix for this defect (1.75 KB, patch)
2007-11-08 16:14 EST, Peter Moogk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Moogk CLA 2007-11-08 16:06:28 EST
A change in the org.eclipse.wst.ws.internal.preferences.PersistentWSIContext class is causing the bottom up Web service scenario to null pointer.

java.lang.NullPointerException
      at org.eclipse.wst.ws.internal.preferences.PersistentWSIContext.getProjectWSICompliance(PersistentWSIContext.java:148)
      at org.eclipse.wst.ws.internal.preferences.PersistentWSIContext.getProjectPersistentProperty(PersistentWSIContext.java:136)
      at org.eclipse.wst.ws.internal.preferences.PersistentWSIContext.projectStopNonWSICompliances(PersistentWSIContext.java:108)
      at org.eclipse.wst.ws.internal.preferences.WSIComplianceUtils.getWSISeverity(WSIComplianceUtils.java:33)
      at org.eclipse.jst.ws.internal.axis.creation.ui.command.ValidateWSIComplianceCommand.execute(ValidateWSIComplianceCommand.java:57)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
      at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
      at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:154)
      at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:623)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      at org.eclipse.jface.window.Window.open(Window.java:801)
      at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
      at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3744)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3355)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225)
      at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1193)
Comment 1 Peter Moogk CLA 2007-11-08 16:14:34 EST
Created attachment 82494 [details]
Fix for this defect
Comment 2 Kathy Chan CLA 2007-11-09 11:05:10 EST
The fix was released to WTP 3.0 as v200711082024.
Comment 3 Kathy Chan CLA 2007-11-09 11:05:26 EST
Peter had verified this in WTP 3.0 build available on 11/08 evening (20071108223605).
Comment 4 Kathy Chan CLA 2009-02-11 22:03:43 EST
Closing defects in verify states.