Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-265

NullPointerException when storing new objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.0.0
    • Fix Version/s: core-1.0.0
    • Component/s: Core
    • Labels:

      Description

      After switching from 0.2.0 to trunk creating new objects resulted into a NPE with the following output to the screen:

      java.lang.NullPointerException
      at
      org.apache.isis.core.metamodel.adapter.version.ConcurrencyException.buildMessage(ConcurrencyException.java:36)
      at
      org.apache.isis.core.metamodel.adapter.version.ConcurrencyException.(ConcurrencyException.java:50)
      at
      org.apache.isis.runtimes.dflt.runtime.persistence.adapter.PojoAdapter.checkLock(PojoAdapter.java:337)
      at
      org.apache.isis.viewer.html.context.PersistentRootAdapterMapping.checkVersion(PersistentRootAdapterMapping.java:56)
      at
      org.apache.isis.viewer.html.context.Context.getMappedObject(Context.java:284)
      ....

      See also mailing list messages:
      1) http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201209.mbox/%3C20120904162634.498360cc2mehz2ca%40webmail.xup.nl%3E
      2) http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201209.mbox/%3C20120905105456.3062774yn2htlylc%40webmail.xup.nl%3E

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              misl Minto van der Sluis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: