Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 62033 Details for
Bug 169672
WSDM Tooling: New Empty capablity could not be created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
A patch for the problem described
169672.patch (text/plain), 2.13 KB, created by
Andrew Eberbach
on 2007-03-26 17:49:28 EDT
(
hide
)
Description:
A patch for the problem described
Filename:
MIME Type:
Creator:
Andrew Eberbach
Created:
2007-03-26 17:49:28 EDT
Size:
2.13 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.wsdm.editor >Index: src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityCreationAction.java >=================================================================== >RCS file: /cvsroot/tptp/monitoring/org.eclipse.tptp.wsdm.editor/src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityCreationAction.java,v >retrieving revision 1.1 >diff -u -r1.1 NewCapabilityCreationAction.java >--- src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityCreationAction.java 23 Mar 2007 03:24:57 -0000 1.1 >+++ src/org/eclipse/tptp/wsdm/tooling/wizard/capability/internal/NewCapabilityCreationAction.java 26 Mar 2007 21:48:56 -0000 >@@ -202,7 +202,7 @@ > } > > JavaProperty[] importedJavaProperties = (JavaProperty[])_data.getParameter(CapabilityCreationConfigurationData.IMPORTED_JAVA_PROPERTIES_KEY); >- if(importedJavaProperties.length!=0) >+ if(importedJavaProperties != null && importedJavaProperties.length!=0) > { > XSDSchema xsdSchema = XsdUtils.getSchema(_xsdFile); > ImportJavaPropertyCommand command = new ImportJavaPropertyCommand(xsdSchema, importedJavaProperties, resourcePropertyElement); >@@ -240,7 +240,7 @@ > _wsdlCapDefinition.getDefinition().addPortType(portType); > > Operation[] importOperations = (Operation[])_data.getParameter(CapabilityCreationConfigurationData.IMPORTED_OPERATIONS_KEY); >- if(importOperations.length!=0) >+ if(importOperations != null && importOperations.length!=0) > { > URI importedWsdlURI = (URI) _data.getParameter(CapabilityCreationConfigurationData.IMPORTED_WSDL_URI_KEY); > Definition importedWsdlDefinition = (Definition) _data.getParameter(CapabilityCreationConfigurationData.IMPORTED_WSDL_DEF_KEY); >@@ -250,7 +250,7 @@ > } > > JavaOperation[] javaOperations = (JavaOperation[])_data.getParameter(CapabilityCreationConfigurationData.IMPORTED_JAVA_OPERATIONS_KEY); >- if(javaOperations.length!=0) >+ if(javaOperations != null && javaOperations.length!=0) > { > ImportJavaOperationCommand command = new ImportJavaOperationCommand(_wsdlCapDefinition, javaOperations); > command.execute();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169672
:
58238
|
61968
| 62033