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.
Summary: | Graphical diff visualizer throws BadLocationExceptions. | ||
---|---|---|---|
Product: | utilities | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Diff | Assignee: | Tomas Zezula <tzezula> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | mslama |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
One of those exceptions.
The first file. The second file. |
Description
Jiri Kovalsky
2003-02-12 15:17:52 UTC
Created attachment 8922 [details]
One of those exceptions.
Oops, version was not set correctly. I was not able to reproduce it. It works for me in dev build #200302180100 on Solaris and on Windows NT. Reopening since another user reported the same. I'm gonna attach the files that produce the exception. Development build #200302190100 of NetBeans 3.5. *** Issue 31211 has been marked as a duplicate of this issue. *** Created attachment 9031 [details]
The first file.
Created attachment 9032 [details]
The second file.
I can't reproduce it either. I'm using lozalized linux (which alread yleads to some Localizations troubles, but in this case...it's OK) Product Version = NetBeans IDE Dev (Build 200302170100) IDE Versioning = IDE/1 spec=3.38 impl=200302170100 Operating System = Linux version 2.4.18-19.7.x running on i386 Java; VM; Vendor = 1.4.1_01; Java HotSpot(TM) Client VM 1.4.1_01-b01; Sun Microsystems Inc. Java Home = /usr/java/jdk1.4.1/jre System Locale; Encod. = cs_CZ; ISO-8859-2 Home Dir; Current Dir = /home.local/delfajz; /home.local/delfajz/forte3/NBdev-last/netbeans/bin IDE Install; User Dir = /home.local/delfajz/NBdev-last; /home.local/delfajz/.netbeans/dev Please note that this issue is Q-build #200302260100 showstopper and must be fixed in its branch. I saw similar exception in Search dialog. I recommend to make sure you access displayable component (already in AWT hierarchy) ONLY from AWT thread. This seems like race condition. See issue #30518. Fixed Thanks Tomas, the changes were: Revision Changes 1.15 +1 -1 diff/src/org/netbeans/modules/diff/builtin/visualizer/DiffPanel.java Since this is a q-build stopper, I've merged it into QBE200302260100 branch: /cvs/diff/src/org/netbeans/modules/diff/builtin/visualizer/DiffPanel.java,v <-- DiffPanel.java new revision: 1.14.4.1; previous revision: 1.14 I can't verify this bug now 'cause no new build is available... I'll be back on MAR 10. Jiri, I took the latest available continues build form today: NetBeans IDE Dev (Build 20030228-0746) and I must say that I can't see any E. which might be good and I might verify this as fixed, but I haven't been ever able to reproduce it on my linux. So IMHO I won't verify this issue and left it for you;-) It's your turn, please:-) thanks Great, I have not seen any exception from Diff for a long time. Verified in NetBeans 3.5.1 build #200307092351. |