[
https://issues.apache.org/jira/browse/CXF-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp reassigned CXF-2108:
--------------------------------
Assignee: Daniel Kulp
> idl2wsdl NullPointerException at typedef with sequence of (named) fixed array
> -----------------------------------------------------------------------------
>
> Key: CXF-2108
> URL: https://issues.apache.org/jira/browse/CXF-2108
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.1.4
> Reporter: Brad L. Ragsdale
> Assignee: Daniel Kulp
> Priority: Minor
> Attachments: idl2wsdlbug.idl
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> The idl2wsdl-tool throws a NullPointerException at
> org.apache.cxf.tools.corba.processors.idl.SimpleTypeSpecVisitor.visit(SimpleTypeSpecVisitor.java:75)
>
> when trying to convert following valid CORBA idl to wsdl:
> -- Begin IDL
> module idl2wsdlnullpointer {
> typedef string foo[1];
> typedef sequence<foo> bar;
> };
> -- END IDL
> Line 75 in the relevant source file contains: visitor.visit(node);
> The exception occurs because the visitor is still null after all three
> visitors failed to accept above node.
> I doublechecked fuse-services-framework-2.1.3.3. Same issue.
> Workaround
> -----------------
> The following workaround does break neither client nor server code and allows
> the idl2wsdl-tool to fully generate a wsdl definition.
> -- Begin IDL Workaround
> module idl2wsdlnullpointer {
> typedef sequence<string> foo;
> typedef sequence<foo> bar;
> };
> -- END IDL
>
> This workaround does not change generated Java ORB server-skeletons. It does
> however change e.g. generated Python client-stubs, thereby maybe affecting
> ORB/IIOP performance negatively (probably only marginally).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.