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 29082 - Editor actions do not have project context
Summary: Editor actions do not have project context
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-28 10:09 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2002-11-28 10:09:35 UTC
[200211271836] [JDK 1.4.1]
I cannot invoke Import Management Tool.
Comment 1 Tomas Hurka 2002-11-29 08:28:13 UTC
IMT can be invoked from Explorer. Unfortunatelu there is no project
context if IMT is invoked from Editor context menu of from Mani menu
if the file is opened in editor.

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at
org.netbeans.modules.java.imptool.ImpToolExecutor.run(ImpToolExecutor.java:67)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:603)
Comment 2 Tomas Hurka 2002-11-29 15:01:30 UTC
Should be solved in projects module.
Comment 3 Dusan Balek 2002-12-03 10:06:29 UTC
Project context is lost whenever the
JavaEditor.JavaEditorComponent.selectElementsAtOffset(...) method is
called.
Comment 4 Dusan Balek 2002-12-03 10:07:49 UTC
Project context is lost whenever the
JavaEditor.JavaEditorComponent.selectElementsAtOffset(...) method is
called.
Comment 5 Tomas Hurka 2002-12-03 11:15:10 UTC
Dusan, you are right. 
Comment 6 Tomas Hurka 2002-12-06 09:35:28 UTC
Fixed in prj40_prototype branch. 
Comment 7 Jan Becicka 2003-02-18 13:59:24 UTC
VERIFIED
Comment 8 Jan Becicka 2003-11-25 14:23:42 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as CLOSED.