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 82938 - Incorrect code in EjbJarProvider and AppClientProvider
Summary: Incorrect code in EjbJarProvider and AppClientProvider
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
Depends on:
Reported: 2006-08-17 21:33 UTC by _ pcw
Modified: 2006-08-28 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-08-17 21:33:49 UTC
This method from (j2ee/ejbjarproject) seems wrong.

    public void setUrl(String url) {
        throw new UnsupportedOperationException("Cannot customize URL of web

I can't think of a valid reason why an error message in this file is referring
to a web module (probably copy/paste error).  Should this be localized or not?
Comment 1 Martin Krauskopf 2006-08-25 13:55:42 UTC
> probably copy/paste error

Yup, the same for Application Client.

> Should this be localized or not

I think not. They are just supposed not to be called by the code -> no message
for the user.

Comment 2 Martin Krauskopf 2006-08-25 13:57:11 UTC
clientproject/; ->;
ejbjarproject/; ->;
Comment 3 Martin Krauskopf 2006-08-28 09:23:13 UTC
More was needed (prevents NPE when e.g. deleting project outside of IDE):; ->;