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.
It has been agreed, as part of issue 35067, that it is desirable to get rid of all usages of ErrorManager in the whole NetBeans IDE. The fix has just been done for platform (issue 78877) and all the necessary infrastructure and how to[1] is there to allow such removal to happen in other clusters as well. This issue is created to track the removal of ErrorManager in modules placed in ideX cluster. [1] http://www.netbeans.org/download/dev/javadoc/org-openide-util/org/openide/util/doc-files/logging.html
I did my best to finish this task, but I'm not able to do it. I tried it 4 times in last 6 month. My 3 last attempts ended with issues 79580,81045 and 105421. This time I tried to remove ErrorManager usages with netbeans-jackpot.tar.gz. After several failures I finally run the IDE with -Xmx1024m and run Jackpot rule with no errors. Unfortunately definitely not all (in fact only few) references to ErrorManager was removed. Moreover the source is not compilable any more. I tried to run fix imports, but this tool is unfortunately interactive and I really don't want to go through several hundreds of import dialogs, with vision of partly fixed source, still containing ErrorManager references. IDE cluster contains 104 modules. Please provide reliable "how to" for batch processing,or file issues for modules owners to fix their code. Or reassign to smarter engineer.
Tomaši, Jan seems to be lost. Can you help him apply the tool you have successfully used to remove the EM dependencies for enterprise cluster?
Jardo, I'm sorry but I think I'm not able to give any special advice here - I just used that "special" build of NetBeans with my plugin (for fixing imports on package) and then I had to fix the rest by hand. I wouldn't agree that only few references were refactored but human work and control is necessary as well. I know that it's not ideal solution (I think that J2EE cluster has about 40 modules, it took me about one week?) but I'm pretty sure that using this was much better than doing it all by hand - at least for me. So reassigning back.
I'm not going to fix it.
I am sorry, but I don't know where to reassign it from ide component. Any suggestion?
Hřebejk explained that there are more important issue to solve for 6.0
Integrated into 'main-golden', will be available in build *200811181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/32e062192e0e User: Jan Lahoda <jlahoda@netbeans.org> Log: #78882: (partial) replacing some usages of o.o.ErrorManager with j.u.l.Logger. Automatic code transformation.
Overtake.
Integrated into 'main-golden', will be available in build *200903311400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/643b376cbe4a User: Rastislav Komara <moonko@netbeans.org> Log: #78882: Removed from ElementOpen class.
java.source finished: jet-main: #926254e8d817 @jtulach: I don't know where to reassign. Please reassign to following module.
Hint for next time: cd nbbuild/netbeans/ide11/ grep -r ErrorManager * and you will see. Next winner is "java.classpath"
Integrated into 'main-golden', will be available in build *200905190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/926254e8d817 User: Rastislav Komara <moonko@netbeans.org> Log: #78882: Replace usage of ErrorManager for logging in ide cluster
Integrated into 'main-golden', will be available in build *200905291401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7a4e58d55239 User: Jan Lahoda <jlahoda@netbeans.org> Log: #78882: (partial) eliminating most uses of o.o.ErrorManager in java.editor.
java.source jet-main 5f512ffee5e1
java.api.classpath fixed in jet-main 1627d2c7886c
java.platform + java.project jet-main 4be33cc6a39d
Bug prior to 7.0, not touched for the last 2 years --> P4.