tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng (JIRA)" <...@tuscany.apache.org>
Subject [jira] Resolved: (TUSCANY-2444) JAXWSJavaInterfaceProcessor NPE getting pavkage name
Date Wed, 02 Jul 2008 15:39:45 GMT

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

Raymond Feng resolved TUSCANY-2444.
-----------------------------------

    Resolution: Fixed

Fixed in both trunk and 1.3 branch (673421)

> JAXWSJavaInterfaceProcessor NPE getting pavkage name
> ----------------------------------------------------
>
>                 Key: TUSCANY-2444
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2444
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: Lou Amodeo
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-1.3
>
>
> The clazz.getPackage() is returning a null.  Whe I use clazz.getPackageName() the name
is being returned.   R668091
>               if ("".equals(wrapperBeanName)) {
>                     wrapperBeanName = clazz.getPackage().getName() + ".jaxws." + capitalize(method.getName());
>                 }
>  
> java.lang.NullPointerException
> 	at org.apache.tuscany.sca.interfacedef.java.jaxws.JAXWSJavaInterfaceProcessor.visitInterface(JAXWSJavaInterfaceProcessor.java:191)
> 	at org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceIntrospectorImpl.introspectInterface(JavaInterfaceIntrospectorImpl.java:122)
> 	at org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceFactoryImpl.createJavaInterface(JavaInterfaceFactoryImpl.java:55)
> 	at org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfaceProcessor.resolveJavaInterface(JavaInterfaceProcessor.java:159)
> 	at org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfaceProcessor.resolve(JavaInterfaceProcessor.java:179)
> 	at org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfaceProcessor.resolve(JavaInterfaceProcessor.java:50)
> 	at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:364)
> 	at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:170)
> 	at org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolveContracts(BaseAssemblyProcessor.java:405)
> 	at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:908)
> 	at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:90)
> 	at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:364)
> 	at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:170)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message