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 69839 - [50cat] Assertion error when trying to open a file from search result.
Summary: [50cat] Assertion error when trying to open a file from search result.
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 09:37 UTC by kalali
Modified: 2006-01-18 09:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of exact IDE state (164.74 KB, image/jpeg)
2005-12-04 09:41 UTC, kalali
Details
eror log file zipped in an archive (13.15 KB, application/x-compressed)
2005-12-04 09:41 UTC, kalali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalali 2005-12-04 09:37:13 UTC
[ BUILD # : 051119 ]
[ JDK VERSION : 1.5.0_04 ]

I have doa search for something that is usually in XML descriptors
IDE showed some files that contain my search result
i clicked on first 5 item , and they opened.
but 6th one raised an exception.
i attached ths screenshot and log file
Comment 1 kalali 2005-12-04 09:41:18 UTC
Created attachment 27535 [details]
screenshot of exact IDE state
Comment 2 kalali 2005-12-04 09:41:59 UTC
Created attachment 27536 [details]
eror log file zipped in an archive
Comment 3 Petr Nejedly 2005-12-05 14:07:05 UTC
It is a problem of .dbschema file node.
Its default action is filesystem action and filesystem action itself can't be
executed (it is a placeholder for real action implementation, but having a
filesystem action as default action is wrong anyway).
Comment 4 Andrei Badea 2005-12-06 12:45:53 UTC
Actually the dbschema node didn't have a preferred action and didn't override
getPreferredAction(), so DataNode.getPreferredAction() returned the first one.

Fixed.

Checking in DBschemaDataNode.java;
/cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/DBschemaDataNode.java,v
 <--  DBschemaDataNode.java
new revision: 1.4; previous revision: 1.3
done
Comment 5 kalali 2006-01-18 09:27:59 UTC
fixed in rc1 , so it is verified