TCK: PropertyReadMethodsTest#testGetValues fails if it cannot find a single 
valued STRING property
--------------------------------------------------------------------------------------------------

                 Key: JCR-492
                 URL: http://issues.apache.org/jira/browse/JCR-492
             Project: Jackrabbit
          Issue Type: Bug
          Components: test
         Environment: TCK from SVN revision 421925
            Reporter: Nicolas Pombourcq


If the JCR repository being tested does not contain any single valued property 
of type STRING, PropertyReadMethodsTest#testGetValues fails with the following 
exception:

java.lang.NullPointerException at 
org.apache.jackrabbit.test.api.PropertyReadMethodsTest.testGetValues(PropertyReadMethodsTest.java:273)
 at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:401)

The test should either try to find a single valued property of any type (it is 
guaranted that it will at least find jcr:primaryType) or should throw 
NotExecutableException if is does not find the property it needs.

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

        

Reply via email to