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 186057 - cntl space help when calling a method
Summary: cntl space help when calling a method
Status: RESOLVED DUPLICATE of bug 105927
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 178939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-12 22:20 UTC by emiddio
Modified: 2010-05-27 15:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zip of projects (34.71 KB, application/x-zip-compressed)
2010-05-14 20:12 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2010-05-12 22:20:20 UTC
i dont know if this is a bug or not -- but in the Cart and CartClient examples of the nb4_1 j2ee Tutorial -- in ejb section -- we have:

CartRemote shoppingCart;
public interface CartRemote extends EJBObject, CartRemoteBusiness {
}

shoppintCart.remove() is valid method -- but code completion does not show it
as an option.


it would be NICE if inheritable methods from interfaces implemented or extended showed up.
Comment 1 Dusan Balek 2010-05-14 19:30:55 UTC
It seems that a jar file containing 'javax.ejb.EJBObject' is missing on your project classpath. Add the jar file and everything should be OK
Comment 2 emiddio 2010-05-14 20:12:04 UTC
Created attachment 99025 [details]
zip of projects
Comment 3 emiddio 2010-05-14 20:13:03 UTC
the code builds and runs; but the inheritable method does not show
in the editor.
Comment 4 Dusan Balek 2010-05-17 09:27:22 UTC
Well, I've tried to open the attached projects - Cart opens fine and it's compilable, however opening CartClient results in unresolved reference problems. If I resolve missing reference to 'javaee.jar', everything is OK - shoppintCart.remove() is shown in code completion. Have you tried to run IDE with a clear userdir?
Comment 5 emiddio 2010-05-17 17:26:05 UTC
do you main a "new" .netbeans/6.9 directory ???

which  version of javaEE were you using for you javaee.jar ???
Comment 6 emiddio 2010-05-17 18:18:39 UTC
strangely today with fresh start of netbeans the "remove" method appears.

but -- i previously changed the javaEE version from gfv3b18 to gfv211;

i will now change to reference gfv3b18 to see what happens ...

the error -- re-appears after changing to reference appserv-rt.jar, and
javaee.jar in glassfish/lib of gfv3b18.


i did clean and build of both Cart, CartClient; also exited, restarted
netbeans.

using same .netbeans/6.9 userdir
Comment 7 Dusan Balek 2010-05-18 12:25:46 UTC
I see - the problem is that current j2se projects ignore class-path attribute in jar manifest.

*** This bug has been marked as a duplicate of bug 105927 ***
Comment 8 Dusan Balek 2010-05-27 15:21:44 UTC
*** Bug 178939 has been marked as a duplicate of this bug. ***