Um, not sure. Another issue was also raised on this module, so I'll look at this one and that tomorrow.
The good news is that, since this is an isisaddon, if there is an issue it'll be quick (once fixed) to push out an update. Dan On 22 October 2014 15:50, <[email protected]> wrote: > Hi Dan, > > > > By taking out the devutils I got my app working. > > But when trying to modify the Regular-User Role I get: > > > > > > java.lang.NullPointerException > > > > > org.isisaddons.module.security.app.feature.ApplicationFeatureViewModel#viewModelClassFor(ApplicationFeatureViewModel.java:59) > > > org.isisaddons.module.security.app.feature.ApplicationFeatureViewModel#newViewModel(ApplicationFeatureViewModel.java:47) > > > > Am I missing something again? > > > > Grtz Johan > > > > > The app needs to run against Isis 1.7.0. > > Unfortunately (in implementing @ViewModel) I broke backward compatibility > in DomainObjectContainer: > > java.lang.NoSuchMethodError: org.apache.isis.applib.DomainObjectContainer. > newViewModelInstance(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; > > See the migration notes [2]; should be straightforward. > > HTH > Dan > > [2] http://isis.apache.org/core/release-notes/migrating-to-1.7.0.html > > > > > > On 22 October 2014 11:01, wrote: > > > Oops... > > > > now I get the following when using for instance 'me' or 'all users' or > any > > service: > > > > > > > > > > > > org.apache.wicket.WicketRuntimeException > > > > Error attaching this container for rendering: > > [WebMarkupContainer [Component id = body]] > > > > > > > org.apache.wicket.MarkupContainer#onBeforeRenderChildren(MarkupContainer.java:1696) > > > > > > org.apache.wicket.Component#onBeforeRender(Component.java:3863) > > > > > > org.apache.wicket.Component#internalBeforeRender(Component.java:935) > > > > > > org.apache.wicket.Component#beforeRender(Component.java:1003) > > > > > > > org.apache.wicket.MarkupContainer#onBeforeRenderChildren(MarkupContainer.java:1684) > > > > > > > > > > > > > > > > org.apache.isis.core.metamodel.exceptions.MetaModelException > > > > java.lang.NoSuchMethodError: > > > org.apache.isis.applib.DomainObjectContainer.newViewModelInstance(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object; > > > > > > > org.apache.isis.core.commons.lang.ThrowableExtensions#throwWithinIsisException(ThrowableExtensions.java:60) > > > > > > > org.apache.isis.core.metamodel.facets.actions.interaction.ActionInvocationFacetForInteractionAbstract#internalInvoke(ActionInvocationFacetForInteractionAbstract.java:376) > > > > > > > > etc > > > > > > > > Did I overlook something else? > > > > > > > > > > Compiled against Java 7; you are presumably using JDK6. > > > > Cheers > > Dan > > > > [1] > > > > > http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0 > > > > > > On 22 October 2014 10:12, wrote: > > > > > Hi, > > > > > > > > > > > > I am trying to incorpate the security add-on following Dan's video. > > > > > > I get this ERROR: > > > > > > > > > [EnvironmentLoader main ERROR] Shiro environment > > > initialization failed > > > > > > java.lang.UnsupportedClassVersionError: > > > org/isisaddons/module/security/shiro/IsisModuleSecurityRealm : > > Unsupported > > > major.minor version 51.0 > > > > > > > > > > > > What could be the problem? > > > > > > > > > > > > Greetz (from China), Johan > > > > > > > > > > > > > > > > > >
