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

reasonVetoed is null, causing NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M6
    • None
    • None

    Description

      • java.lang.NullPointerException
      • Parameter/Field 'reasonVetoed' is required to be present (not null).
      • org.apache.isis.commons.internal.base._With#requiresNotEmpty(_With.java:239)
      • org.apache.isis.core.metamodel.consent.Veto#<init>(Veto.java:41)
      • org.apache.isis.core.metamodel.interactions.managed.ManagedMember#checkUsability(ManagedMember.java:184)
      • org.apache.isis.viewer.wicket.model.models.ScalarPropertyModel#whetherDisabled(ScalarPropertyModel.java:115)
      • org.apache.isis.viewer.wicket.model.models.ScalarModel#isEnabled(ScalarModel.java:251)
      • org.apache.isis.viewer.wicket.model.models.ScalarModel#canEnterEditMode(ScalarModel.java:246)
      • org.apache.isis.viewer.wicket.ui.components.scalars.ScalarPanelAbstract#buildGui(ScalarPanelAbstract.java:374)
      • org.apache.isis.viewer.wicket.ui.components.scalars.ScalarPanelAbstract#buildGuiAndCallHooks(ScalarPanelAbstract.java:268)
      • org.apache.isis.viewer.wicket.ui.components.scalars.ScalarPanelAbstract#onInitialize(ScalarPanelAbstract.java:260)
      • org.apache.wicket.Component#fireInitialize(Component.java:881)
      • org.apache.wicket.MarkupContainer$3#component(MarkupContainer.java:1050)
      • org.apache.wicket.MarkupContainer$3#component(MarkupContainer.java:1046)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:144)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:162)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:123)
      • org.apache.wicket.util.visit.Visits#visitChildren(Visits.java:192)
      • org.apache.wicket.MarkupContainer#visitChildren(MarkupContainer.java:982)
      • org.apache.wicket.MarkupContainer#internalInitialize(MarkupContainer.java:1045)
      • org.apache.wicket.MarkupContainer#addedComponent(MarkupContainer.java:1021)
      • org.apache.wicket.MarkupContainer#replace(MarkupContainer.java:860)
      • org.apache.wicket.MarkupContainer#addOrReplace(MarkupContainer.java:268)
      • org.apache.wicket.extensions.markup.html.tabs.TabbedPanel#setCurrentTab(TabbedPanel.java:438)
      • org.apache.wicket.extensions.markup.html.tabs.TabbedPanel#setSelectedTab(TabbedPanel.java:396)
      • org.apache.isis.viewer.wicket.ui.components.layout.bs3.tabs.TabGroupPanel#setSelectedTab(TabGroupPanel.java:103)
      • de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel$1#onClick(AjaxBootstrapTabbedPanel.java:43)
      • org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1#onEvent(AjaxFallbackLink.java:93)
      • org.apache.wicket.ajax.AjaxEventBehavior#respond(AjaxEventBehavior.java:127)
      • org.apache.wicket.ajax.AbstractDefaultAjaxBehavior#onRequest(AbstractDefaultAjaxBehavior.java:631)
      • org.apache.wicket.core.request.handler.ListenerRequestHandler#internalInvoke(ListenerRequestHandler.java:306)
      • org.apache.wicket.core.request.handler.ListenerRequestHandler#invoke(ListenerRequestHandler.java:280)
      • org.apache.wicket.core.request.handler.ListenerRequestHandler#invokeListener(ListenerRequestHandler.java:222)
      • org.apache.wicket.core.request.handler.ListenerRequestHandler#respond(ListenerRequestHandler.java:208)
      • org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor#respond(RequestCycle.java:907)
      • org.apache.wicket.request.RequestHandlerExecutor#execute(RequestHandlerExecutor.java:65)
      • org.apache.wicket.request.cycle.RequestCycle#execute(RequestCycle.java:293)
      • org.apache.wicket.request.cycle.RequestCycle#processRequest(RequestCycle.java:254)
      • org.apache.wicket.protocol.http.WicketFilter#processRequestCycle(WicketFilter.java:276)
      • org.apache.wicket.protocol.http.WicketFilter#processRequest(WicketFilter.java:207)
      • org.apache.wicket.protocol.http.WicketFilter#doFilter(WicketFilter.java:306)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.apache.isis.core.webapp.modules.logonlog.IsisLogOnExceptionFilter#doFilter(IsisLogOnExceptionFilter.java:60)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.apache.isis.extensions.secman.shiro.RunAuthenticatedFilter#doFilter(RunAuthenticatedFilter.java:62)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.apache.shiro.web.servlet.AbstractShiroFilter#executeChain(AbstractShiroFilter.java:450)
      • org.apache.shiro.web.servlet.AbstractShiroFilter$1#call(AbstractShiroFilter.java:365)
      • org.apache.shiro.subject.support.SubjectCallable#doCall(SubjectCallable.java:90)
      • org.apache.shiro.subject.support.SubjectCallable#call(SubjectCallable.java:83)
      • org.apache.shiro.subject.support.DelegatingSubject#execute(DelegatingSubject.java:387)
      • org.apache.shiro.web.servlet.AbstractShiroFilter#doFilterInternal(AbstractShiroFilter.java:362)
      • org.apache.shiro.web.servlet.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:125)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.springframework.web.filter.RequestContextFilter#doFilterInternal(RequestContextFilter.java:100)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:119)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.springframework.web.filter.FormContentFilter#doFilterInternal(FormContentFilter.java:93)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:119)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter#doFilterInternal(WebMvcMetricsFilter.java:93)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:119)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.springframework.web.filter.CharacterEncodingFilter#doFilterInternal(CharacterEncodingFilter.java:201)
      • org.springframework.web.filter.OncePerRequestFilter#doFilter(OncePerRequestFilter.java:119)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • com.microsoft.applicationinsights.web.internal.WebRequestTrackingFilter#doFilter(WebRequestTrackingFilter.java:142)
      • org.apache.catalina.core.ApplicationFilterChain#internalDoFilter(ApplicationFilterChain.java:189)
      • org.apache.catalina.core.ApplicationFilterChain#doFilter(ApplicationFilterChain.java:162)
      • org.apache.catalina.core.StandardWrapperValve#invoke(StandardWrapperValve.java:202)
      • org.apache.catalina.core.StandardContextValve#invoke(StandardContextValve.java:97)
      • org.apache.catalina.authenticator.AuthenticatorBase#invoke(AuthenticatorBase.java:542)
      • domainapp.webapp.AppManifest$1#invoke(AppManifest.java:315)
      • org.apache.catalina.core.StandardHostValve#invoke(StandardHostValve.java:143)
      • org.apache.catalina.valves.ErrorReportValve#invoke(ErrorReportValve.java:92)
      • org.apache.catalina.core.StandardEngineValve#invoke(StandardEngineValve.java:78)
      • org.apache.catalina.connector.CoyoteAdapter#service(CoyoteAdapter.java:357)
      • org.apache.coyote.http11.Http11Processor#service(Http11Processor.java:374)
      • org.apache.coyote.AbstractProcessorLight#process(AbstractProcessorLight.java:65)
      • org.apache.coyote.AbstractProtocol$ConnectionHandler#process(AbstractProtocol.java:893)
      • org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun(NioEndpoint.java:1707)
      • org.apache.tomcat.util.net.SocketProcessorBase#run(SocketProcessorBase.java:49)
      • java.util.concurrent.ThreadPoolExecutor#runWorker(null:-1)
      • java.util.concurrent.ThreadPoolExecutor$Worker#run(null:-1)
      • org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run(TaskThread.java:61)
      • java.lang.Thread#run(null:-1)

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              mwhesse Martin Hesse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: