Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1035

Cannot save jcr2 session after Node.remove() calls

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.4.0.Final, 2.2.1.GA
    • 2.2.1.GA
    • JCR, Storage
    • None

    Description

      Calling Session.save() after nt:file Node.remove() causes NullPointerException. addNode() and remove() are called within the same session but not within the same save() call (unlike MODE-788). I'm attaching my jsp and the exception I'm seeing.

      Attachments

        1. index.jsp
          4 kB
        2. JBoss Web_2.1.10 - Error report.html
          6 kB
        3. MODE-1035-fix.patch
          10 kB
        4. modeshape-config.xml
          17 kB

        Activity

          People

            rhauch Randall Hauch (Inactive)
            akostadi1@redhat.com Aleksandar Kostadinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: