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

NullPointerException when view aggregated entity using Wicket viewer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • viewer-wicket-1.0.0
    • viewer-wicket-1.2.0
    • Viewer Wicket
    • 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

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            alainzhang Alain.Zhang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: