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

Krishantha Samaraweera (JIRA) jira at wso2.org
Wed Jun 4 05:52:40 PDT 2008


     [ https://wso2.org/jira/browse/REGISTRY-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishantha Samaraweera closed REGISTRY-250.
-------------------------------------------

         Assignee: Krishantha Samaraweera  (was: Chathura Ekanayake)
    Fix Version/s: 1.1
       Resolution: Fixed

Issue is fixed by Chathura. Verification done. 

> 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: Krishantha Samaraweera
>             Fix For: 1.1
>
>
> 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