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.
Summary: | NullPointerException at sun.font.FontDesignMetrics$MetricsKey.init | ||
---|---|---|---|
Product: | editor | Reporter: | mklaehn <mklaehn> |
Component: | -- Other -- | Assignee: | Milutin Kristofic <mkristofic> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | akochnev, athompson, kingpoop, mbien, mmetelka, pjiricka, sunbiz, tim_sa |
Priority: | P1 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 180744 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
mklaehn
2011-08-24 16:53:24 UTC
Created attachment 110188 [details]
stacktrace
I have the same problem with: Product Version: NetBeans IDE Dev (Build 201108290601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=180744 Created attachment 110492 [details]
stacktrace
opened a .groovy file
Created attachment 110493 [details]
stacktrace
groovy team, please have a look at this one. Created attachment 110679 [details]
stacktrace
NPE when opening a self written (OpenCL) editor in latest 7.1 devbuild. This did not happen on 7.01. Stacktrace does not contain module code.
Created attachment 110892 [details]
stacktrace
Opening a groovy file from the project threw this exception
Milo, this is coming from your code, any ideas? Created attachment 110957 [details]
stacktrace
Opening a groovy file.
It's a JDK issue http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6547087 We should check whether it implies that c.getFont() == null in this case. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a012e0f8c7db User: Milutin Kristofic <mkristofic@netbeans.org> Log: #201294 - NullPointerException at sun.font.FontDesignMetrics$MetricsKey.init It's already in releases71_beta: http://hg.netbeans.org/releases/rev/95082ea602f8 verified in beta |