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 220304 - NullPointerException at org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponentUnderLock
Summary: NullPointerException at org.netbeans.modules.versioning.ui.diff.DiffSidebar.p...
Status: RESOLVED INCOMPLETE
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 15:38 UTC by dheffelfinger
Modified: 2015-12-25 02:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193673


Attachments
stacktrace (5.76 KB, text/plain)
2012-10-17 15:38 UTC, dheffelfinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dheffelfinger 2012-10-17 15:38:49 UTC
Build: NetBeans IDE Dev (Build 201210170002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponentUnderLock(DiffSidebar.java:712)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar.access$100(DiffSidebar.java:114)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar$3.run(DiffSidebar.java:643)
   at org.netbeans.modules.editor.lib2.view.DocumentView.runTransaction(DocumentView.java:226)
   at org.netbeans.editor.Utilities$3.run(Utilities.java:1267)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1332)
Comment 1 dheffelfinger 2012-10-17 15:38:51 UTC
Created attachment 126095 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-10-19 09:39:46 UTC
Can you reproduce? What kind of file were you opening when the exception was thrown (java, php, c++, any other)?
Comment 3 Ondrej Vrabec 2012-10-19 09:59:25 UTC
logging added: http://hg.netbeans.org/core-main/rev/17edde11384c
Comment 4 Quality Engineering 2012-10-25 10:52:30 UTC
Integrated into 'main-golden', will be available in build *201210250921* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/17edde11384c
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #220304 - NullPointerException at org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponentUnderLock
skipping paint for incompatible text components and logging added
Comment 5 Vitex 2015-12-08 10:24:29 UTC
Reopening this bug based on new exception report: http://statistics.netbeans.org/exceptions/exception.do?id=803822
Comment 6 Ondrej Vrabec 2015-12-23 17:12:37 UTC
adding more logging. Does that happen often?

fix: http://hg.netbeans.org/core-main/rev/01c9ebbde4f5
Comment 7 Quality Engineering 2015-12-25 02:20:56 UTC
Integrated into 'main-silver', will be available in build *201512250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/01c9ebbde4f5
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #220304 - NullPointerException at org.netbeans.modules.versioning.ui.diff.DiffSidebar.paintComponentUnderLock
Add logging.