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 108081 - NPE from SyntaxHighlighting$HSImpl.findFontAndColors, ISE from DrawEngineLineView.getModel2ViewRect
Summary: NPE from SyntaxHighlighting$HSImpl.findFontAndColors, ISE from DrawEngineLine...
Status: RESOLVED DUPLICATE of bug 106337
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-06-25 22:02 UTC by Jesse Glick
Modified: 2007-11-05 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file excerpt (20.26 KB, text/plain)
2007-06-25 22:03 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-06-25 22:02:40 UTC
A few exceptions I noticed in 070625 after making a minor edit in a source file, may or may not be related.
Comment 1 Jesse Glick 2007-06-25 22:03:42 UTC
Created attachment 44374 [details]
Log file excerpt
Comment 2 Jesse Glick 2007-06-25 22:10:33 UTC
The ISE is thrown again and again and seems to mess up syntax highlighting.
Comment 3 Jesse Glick 2007-06-25 22:14:55 UTC
Makes editor rather unusable in this build, in fact.
Comment 4 Jesse Glick 2007-06-25 22:27:38 UTC
Hmm, does not seem to be reproducible in a fresh user dir.
Comment 5 Vitezslav Stejskal 2007-06-26 14:23:27 UTC
I'm not sure what was wrong. The NPE looks like if MimeLookup was broken for some reason (could not find
FontColorSettings, which is normally always present).
Comment 6 Jesse Glick 2007-06-26 17:14:40 UTC
Not sure. Seems to have stopped happening for no apparent reason.
Comment 7 Vitezslav Stejskal 2007-10-10 17:20:36 UTC
The code should not fail with NPE anymore, instead a warning is logged. Please reopen if it happens again. There are
likely to be no colors in the editor if it happens.

*** This issue has been marked as a duplicate of 106337 ***