Hi,

I'm a newbie to JBoss. I am trying to use JBoss implementation of JSR-88 and 
have not been able to get very far. I was able to get an instance of 
DeploymentManager after instantiating 
org.jboss.deployment.spi.factories.DeploymentFactoryImpl and passing it the URI 
"jboss-deployer:localhost:8080". But when I made the call 
deployMgr.getAvailableModules(ModuleType.EAR, deployMgr.getTargets()) on the 
deploymemt manager, I run into this exception:

java.lang.NullPointerException
        at java.util.Arrays$ArrayList.(Arrays.java:2342)
        at java.util.Arrays.asList(Arrays.java:2328)
        at 
org.jboss.deployment.spi.DeploymentManagerImpl.getAvailableModules(DeploymentManagerImpl.java:231)

Any ideas? Thanks for your help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871963#3871963

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871963


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to