Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-265

NullPointerException when storing new objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.0.0
    • core-1.0.0
    • Core

    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

            danhaywood Daniel Keir Haywood
            misl Minto van der Sluis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: