This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Inside o.n.core/src/org/netbeans/core/NbURLDisplayer.java at line 213 there is this code: ((NbURLDisplayer) URLDisplayer.getDefault()).htmlViewer = null; In our RCP application, we had to implement our own URLDisplayer, then a user of ours reported a ClassCastException because of the aforementioned code. I think you should add a method like reset() to URLDisplayer instead of doing the cast.