You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2012/12/17 10:24:12 UTC

[jira] [Closed] (ISIS-265) NullPointerException when storing new objects

     [ https://issues.apache.org/jira/browse/ISIS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood closed ISIS-265.
----------------------------


prior to generating 1.0.0 release notes
                
> NullPointerException when storing new objects
> ---------------------------------------------
>
>                 Key: ISIS-265
>                 URL: https://issues.apache.org/jira/browse/ISIS-265
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: isis-1.0.0
>            Reporter: Minto van der Sluis
>            Assignee: Dan Haywood
>              Labels: patch
>             Fix For: isis-1.0.0
>
>         Attachments: 0004-Allow-new-objects-to-be-properly-stored.patch
>
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira