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.

Bug 68384

Summary: Remove ugly conditions on String object in view model
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:

Description Martin Entlicher 2005-11-09 15:01:30 UTC
In TreeModelNode there are places where UnknownTypeException is catched, but not
reported if the object is an instance of String. This does not seem to have any
sense, since this can hide implementation deficiencies in the models.
Comment 1 Martin Entlicher 2013-01-10 16:38:59 UTC
Due to compatibility reasons, it's risky to report all UnknownTypeExceptions.
Instead, we report them into the log, via a logger with Level.CONFIG level. This should be sufficient to catch eventual errors.