isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Hesse <mwhe...@gmail.com>
Subject NPE on Debug logging in ScalarModelWithPending.java
Date Thu, 01 Feb 2018 03:23:09 GMT
Hi,

Don't know if this qualifies as Heisenbug [0], since debugging and debug
logging are not the same thing, but this NPE seems to only show when I
switch logging to DEBUG. Using 1.16.0. Didn't go further into it.

Caused by:
java.lang.NullPointerException
org.apache.isis.viewer.wicket.model.models.ScalarModelWithPending$Util$1#setObject(ScalarModelWithPending.java:75)

-- ScalarModelWithPending.java lines 74-76 --
if (LOG.isDebugEnabled()) {
   LOG.debug("setting to: " +
adapterMemento!=null?adapterMemento.toString():null);
}

Thanks and regards
Martin


[0] https://en.wikipedia.org/wiki/Heisenbug

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message