|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MUSE-292) Wsdl2java fails when no wsdl:types element in wsdlWsdl2java fails when no wsdl:types element in wsdl
-------------------------------------------------- Key: MUSE-292 URL: https://issues.apache.org/jira/browse/MUSE-292 Project: Muse Issue Type: Bug Components: Tooling - Code Generation Affects Versions: 2.2.0 Environment: Linux hloeblich-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux Reporter: Hans Loeblich Assignee: Dan Jemiolo When running wsdl2java, was getting the following error message: SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception information below. An exception was caught: [ID = 'OneServicePerWSDL'] The resource inspector can only process WSDLs with one service element. Since this message wasn't much help, I tried stepping though muse code in a debugger, and I think I found the issue. In WsdUtils.java:802 Element types = XmlUtils.getElement(root, TYPES_QNAME); This line returns null when checking for the wsdl:types element that does not exist. This null value get passed to a method in the next line 803: Element[] schemas = XmlUtils.getElements(types, XsdUtils.SCHEMA_QNAME); Which tries to use the value, and gets a NullPointerException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
|
|
[jira] Commented: (MUSE-292) Wsdl2java fails when no wsdl:types element in wsdl[ https://issues.apache.org/jira/browse/MUSE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621069#action_12621069 ] Hans Loeblich commented on MUSE-292: ------------------------------------ Sorry, i pasted the wrong error, the actual error I was getting was this: SEVERE: [ID = 'FailedLoadingWSDL'] Got exception loading WSDL: . An exception was caught: [ID = 'FailedLoadingWSDL'] Got exception loading WSDL: . > Wsdl2java fails when no wsdl:types element in wsdl > -------------------------------------------------- > > Key: MUSE-292 > URL: https://issues.apache.org/jira/browse/MUSE-292 > Project: Muse > Issue Type: Bug > Components: Tooling - Code Generation > Affects Versions: 2.2.0 > Environment: Linux hloeblich-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux > Reporter: Hans Loeblich > Assignee: Dan Jemiolo > > When running wsdl2java, was getting the following error message: > SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception information below. > An exception was caught: [ID = 'OneServicePerWSDL'] The resource inspector can only process WSDLs with one service element. > Since this message wasn't much help, I tried stepping though muse code in a debugger, and I think I found the issue. > In WsdUtils.java:802 > Element types = XmlUtils.getElement(root, TYPES_QNAME); > This line returns null when checking for the wsdl:types element that does not exist. This null value get passed to a method in the next line 803: > Element[] schemas = XmlUtils.getElements(types, XsdUtils.SCHEMA_QNAME); > Which tries to use the value, and gets a NullPointerException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
|
|
[jira] Assigned: (MUSE-292) Wsdl2java fails when no wsdl:types element in wsdl[ https://issues.apache.org/jira/browse/MUSE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Twiner reassigned MUSE-292: --------------------------------- Assignee: Chris Twiner (was: Dan Jemiolo) > Wsdl2java fails when no wsdl:types element in wsdl > -------------------------------------------------- > > Key: MUSE-292 > URL: https://issues.apache.org/jira/browse/MUSE-292 > Project: Muse > Issue Type: Bug > Components: Tooling - Code Generation > Affects Versions: 2.2.0 > Environment: Linux hloeblich-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux > Reporter: Hans Loeblich > Assignee: Chris Twiner > > When running wsdl2java, was getting the following error message: > SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception information below. > An exception was caught: [ID = 'OneServicePerWSDL'] The resource inspector can only process WSDLs with one service element. > Since this message wasn't much help, I tried stepping though muse code in a debugger, and I think I found the issue. > In WsdUtils.java:802 > Element types = XmlUtils.getElement(root, TYPES_QNAME); > This line returns null when checking for the wsdl:types element that does not exist. This null value get passed to a method in the next line 803: > Element[] schemas = XmlUtils.getElements(types, XsdUtils.SCHEMA_QNAME); > Which tries to use the value, and gets a NullPointerException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
|
|
[jira] Resolved: (MUSE-292) Wsdl2java fails when no wsdl:types element in wsdl[ https://issues.apache.org/jira/browse/MUSE-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Twiner resolved MUSE-292. ------------------------------- Resolution: Fixed in head > Wsdl2java fails when no wsdl:types element in wsdl > -------------------------------------------------- > > Key: MUSE-292 > URL: https://issues.apache.org/jira/browse/MUSE-292 > Project: Muse > Issue Type: Bug > Components: Tooling - Code Generation > Affects Versions: 2.2.0 > Environment: Linux hloeblich-laptop 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux > Reporter: Hans Loeblich > Assignee: Chris Twiner > Fix For: 2.2.1 > > > When running wsdl2java, was getting the following error message: > SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception information below. > An exception was caught: [ID = 'OneServicePerWSDL'] The resource inspector can only process WSDLs with one service element. > Since this message wasn't much help, I tried stepping though muse code in a debugger, and I think I found the issue. > In WsdUtils.java:802 > Element types = XmlUtils.getElement(root, TYPES_QNAME); > This line returns null when checking for the wsdl:types element that does not exist. This null value get passed to a method in the next line 803: > Element[] schemas = XmlUtils.getElements(types, XsdUtils.SCHEMA_QNAME); > Which tries to use the value, and gets a NullPointerException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: muse-dev-unsubscribe@... For additional commands, e-mail: muse-dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |