Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Implemented
-
viewer-wicket-1.0.0
-
None
-
IDE:eclipse OS:Win7 64bit
Description
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