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

Summary: Incorrect code in EjbJarProvider and AppClientProvider
Product: javaee Reporter: _ pcw <pcw>
Component: EJB ProjectAssignee: Martin Krauskopf <mkrauskopf>
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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):; ->;