Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.16.1
-
None
Description
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.
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