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

NullPointerException when executing session.save()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.2.Final, 3.2.0.Final
    • 3.1.1.Final
    • JCR
    • None

      When executing session.save(), an NPE results:

      Caused by: javax.jcr.RepositoryException: java.lang.NullPointerException
      at org.modeshape.jcr.JcrSession.save(JcrSession.java:995) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]
      ... 121 more
      Caused by: java.lang.NullPointerException
      at org.modeshape.jcr.cache.document.WritableSessionCache.persistChanges(WritableSessionCache.java:1118) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]
      at org.modeshape.jcr.cache.document.WritableSessionCache.save(WritableSessionCache.java:517) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]
      at org.modeshape.jcr.JcrSession.save(JcrSession.java:978) [modeshape-jcr-3.1.1.Final.jar:3.1.1.Final]
      ... 122 more

              Unassigned Unassigned
              clementp_jira Clement Pang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: