Community
Participate
Working Groups
Driver: WTP 2.0 M6 + adopter product When selecting Web Services -> Web service in a driver that has a Web services runtime that defined a <require-facet-version> for a facet version that does not exist, the following error is displayed even before the Web service wizard comes up: WAB0234E An internal error occurred. Details: NLS missing message: facetVersionNotDefined in: org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl java.lang.IllegalArgumentException: NLS missing message: facetVersionNotDefined in: org.eclipse.wst.common.project.facet.core.internal.FacetedProjectFrameworkImpl at org.eclipse.wst.common.project.facet.core.internal.util.Versionable.getVersion(Versionable.java:80) at org.eclipse.wst.common.project.facet.core.internal.ProjectFacet.getVersion(ProjectFacet.java:1) at org.eclipse.jst.ws.internal.consumption.ui.wsrt.ServiceRuntimeDescriptor.getRequiredFacetVersions(ServiceRuntimeDescriptor.java:84) at org.eclipse.jst.ws.internal.consumption.ui.wsrt.FacetMatchCache.getTemplatesForServiceRuntime(FacetMatchCache.java:438) at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getAllServiceProjectTypes(WebServiceRuntimeExtensionUtils2.java:132) at org.eclipse.jst.ws.internal.consumption.ui.preferences.ProjectTopologyDefaults.getServiceTypes(ProjectTopologyDefaults.java:24) at org.eclipse.jst.ws.internal.consumption.ui.preferences.PersistentProjectTopologyContext.load(PersistentProjectTopologyContext.java:35) at org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin.getProjectTopologyContext(WebServiceConsumptionUIPlugin.java:93) at org.eclipse.jst.ws.internal.consumption.ui.widgets.runtime.ClientRuntimeSelectionWidgetDefaultingCommand.defaultClientSideFromServiceSide(ClientRuntimeSelectionWidgetDefaultingCommand.java:1296) at org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand.defaultClientSide(ServerRuntimeSelectionWidgetDefaultingCommand.java:210) at org.eclipse.jst.ws.internal.creation.ui.widgets.runtime.ServerRuntimeSelectionWidgetDefaultingCommand.execute(ServerRuntimeSelectionWidgetDefaultingCommand.java:189) Note that the problem does not show up the second time the Web services wizard is invoked because FacetMatchCache is only called once. The Web services runtime extension code should be more fault tolerant rather than issueing an error.
When a Web services runtime is incorrectly defined, it also has the following symptom in the preference page: When opening the Web Services Project Topology preference page, there is an error message: The currently displayed page contains invalid values (no details). The controls on the page are blank afterwards.
Deferring to WTP 3.0.1.
Created attachment 105960 [details] Patch
Patch committed and released to WTP 3.0.1 as v200806262217.
Created attachment 105961 [details] Patch
Verified and closing.