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 68385 - Occasional NPE from tooltip evaluation
Summary: Occasional NPE from tooltip evaluation
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2005-11-09 15:05 UTC by Martin Entlicher
Modified: 2010-04-29 09:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The NPE (700 bytes, text/plain)
2005-11-09 15:06 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2005-11-09 15:05:32 UTC
Occasionally there can occur a NPE (attached) when evaluating a tooltip.
Comment 1 Martin Entlicher 2005-11-09 15:06:36 UTC
Created attachment 26769 [details]
The NPE
Comment 2 Martin Entlicher 2005-11-09 15:08:26 UTC
This is a race-condition problem. There is no synchronization on "expression"
field, which is accessed by multiple threads.
Comment 3 Martin Entlicher 2005-11-09 15:30:00 UTC
Fixed in trunk:

/cvs/debuggerjpda/ant/src/org/netbeans/modules/debugger/projects/ToolTipAnnotation.java,v
 <--  ToolTipAnnotation.java
new revision: 1.10; previous revision: 1.9
Comment 4 Quality Engineering 2010-04-29 09:27:22 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.