You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2018/02/23 14:52:00 UTC
[jira] [Created] (ISIS-1873) Resilience: if hideXxx, disableXxx or
validateXxx method throws NPE, then assume veto and log a WARNing.
Dan Haywood created ISIS-1873:
---------------------------------
Summary: Resilience: if hideXxx, disableXxx or validateXxx method throws NPE, then assume veto and log a WARNing.
Key: ISIS-1873
URL: https://issues.apache.org/jira/browse/ISIS-1873
Project: Isis
Issue Type: Improvement
Affects Versions: 1.16.1
Reporter: Dan Haywood
Fix For: 2.0.0-M1
Currently the framework doesn't degrade gracefully.
For example, had a coding error in a hideXxx() method.
This resulted in the error page, rather than simply hide the relevant member.
{code:java}
org.eclipse.jetty.util.thread.QueuedThreadPool#runJob(QueuedThreadPool.java:672)
org.eclipse.jetty.util.thread.QueuedThreadPool$2#run(QueuedThreadPool.java:590)
java.lang.Thread#run(Thread.java:745)
Caused by:
java.lang.NullPointerException
org.isisaddons.module.command.dom.CommandJdo#hideReplayStateFailureReason(CommandJdo.java:386)
sun.reflect.NativeMethodAccessorImpl#invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl#invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl#invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method#invoke(Method.java:498)
org.apache.isis.core.commons.lang.MethodExtensions#invoke(MethodExtensions.java:53)
org.apache.isis.core.metamodel.adapter.ObjectAdapter$InvokeUtils#invoke(ObjectAdapter.java:38{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)