Bugs item #824187, was opened at 2003-10-15 17:32
Message generated for change (Settings changed) made by cgjung
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=824187&group_id=22866

Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Alexei Yudichev (sflexus)
>Assigned to: Dr. Christoph Georg Jung (cgjung)
Summary: NPE in UnifiedClassLoader.findResources()

Initial Comment:
I have an Axis client running in a context of a web app 
deployed in jboss (which if it really matters is actually a 
test of a WSR module deployed in the same ear). After 
jboss first starts, the service is invoked normally. But the 
second time axis client throws an exception (shown 
below).
Jboss 3.2.2RC3, RC4, client classes are generated from 
auto-generated WSDL using Axis' Wsdl2Java utility. 

java.lang.NullPointerException
        at org.jboss.mx.loading.UnifiedClassLoader.
findResources(UnifiedClassLoader.java:332)
        at java.lang.ClassLoader.getResources(ClassLoader.
java:825)
        at java.lang.ClassLoader.getResources(ClassLoader.
java:821)
        at java.lang.ClassLoader.getResources(ClassLoader.
java:821)
        at org.apache.commons.discovery.jdk.JDK12Hooks.
getResources(JDK12Hooks.java:150)
        at org.apache.commons.discovery.resource.
DiscoverResources$1.
getNextResources(DiscoverResources.java:153)
        at org.apache.commons.discovery.resource.
DiscoverResources$1.
getNextResource(DiscoverResources.java:129)
        at org.apache.commons.discovery.resource.
DiscoverResources$1.hasNext(DiscoverResources.java:
116)
        at org.apache.commons.discovery.resource.names.
DiscoverNamesInFile$1.
getNextClassNames(DiscoverNamesInFile.java:186)
        at org.apache.commons.discovery.resource.names.
DiscoverNamesInFile$1.
getNextClassName(DiscoverNamesInFile.java:170)
        at org.apache.commons.discovery.resource.names.
DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.
java:157)
        at org.apache.commons.discovery.resource.names.
NameDiscoverers$1.getNextIterator(NameDiscoverers.
java:143)
        at org.apache.commons.discovery.resource.names.
NameDiscoverers$1.hasNext(NameDiscoverers.java:126)
        at org.apache.commons.discovery.resource.classes.
ResourceClassDiscoverImpl$1.
getNextResource(ResourceClassDiscoverImpl.java:159)
        at org.apache.commons.discovery.resource.classes.
ResourceClassDiscoverImpl$1.
hasNext(ResourceClassDiscoverImpl.java:147)
        at org.apache.axis.configuration.
EngineConfigurationFactoryFinder$1.
run(EngineConfigurationFactoryFinder.java:159)
        at java.security.AccessController.doPrivileged(Native 
Method)
        at org.apache.axis.configuration.
EngineConfigurationFactoryFinder.
newFactory(EngineConfigurationFactoryFinder.java:152)
        at org.apache.axis.configuration.
EngineConfigurationFactoryFinder.
newFactory(EngineConfigurationFactoryFinder.java:199)
        at org.apache.axis.client.Service.
getEngineConfiguration(Service.java:801)
        at org.apache.axis.client.Service.
getAxisClient(Service.java:143)
        at org.apache.axis.client.Service.<init>(Service.
java:152)
        at com.tw.mms.httptest.ws.
DeliveryServiceLocalServiceLocator.
<init>(DeliveryServiceLocalServiceLocator.java:10)


----------------------------------------------------------------------

>Comment By: Dr. Christoph Georg Jung (cgjung)
Date: 2003-11-12 09:05

Message:
Logged In: YES 
user_id=175199

duplicate to Bug#829495 that has been fixed in 3.2.3RC1

CGJ


----------------------------------------------------------------------

Comment By: Alexei Yudichev (sflexus)
Date: 2003-11-12 08:29

Message:
Logged In: YES 
user_id=345880

I've made one. Attached is a simple ear with jar, war and wsr 
modules. wsr exposes ejbjar's Session Bean's method via 
SOAP.  jbosstest.b824187.client package contains Axis client 
stubs generated with Wsdl2Java. war contains a simple client 
in index.jsp. In case the test succeeds, just redeploy the ear 
and try again. In all my JBoss installations it throws NPE in 
UnifiedClassLoader.

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2003-11-09 20:15

Message:
Logged In: YES 
user_id=175228

Do you have a sample client which illustrates this behavior?

----------------------------------------------------------------------

Comment By: Alexei Yudichev (sflexus)
Date: 2003-10-23 16:24

Message:
Logged In: YES 
user_id=345880

It is also still there in 3.2.2 release.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=824187&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to