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 88388 - AIOOBE after trying to "Toggle Breakpoint"
Summary: AIOOBE after trying to "Toggle Breakpoint"
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-11-01 09:35 UTC by Martin Krauskopf
Modified: 2010-04-29 09:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
AIOOBE (787 bytes, text/plain)
2006-11-01 09:36 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2006-11-01 09:35:15 UTC
(today's fresh build, linux)

1) I've just opened
$NB_CVS/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/queries/SubprojectProviderImplTest.java
2) Pressed Ctrl-F8 on some line

Attached AIOOBE is always thrown so I can't use debugger at all.
Comment 1 Martin Krauskopf 2006-11-01 09:36:08 UTC
Created attachment 35690 [details]
AIOOBE
Comment 2 Martin Krauskopf 2006-11-01 09:55:38 UTC
Workaround:

1) cd $NBUSERDIR
2) find -iname "debugger" | xargs rm -rf
Comment 3 Martin Entlicher 2006-11-01 13:29:38 UTC
Exceptions were caused by breakpoints located in files which do not exist any more.

To Reproduce:
1) Create two simple Java projects.
2) Add several breakpoints to just one of them
3) Close NetBeans and delete the project with breakpoints
4) Start NetBeans and try to add breakpoints to the other project.
The attached exception is thrown and no breakpoints can be added any more.
Comment 4 Martin Entlicher 2006-11-01 13:35:12 UTC
The fix was fortunately very simple:

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/breakpoints/PersistenceManager.java,v
 <--  PersistenceManager.java
new revision: 1.7; previous revision: 1.6
Comment 5 Quality Engineering 2010-04-29 09:30:50 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.