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 216395 - AssertionError: Not Graphics2D
Summary: AssertionError: Not Graphics2D
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 216407 216429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-04 10:55 UTC by 452
Modified: 2012-09-05 12:28 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191279


Attachments
stacktrace (3.05 KB, text/plain)
2012-08-04 10:55 UTC, 452
Details
stacktrace (4.29 KB, text/plain)
2012-08-06 07:00 UTC, larsomat
Details
stacktrace (4.29 KB, text/plain)
2012-08-06 07:21 UTC, larsomat
Details
stacktrace (3.05 KB, text/plain)
2012-08-06 07:51 UTC, Jiri Skrivanek
Details
stacktrace (2.83 KB, text/plain)
2012-08-06 07:57 UTC, Vladimir Riha
Details
stacktrace (2.75 KB, text/plain)
2012-08-06 13:54 UTC, misterm
Details
stacktrace (2.75 KB, text/plain)
2012-08-06 14:00 UTC, misterm
Details
stacktrace (2.75 KB, text/plain)
2012-08-06 14:03 UTC, misterm
Details
stacktrace (4.29 KB, text/plain)
2012-08-06 15:48 UTC, Kenneth Ganfield
Details
stacktrace (4.29 KB, text/plain)
2012-08-06 17:00 UTC, Tomas Stupka
Details
stacktrace (2.83 KB, text/plain)
2012-08-07 14:42 UTC, Tomas Mysik
Details
stacktrace (4.29 KB, text/plain)
2012-08-09 10:48 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 452 2012-08-04 10:55:15 UTC
Build: NetBeans IDE Dev (Build 201208040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06
OS: Windows 7

User Comments:
452: close all tabs(source)




Stacktrace: 
java.lang.AssertionError: Not Graphics2D
   at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkFontRenderContext(DocumentViewOp.java:558)
   at org.netbeans.modules.editor.lib2.view.DocumentViewOp.checkViewsInited(DocumentViewOp.java:521)
   at org.netbeans.modules.editor.lib2.view.DocumentView.modelToViewNeedsLock(DocumentView.java:728)
   at org.netbeans.modules.editor.lib2.view.DocumentView.modelToViewChecked(DocumentView.java:716)
   at org.netbeans.modules.editor.lib2.view.EditorView.modelToView(EditorView.java:249)
   at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1509)
Comment 1 452 2012-08-04 10:55:17 UTC
Created attachment 122742 [details]
stacktrace
Comment 2 larsomat 2012-08-06 07:00:44 UTC
Created attachment 122763 [details]
stacktrace

closed file
Comment 3 larsomat 2012-08-06 07:21:45 UTC
Created attachment 122764 [details]
stacktrace

close file
Comment 4 Miloslav Metelka 2012-08-06 07:25:15 UTC
Apologies for the regression (result of issue #215785).
http://hg.netbeans.org/jet-main/rev/4b22f75a41d6
Comment 5 Miloslav Metelka 2012-08-06 07:28:58 UTC
*** Bug 216407 has been marked as a duplicate of this bug. ***
Comment 6 Jiri Skrivanek 2012-08-06 07:51:45 UTC
Created attachment 122767 [details]
stacktrace

Created client side project and html file. Then closed html file.
Comment 7 Vladimir Riha 2012-08-06 07:57:44 UTC
Created attachment 122769 [details]
stacktrace
Comment 8 Jiri Prox 2012-08-06 10:58:10 UTC
*** Bug 216429 has been marked as a duplicate of this bug. ***
Comment 9 misterm 2012-08-06 13:54:45 UTC
Created attachment 122793 [details]
stacktrace
Comment 10 misterm 2012-08-06 14:00:47 UTC
Created attachment 122795 [details]
stacktrace
Comment 11 misterm 2012-08-06 14:03:48 UTC
Created attachment 122796 [details]
stacktrace
Comment 12 Kenneth Ganfield 2012-08-06 15:48:45 UTC
Created attachment 122803 [details]
stacktrace

editing html file
Comment 13 Tomas Stupka 2012-08-06 17:00:45 UTC
Created attachment 122807 [details]
stacktrace

appears each time a file is closed in the editor
Comment 14 Quality Engineering 2012-08-07 02:30:12 UTC
Integrated into 'main-golden', will be available in build *201208070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4b22f75a41d6
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #216395 - AssertionError: Not Graphics2D.
Comment 15 Tomas Mysik 2012-08-07 14:42:46 UTC
Created attachment 122835 [details]
stacktrace

opened minimized JS file
Comment 16 Jan Becicka 2012-08-09 10:48:46 UTC
Created attachment 122914 [details]
stacktrace
Comment 17 Miloslav Metelka 2012-08-31 18:30:48 UTC
Needs to be fixed in release72 due to issue #215785 integration. In release72:
4b22f75a41d6 transplanted to 8484be04689d
Comment 18 Quality Engineering 2012-09-01 11:05:14 UTC
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/8484be04689d
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #216395 - AssertionError: Not Graphics2D.
(transplanted from 4b22f75a41d66be78eb04928058583b7d0ac1869)
Comment 19 Jiri Skrivanek 2012-09-05 12:28:41 UTC
I looked at changeset because I don't have exact steps to reproduce and it looks good.