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 15758 - "Cannot attach" exception when switching projects
Summary: "Cannot attach" exception when switching projects
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-21 12:18 UTC by Marek Grummich
Modified: 2008-12-23 09:38 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exceptions stack traces (8.17 KB, text/plain)
2001-09-27 13:01 UTC, Milan Kubec
Details
Exception (7.16 KB, text/plain)
2001-09-27 13:21 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2001-09-21 12:18:26 UTC
Build 200109210100
JDK 1.3.1
I have created several project (NewProject_I,NewProject_II,....). When I want to
switch from one to another sometimes happen:

- there is e.g "Opening project NewProject_I ..." in the status bar, but all
filesystems seem to be mounted. However, when I want to switch to another
project then Project Manager is empty. Workaroud: restart IDE.

- Explorer doesn't contain a project tab
Comment 1 Milan Kubec 2001-09-27 12:59:41 UTC
I have couple of exceptions which were thrown during switching
projects. I was switching between two projects with openned files,
with changed compilers. Exceptions are attached.
Comment 2 Milan Kubec 2001-09-27 13:01:53 UTC
Created attachment 2740 [details]
exceptions stack traces
Comment 3 Marek Grummich 2001-09-27 13:20:24 UTC
I am not sure if there is a correct place for an attached exception,
but it was happened during a switching of project.
Comment 4 Marek Grummich 2001-09-27 13:21:57 UTC
Created attachment 2742 [details]
Exception
Comment 5 _ ttran 2001-10-01 07:41:03 UTC
this issue has the same root cause as #15752 I believe, something on
the borderline between projects and window system
Comment 6 mslama 2001-10-01 09:00:23 UTC
Last exception here is the same as in #15752 but I think the reason is
different.
Comment 7 mslama 2001-10-01 12:16:21 UTC
The first described problem (opening project does not finish) is
reported as issue #15938. It was reproducible but day after it worked
fine. It seems it was solved as side effect of some other fix.
Comment 8 David Simonek 2001-10-01 17:39:03 UTC
Exception from M.Kubec "editor not found..." was solved separately in
issue 15962.

Reproductible case for "cannot attach" exc:
1) Start clean IDE
2) Switch to running workspace
3) Close execution window
4) Dock output window to the place where execution window was before
5) create new project, open new project
Exception is thrown
Comment 9 David Simonek 2001-10-02 14:23:32 UTC
Raising to P1 as this is considered beta stopper.

Fixed; exception "cannot attach in main trunk.
org.netbeans.core.windows.layers.ModeData 1.35 - 1.36
org.netbeans.core.windows.util.WindowUtils 1.24 - 1.25

Last exception (IO from InstanceDataObject) is in fact duplicate of 15703.
Comment 10 Jan Zajicek 2001-10-03 10:41:09 UTC
dev#20011003 - the exceptions were fixed, but there are another
problems when switching project - missing project tab, wrong
filesystems, that are considered as showstoppers and were filed
separately. So verifying this one.
Comment 11 Quality Engineering 2003-07-01 16:33:29 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.