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.
The loader entries in layer.xml for j2ee.ddloaders (J2EE DD files) are fishy. Specifically, they declare multiple factories for each mimetype, which just seems wrong. They also declare duplicate action blocks in some, but not all of the loader entries. It seems this could be done more efficiently (and since multiple loader blocks do not declare actions at all, I suspect that the some or all of the duplicates are not even being used.) This needs to be cleaned up.
This probably needs to be fixed, but I had not had enough knowledge to do it myself. The j2ee dd DataLoader organization was too confusing for me, so I decided to play on safe note and duplicate the registration of each loader in each mimetype. Anyway, feel free to fix it suite your real needs.
This is Erno's area.
There is a lot of code that would need to be cleaned up in j2ee.ddloaders, o.n.m.* and elsewhere in the bad world, but what is the justification for making this issue a P2? I'm downgrading to P3, if the performance penalty does indeed warrant a P2, then I'd be interested in hearing more on that. Some of the actions are duplicated due to issues like #85570, if there is nowadays a better way of accomplishing the same I'd be glad to learn more about that.
Not planned for 7.0
Not planned for 6.8.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.