[
https://issues.apache.org/jira/browse/ISIS-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528275#comment-14528275
]
Stephan Wienczny commented on ISIS-295:
---------------------------------------
This still/again happens on apache isis 1.8.0. Could this be fixed by checking
oidStr for null in OidMarshaller.unmarshal?
> NullPointerException when view aggregated entity using Wicket viewer
> --------------------------------------------------------------------
>
> Key: ISIS-295
> URL: https://issues.apache.org/jira/browse/ISIS-295
> Project: Isis
> Issue Type: Bug
> Components: Core: Viewer: Wicket
> Affects Versions: viewer-wicket-1.0.0
> Environment: IDE:eclipse OS:Win7 64bit
> Reporter: Alain.Zhang
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: viewer-wicket-1.2.0
>
>
> I have tried the isis 1.0.0,and there is a problem with wicket viewer. The
> wicket viewer provide a view link for an aggregated entity,and I caught
> exception such as:
> Caused by: java.lang.NullPointerException
> at java.util.regex.Matcher.getTextLength(Unknown Source)
> at java.util.regex.Matcher.reset(Unknown Source)
> at java.util.regex.Matcher.<init>(Unknown Source)
> at java.util.regex.Pattern.matcher(Unknown Source)
> at
> org.apache.isis.core.metamodel.adapter.oid.OidMarshaller.unmarshal(OidMarshaller.java:125)
> at
> org.apache.isis.viewer.wicket.model.models.EntityModel.rootOidFrom(EntityModel.java:142)
> at
> org.apache.isis.viewer.wicket.model.models.EntityModel.<init>(EntityModel.java:124)
> at
> org.apache.isis.viewer.wicket.ui.pages.entity.EntityPage.<init>(EntityPage.java:49)
> ... 35 more
> I created a demo project on github for the problem,the repository located
> at:https://github.com/alainzhang/isis-demo.git
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)