[Registry-dev] [jira] Created: (REGISTRY-250) NPE occurs with testAddResourceFromURL() test.

Krishantha Samaraweera (JIRA) jira at wso2.org
Tue Mar 18 02:08:44 PDT 2008


NPE occurs with testAddResourceFromURL() test.
----------------------------------------------

                 Key: REGISTRY-250
                 URL: https://wso2.org/jira/browse/REGISTRY-250
             Project: WSO2 Registry
          Issue Type: Bug
          Components: APP
    Affects Versions: SNAPSHOT
         Environment: Ubuntu 7.10, JDK 1.5.0_08, tomcat 6.0.14, Firefox/2.0.0.8
            Reporter: Krishantha Samaraweera
            Assignee: Chathura Ekanayake


NPE occurs with testAddResourceFromURL() test. pls uncomment the test from [1] and check.

[1] /registry/modules/core/src/test/java/org/wso2/registry/app/UserTest.java

java.lang.NullPointerException
	at org.wso2.registry.app.RemoteRegistry.importResource(RemoteRegistry.java:379)
	at org.wso2.registry.app.UserTest.testAddResourceFromURL(UserTest.java:436)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Registry-dev mailing list