Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2068

null value could be set into propertyDefinition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.5.3
    • None
    • jackrabbit-jcr-rmi
    • None
    • Windows XP, Tomcat 6.0, JRE6

    Description

      It is possible to set null value into propertyDefinition and NullPointer is thrown inside JackRabbit in EffectiveNodeType class, checkSetPropertyValueConstraintsmethod line 615. So it would be good to check those values for null, as null pointer inside framwork is not a good practice

      Attachments

        1. JackRabbitTest.java
          1 kB
          Sergey Sachkov
        2. test.xml
          1 kB
          Sergey Sachkov

        Activity

          People

            jukkaz Jukka Zitting
            kooper Sergey Sachkov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: