axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuwan Bandara (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4140) NPE from WSDL2Java when using complex jibx bindings
Date Thu, 22 Apr 2010 07:19:50 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nuwan Bandara updated AXIS2-4140:
---------------------------------

    Attachment: CodeGenerationUtility.patch

Hi,

I have added the null check to a patch file. plz verify and commit

Regards
/Nuwan

> NPE from WSDL2Java when using complex jibx bindings
> ---------------------------------------------------
>
>                 Key: AXIS2-4140
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4140
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.4.1
>         Environment: Runnig org.apache.axis2.wsdl.WSDL2Java
>            Reporter: Paul Mahoney
>         Attachments: CodeGenerationUtility.patch
>
>
> Duing to included binding, already include by another top-level binding file, I was gettng
a NPE in org.apache.axis2.jibx.CodeGenerationUtility
> The following diff show the fix:
> 1077,1081c1077,1079
> <                 BindingElement includeBinding = include.getBinding();
> <                 if (includeBinding != null) {
> <                     collectTopLevelComponents(include.getBinding(), defaultns,
> <                                               elementMap, complexTypeMap, simpleTypeMap,
bindingMap);
> <                 }
> ---
> >                 collectTopLevelComponents(include.getBinding(), defaultns,
> >                                           elementMap, complexTypeMap, simpleTypeMap,
bindingMap);
> > 

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message