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 - Exception when using trying to override methods in 1.5 source
Summary: Exception when using trying to override methods in 1.5 source
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-03 13:42 UTC by lynggaard
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the log as requested in the dialog (11.42 KB, text/plain)
2004-07-03 13:43 UTC, lynggaard
Details
The class in working on (2.00 KB, text/plain)
2004-07-03 13:44 UTC, lynggaard
Details

Note You need to log in before you can comment on or make changes to this bug.
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.