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: | [60cat] Incorect error badges (yet another one! ) | ||
---|---|---|---|
Product: | editor | Reporter: | _ theanuradha <theanuradha> |
Component: | -- Other -- | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 121950 | ||
Attachments: |
Project
Binary patch. Binary patch II. output After step 5 See step 5 details |
Description
_ theanuradha
2007-11-01 09:41:36 UTC
Note : please use view java package as tree option Created attachment 52223 [details]
Project
correction : '5.close project and reopen will show error badges on package and src nodes' should be '5.Close IDE and Open will show error badges on package and src nodes' From the report, it seems that the in-memory cache is broken. I tried to make it more robust - could you please try the attached patch? Place it into ${netbeans_install}/java1/modules/patches/org-netbeans-modules-java-source (${netbeans_install}/java1/modules should already exist, patches/org-netbeans-modules.java-source need to be created) and restart the IDE, and reproduce the problem. Thanks. correction: this happens view java package as both tree and List Created attachment 52225 [details]
Binary patch.
I try apply patch but don't help Created attachment 52226 [details]
Binary patch II.
Ok, thanks. I have attached a new patch - this one does not try to fix the problem, but rather adds a few debug output that might help to localize the problem. Could you please try to reproduce with this patch (the instructions to apply the patch are the same as for the previous patch). The IDE should print lines like: ErrorAnnotator: invalidating: [file:/tmp/Debug/src/org/netcat/NetCatInterfaseImpl.java, file:/tmp/Debug/src/, file:/tmp/Debug/src/org/, file:/tmp/Debug/src/org/netcat/, file:/tmp/Debug/] Could you please reproduce the problem and attach the output? Thanks. Sorry I have apply patch II but don't help.But src_ |-org |-netcat(this level also show error badge along with NetCatInterfaseImpl.java and Main.java ) |-Main.java |-NetCatInterfase.java |-NetCatInterfaseImpl.java sorry I miss you last comment I do what you ask Oops, in my first comment, the directory: ${netbeans_install}/java1/modules/patches/org-netbeans-modules-java-source is correct, but the second occurrence: patches/org-netbeans-modules.java-source is incorrect - it should of course be: patches/org-netbeans-modules-java-source Sorry. I didn't get any output massages other than normal ones to IDE log Its ok I'll try again so it should be like ${netbeans_install}/java1/modules/patches/org-netbeans-modules-java-source/120765.jar Right? Please double check that you have the patch in directory: patches/org-netbeans-modules-java-source not: patches/org-netbeans-modules.java-source as I accidentally wrote in the first comment (sorry again for this mistake). The IDE should print a note during startup that it uses the patch, like: INFO [org.netbeans.core.startup.NbEvents]: Module patch or custom extension: <nb-install-dir>/java1/modules/patches/org-netbeans-modules-java-source/120765.jar Created attachment 52233 [details]
output
Created attachment 52234 [details]
After step 5 See step 5 details
Thanks. I am able to reproduce now. Should be fixed now, please verify. Thanks for reproducible case: Checking in TaskCache.java; /cvs/java/source/src/org/netbeans/modules/java/source/tasklist/TaskCache.java,v <-- TaskCache.java new revision: 1.12; previous revision: 1.11 done VERIFIED Wow, this is simply cool! Thank you guys :-) |