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: | NullPointerException at org.netbeans.modules.maven.j2ee.web.AdditionalWebProvider.apiEjbJar | ||
---|---|---|---|
Product: | javaee | Reporter: | fordfrog <fordfrog> |
Component: | Maven | Assignee: | Martin Janicek <mjanicek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 186053 |
Attachments: | stacktrace |
Description
fordfrog
2012-04-07 08:05:50 UTC
Created attachment 117967 [details]
stacktrace
I'm a bit surprised this is P3. Pretty much all refactoring is broken for maven projects. Unless someone has a work around this should be P1? Guys, does anyone have a reproducible scenario? I've tried to create Maven web project, create a new Java class inside of source packages and rename this class, but no exception occurs. What should I do to reproduce the issue? Or, could anyone attach problematic project? hmm....tried to reproduce using a simple project but works ok. Interestingly this happens to me despite using only j2se projects. Would that give you a clue? Why would this logic be executed for non-j2ee projects? Definitely! Thanks for pointing this out. The problem shows up when someone was trying to use refactoring in Maven OSGi bundle project type. I've fix it in revision web-main #0177bc71a936 Integrated into 'main-golden', will be available in build *201204110400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0177bc71a936 User: Martin Janicek <mjanicek@netbeans.org> Log: #210852 - NullPointerException at org.netbeans.modules.maven.j2ee.web.AdditionalWebProvider.apiEjbJar Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0177bc71a936 User: Martin Janicek <mjanicek@netbeans.org> Log: #210852 - NullPointerException at org.netbeans.modules.maven.j2ee.web.AdditionalWebProvider.apiEjbJar |