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 217867 - NullPointerException at java.awt.Rectangle.<init>
Summary: NullPointerException at java.awt.Rectangle.<init>
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 217963 218081 218126 218246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-05 08:56 UTC by Ralph Ruijs
Modified: 2012-09-17 17:17 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192126


Attachments
stacktrace (1.49 KB, text/plain)
2012-09-05 08:56 UTC, Ralph Ruijs
Details
stacktrace (1.48 KB, text/plain)
2012-09-07 21:50 UTC, Chiana
Details
stacktrace (1.48 KB, text/plain)
2012-09-08 07:23 UTC, Chiana
Details
stacktrace (1.48 KB, text/plain)
2012-09-09 14:26 UTC, Exceptions Reporter
Details
stacktrace (4.80 KB, text/plain)
2012-09-09 14:59 UTC, Exceptions Reporter
Details
stacktrace (1.45 KB, text/plain)
2012-09-10 14:23 UTC, misterm
Details
stacktrace (1.45 KB, text/plain)
2012-09-10 14:26 UTC, misterm
Details
stacktrace (1.48 KB, text/plain)
2012-09-10 20:11 UTC, Chiana
Details
stacktrace (1.48 KB, text/plain)
2012-09-11 15:59 UTC, Jesse Glick
Details
stacktrace (1.49 KB, text/plain)
2012-09-12 06:35 UTC, Milos Kleint
Details
stacktrace (1.49 KB, text/plain)
2012-09-17 13:53 UTC, Milos Kleint
Details
stacktrace (1.48 KB, text/plain)
2012-09-17 17:17 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2012-09-05 08:56:33 UTC
Build: NetBeans IDE Dev (Build 20120905-76f670aac223)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03-424, Java(TM) SE Runtime Environment, 1.6.0_33-b03-424-11M3720
OS: Mac OS X

User Comments:
ralphbenjamin: Opened diff viewer




Stacktrace: 
java.lang.NullPointerException
   at java.awt.Rectangle.<init>(Rectangle.java:179)
   at org.netbeans.editor.BaseCaret.update(BaseCaret.java:761)
   at org.netbeans.editor.BaseCaret$4.run(BaseCaret.java:725)
   at org.netbeans.editor.Utilities.runInEventDispatchThread(Utilities.java:1045)
   at org.netbeans.editor.BaseCaret.dispatchUpdate(BaseCaret.java:716)
   at org.netbeans.editor.BaseCaret$9.run(BaseCaret.java:2160)
Comment 1 Ralph Ruijs 2012-09-05 08:56:36 UTC
Created attachment 123930 [details]
stacktrace
Comment 2 Chiana 2012-09-07 21:50:00 UTC
Created attachment 124044 [details]
stacktrace

Had just restarted the IDE due to debugger going haywire and creating non-existing breakpoints just about everywhere, started up the IDE, started the application in debug mode and then switched back to IDE in order to set a breakpoint in a JFrame object, this occured when switching code-tab to said object.
Comment 3 Chiana 2012-09-08 07:23:00 UTC
Created attachment 124049 [details]
stacktrace

Reloaded IDE after last exception (think it was #215217) and went to same file to start over (did not save changes) and this occured when design opened.
Comment 4 Exceptions Reporter 2012-09-08 07:23:05 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=192126
Comment 5 Exceptions Reporter 2012-09-09 14:26:01 UTC
Created attachment 124061 [details]
stacktrace
Comment 6 Exceptions Reporter 2012-09-09 14:59:01 UTC
Created attachment 124062 [details]
stacktrace
Comment 7 Milutin Kristofic 2012-09-10 09:25:44 UTC
*** Bug 217963 has been marked as a duplicate of this bug. ***
Comment 8 misterm 2012-09-10 14:23:15 UTC
Created attachment 124113 [details]
stacktrace
Comment 9 misterm 2012-09-10 14:26:13 UTC
Created attachment 124114 [details]
stacktrace
Comment 10 Milutin Kristofic 2012-09-10 15:47:04 UTC
Caused by issue #213190
Comment 11 Chiana 2012-09-10 20:11:14 UTC
Created attachment 124123 [details]
stacktrace

Just started up IDE, hadn't done anything yet.
Comment 12 Milutin Kristofic 2012-09-11 09:15:03 UTC
*** Bug 218081 has been marked as a duplicate of this bug. ***
Comment 13 Svata Dedic 2012-09-11 09:15:42 UTC
Will be fixed by http://hg.netbeans.org/jet-main/rev/bf7a7f85ae29
Comment 14 Milutin Kristofic 2012-09-11 11:46:43 UTC
*** Bug 218126 has been marked as a duplicate of this bug. ***
Comment 15 Jesse Glick 2012-09-11 15:59:12 UTC
Created attachment 124176 [details]
stacktrace

Selecting some text in an HTML file in the Diff window. (But thrown earlier under different conditions.)
Comment 16 Quality Engineering 2012-09-12 02:09:37 UTC
Integrated into 'main-golden', will be available in build *201209120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bf7a7f85ae29
User: Svata Dedic <sdedic@netbeans.org>
Log: #217867: special update after folding change only happens if the caret was already set up
Comment 17 Milos Kleint 2012-09-12 06:35:12 UTC
Created attachment 124192 [details]
stacktrace

opened a mercurial diff editor window
Comment 18 Milutin Kristofic 2012-09-13 11:22:58 UTC
*** Bug 218246 has been marked as a duplicate of this bug. ***
Comment 19 Milos Kleint 2012-09-17 13:53:15 UTC
Created attachment 124457 [details]
stacktrace

versioning diff
Comment 20 Jesse Glick 2012-09-17 17:17:16 UTC
Created attachment 124471 [details]
stacktrace