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.

Bug 151900 - New Action Wizard should not suggest META-INF/services as package
Summary: New Action Wizard should not suggest META-INF/services as package
Status: RESOLVED DUPLICATE of bug 82559
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 20:22 UTC by tomwheeler
Modified: 2008-10-30 21:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomwheeler 2008-10-30 20:22:56 UTC
A colleague noticed a bug in which used the wizard to create a new Action in a platform application, but could not click
the "Finish" button on the final screen.  He later found the issue to be that the package suggested by the wizard was
not a standard package at all, but rather the META-INF/services directory.

Here is at least one way to reproduce the problem, discovered in NB 6.5 RC2:

1.  In any platform application, right-click a module project node for a module which already contains a
META-INF/services registration.
2.  Select New -> Other 
3.  Select the Module Development category, choose Action and then click the Next > button
4.  Choose Always Enabled as the action type and then click the Next > button
5.  Accept the default settings on the GUI registration screen and then click the Next > button
6.  Type a valid name in the "Display Name" textfield

At this point, you should see an error message stating "Package is blank or malformed."  This is because the default
package selected is the META-INF/services directory, expressed as a package.

The best/easiest solution is to exclude META-INF and its subdirectories from the list of packages.
Comment 1 Jesse Glick 2008-10-30 21:53:26 UTC

*** This issue has been marked as a duplicate of 82559 ***