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 32858 - StackOverflow: JavaDataObject.checkUpToDate
Summary: StackOverflow: JavaDataObject.checkUpToDate
Status: VERIFIED DUPLICATE of bug 32823
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-14 10:32 UTC by pzajac
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackOverflowError exception (78.83 KB, text/plain)
2003-04-14 10:33 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2003-04-14 10:32:24 UTC
JavaDataObject.checkUpToDate recursively calls
FileObject.refresh. I this case the fileObject
timestamp is changed in every time. That causes
sending  of events which invokes:
 JavaDataObject$PrimaryListener.fileChanged

There should be better to avoid invoking of
FileObject.refresh() recursively. 


User report:
Hello,

My configuration : NetBeans 3.4.1, Jdk 1.4.1_01,
Solaris 8 on SPARC machine.

Yesterday, I was editing some files mounted from a
remote server with NetBeans.
The server had been stopped for a long time (about
half an hour). During the
time the server was down, NetBeans was frozen (I
think it's normal since no
process was able to access the filesystem).

But, after the server restart, NetBeans continued
to be frozen, so I killed it
to stop it.

Il looked into ide.log and saw there was a
StackOverflowError (see the attached
file for the stack trace).

Maybe this is a bug that can be corrected ?
Comment 1 pzajac 2003-04-14 10:33:33 UTC
Created attachment 9901 [details]
StackOverflowError exception
Comment 2 Vitezslav Stejskal 2003-04-16 15:09:09 UTC

*** This issue has been marked as a duplicate of 32823 ***
Comment 3 pzajac 2003-04-17 12:34:14 UTC
verified duplicate