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.
With the profiler installed, M4, creating a new Populated J2EE App, an NPE is thrown after the wizard completes, from the profiler (will attach stack trace later - it's on my other machine). Anyway, it is reproducible. I suspect it is making some sort of wrong assumptions about it being a freeform project (or possibly you're being passed null, but AFAIK it works fine when the profiler is not installed. Anyway, if you want to demo both the J2EE stuff in NetBeans and the Profiler, the result is quite embarrassing.
*** Issue 53712 has been marked as a duplicate of this issue. ***
Would be nice if we could produce a "hotfix" for Tim, in the same way we routinely do that for other users. I can imagine this demoeing nightmare quite well.
Fixed for M5. The EarProject returns null from project.getLookup (AuxiliaryConfiguration.class). The fix is in checking if the returned value is null. Will file an issue agains J2EE support, since the profiler needs this to recognize the J2EE project type - as it does for Freeform and J2SE projects.
Thanks, Ian. If somebody could get a fixed build of it into my hands quickly, I'd appreciate it - I've got more demoing to do, and it will make that go more smoothly.
Created attachment 19929 [details] Patch for M4 to fix this issue
To use the patch, replace the two profiler modules in modules/eager with their counterparts from the attached ZIP file.
Verification of old issues.
Closing old issues.