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 45860

Summary: Exception when using trying to override methods in 1.5 source
Product: java Reporter: lynggaard <lynggaard>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: the log as requested in the dialog
The class in working on

Description lynggaard 2004-07-03 13:42:54 UTC
Steps to rerpoduce:

1. Have a java project in netbeans
2. Create a class extending AbstractTableModel
3. Right click on class in "projects" tree, and
select Override methods"
4. Select the methods
getColumnClass,getColumnName,isCellEditable.
5. Click ok on the dialog

expected result:
Methods should be overirdden

actual result: 
Unexpected exception dialog
Comment 1 lynggaard 2004-07-03 13:43:34 UTC
Created attachment 16130 [details]
the log as requested in the dialog
Comment 2 lynggaard 2004-07-03 13:44:13 UTC
Created attachment 16131 [details]
The class in working on
Comment 3 psuk 2004-07-22 17:34:59 UTC
Action 'Override' doesn't work on 1.5 sources yet.

Anyway, user friendly warning in the Override methods dialog should be
shown, rather than Exception (in promoD).
Comment 4 Jan Becicka 2004-09-07 12:31:08 UTC
Dane - this one is probably fixed, right?
Comment 5 Daniel Prusa 2004-09-07 12:33:24 UTC
Yes, this should be fixed by the migration to JMI.