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 178939

Summary: editor reports inheritable method as non-existent
Product: java Reporter: emiddio <emiddio>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: red flags inheritable method
2 projects zipped up

Description emiddio 2009-12-21 09:56:53 UTC
Created attachment 92824 [details]
red flags inheritable method

see jpeg;

order is an OrderRemote which extends EJBObject which inherits method
getPrimaryKey();
Comment 1 Peter Pis 2009-12-22 00:48:54 UTC
Couldn't it happen that you haven't compile sources (from picture attached it's obvious that you have Compile on Save disabled)

Have you imported the correct libraries and also please make sure of appropriate access modifiers.
Comment 2 emiddio 2009-12-22 01:50:12 UTC
code was compiled;

code is from Sun's j2ee 1.4 nb41 tutorial samples; i did not write;

the method red-flagged is visible as inheritable from the navigator.

i dont know about your correct libraries question?

the code compiles and runs fine.

i hope your question about access modifiers if partially answered by
knowing examples came from Sun's nb41/j2ee1.4 Tutorial dnload zip.

if needed i can zip up the 2 projects -- ejb, ejb-client
Comment 3 emiddio 2009-12-23 14:17:13 UTC
Created attachment 92895 [details]
2 projects zipped up
Comment 4 Peter Pis 2010-01-04 03:46:40 UTC
I've just tried with attached projects and it works for me on Mac. 

Reassigning.
Comment 5 Dusan Balek 2010-05-27 15:21:44 UTC

*** This bug has been marked as a duplicate of bug 186057 ***