Skip to content

Commit 7a5dc2c

Browse files
authored
Merge pull request #9228 from jglick/hprof-thread
NPE in profiler trying to display thread dump
2 parents 7e829a9 + 08ed6a0 commit 7a5dc2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

profiler/profiler.heapwalker/src/org/netbeans/modules/profiler/heapwalk/OverviewController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ private synchronized String getStackTrace() {
464464
// sw.append("&nbsp;&nbsp;<span style=\"color: #0033CC\">"); // NOI18N
465465
sb.append("&nbsp;&nbsp;<a name=").append(threadInstance.getInstanceId()).append("></a><b ").append(style).append(">"); // NOI18N
466466
// -------------------------------------------------------------------
467-
sb.append("\"").append(htmlize(threadName)).append("\"").append(daemon.booleanValue() ? " daemon" : "").append(" prio=").append(priority); // NOI18N
467+
sb.append("\"").append(htmlize(threadName)).append("\"").append(Boolean.TRUE.equals(daemon) ? " daemon" : "").append(" prio=").append(priority); // NOI18N
468468
if (threadId != null) {
469469
sb.append(" tid=").append(threadId); // NOI18N
470470
}

0 commit comments

Comments
 (0)