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 7234 - JAR FS arn't mounted in NEW PROJECT !!!They are "invalid.jar"
Summary: JAR FS arn't mounted in NEW PROJECT !!!They are "invalid.jar"
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P1 critical (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on: 4324
Blocks:
  Show dependency tree
 
Reported: 2000-08-02 11:55 UTC by dmladek
Modified: 2008-12-23 11:23 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.log (17.80 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2000-08-02 11:55:47 UTC
all last builds, eg.
[stable30-5, NB1-11, 1066CE...]
jdk1.3.0(beta-b07) (I'm not sure if it happens with others jdk like 1.2.x
==========================================================================
I dont' have any better specification when it happens, but that is.Sorry...
It happens with fresh build (without copying projects from older builds) after
some work in them  and after some restarts (and maybe some crashes of IDE).

Then I get the java.lang.ClassNotFoundException:
org.netbeans.examples.lib.timerbean.Timer

see forte.log in attachment,pls.
Comment 1 dmladek 2000-08-02 11:58:59 UTC
Created attachment 70 [details]
IDE.log
Comment 2 Jaroslav Tulach 2000-08-03 14:08:59 UTC
Because form editor is adding the timerbean.jar into classpath, I would like to
know what Trung thinks about it.
Comment 3 dmladek 2000-08-07 13:06:59 UTC
[107xCE]
==========
What do you mean by "what Trung thinks about it." ?
The problem which appeared in mentioned build, NOW, dismiss.
FYI there were fresh builds (without any updated project). and it happenned
after a few of work with this build.
Comment 4 _ ttran 2000-08-09 14:59:59 UTC
dmladek, did you create a new project?
Comment 5 dmladek 2000-08-10 10:08:59 UTC
No, I didn't. Last builds seem they are OK. I haven't been able to reproduce it
on last builds [1074,1075CE]
Comment 6 dmladek 2000-10-05 20:04:59 UTC
[1116CE]
jdk1.3.0-
linux
========
Today it happend 4 times !!!

How to reproduce (maybe):
---------------------------
boolean ClassNotFoundException;
int restartIDE = (new Double(Math.random()*10).intValue())%4+2;
do {
	install(1116CE);
	importProjects(1115CE);
	for(int j=0;j<restartIDE;j++){
		do(work);
		doRestart(IDE);
		ClassNotFoundException = (new java.oi.File
					("TimerBean")).exists();
	}
} while(ClassNotFoundException);


I gess you will lost TimerBean !!!

see you
Comment 7 dmladek 2000-10-10 14:33:59 UTC
[1118CE]
jdk1.3.0-
linux
================

Now, I know how to reproduce for 100% !!!
------------------------------------------
1.run a fresh build.
1.5.  open Project setings and unpack Node with FS to watch them.
      this is optional.
2.create New project
3.for folowing 2 questions answer: OLD, SAVE
4.The Timer Bean isn't anymore mounted in new Project. Likely you see
  invalid.jar
5.Restart IDE

The ClassNotFoundException will be thrown.

I'm not sure if it belong to Editor or Projects so, please, decide yourself
to whom assigned this bug.
Thank you
Comment 8 dmladek 2000-10-10 15:45:59 UTC
*** This bug has been marked as a duplicate of 4324 ***
Comment 9 dmladek 2000-10-13 13:26:59 UTC
How to reproduce
=================

1. mount any jar file as a FS
2. Create New Project
2a.Answer: OLD, to answer:
 "Whould you like to start with a NEW set of FS or keep the old ones?"
2b.Answer: YES (or NO) doesn't matter
 "Save current project"
3.In new project all keeped FS are mounted again except jar FS !!!
They are "invalid.jar"

That's the problem.
Comment 10 dmladek 2000-10-16 17:37:59 UTC
Because FileSystems are part of OpenIde I set the Product to OpenIde. I hope
that is right. I've got an approval of BTT team to change bug priority to P1.
Comment 11 Pavel Buzek 2000-11-23 15:43:59 UTC
*** This bug has been marked as a duplicate of 7286 ***
Comment 12 Pavel Buzek 2000-11-23 18:23:59 UTC
*** Bug 7302 has been marked as a duplicate of this bug. ***
Comment 13 dmladek 2001-02-06 19:51:59 UTC
Marked as Verified
Comment 14 Quality Engineering 2003-07-01 16:15:48 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.