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 50716 - IOE thrown
Summary: IOE thrown
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 18:49 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack traces (21.96 KB, text/plain)
2004-10-21 18:49 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-10-21 18:49:01 UTC
041021 custom, JDK 1.5.0. Noticed an exception
while I was making minor edits in
AntProjectHelper.java - just surrounding a block
of code with a try-catch.
Comment 1 Jesse Glick 2004-10-21 18:49:42 UTC
Created attachment 18436 [details]
Stack traces
Comment 2 Martin Matula 2004-10-21 20:25:39 UTC
I fixed the IOE caused by a bug in javacore.

Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java,v
 <--  SemiPersistentElement.java
new revision: 1.52; previous revision: 1.51
done

However, while investigating the cause I found out that
ClassDependencyImpl does not do anything in a transaction, nor it
checks validity of accessed elements, which could be a big source of
IOEs. Dane, please fix it.
Comment 3 Daniel Prusa 2004-10-22 16:14:53 UTC
/cvs/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl.java,v
 
new revision: 1.47; previous revision: 1.46

/cvs/java/src/org/netbeans/modules/java/tools/JMIInheritanceSupport.java,v
 
new revision: 1.10; previous revision: 1.9