Alain.Zhang created ISIS-295:
--------------------------------

             Summary: 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: Viewer: Wicket
    Affects Versions: isis-1.0.0
         Environment: IDE:eclipse OS:Win7 64bit
            Reporter: Alain.Zhang
            Assignee: Dan Haywood
            Priority: Minor


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 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

Reply via email to