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 7892 - JARFileSystem.findResource doesn't work?
Summary: JARFileSystem.findResource doesn't work?
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Windows ME/2000
: P2 major (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-12 18:16 UTC by Tomas Pavek
Modified: 2008-12-23 11:12 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 Tomas Pavek 2000-10-12 18:16:47 UTC
In 2040 and later builds Netbeans it is impossible to install beans from JARs
because no beans are found in the JAR (method findResource(String) returns
null). Build 2039 works fine...
(To reproduce: e.g. remove TimerBean from component palette and timerbean.jar
from filesystems and try to install it back.)
Comment 1 Jesse Glick 2000-10-13 13:49:59 UTC
I think this may be because of JarFileSystem 1.29 change.

BTW Tomas--"2040" is not an official build number, this was confusing. Just say
"devel 40" or "NetBeans-dev-40" or similar.
Comment 2 Jesse Glick 2000-10-13 14:25:59 UTC
*** Bug 7885 has been marked as a duplicate of this bug. ***
Comment 3 rmatous 2000-10-13 15:23:59 UTC
There was synchronozational problem. JarFileSystem was not parsed yet and
findResource returned null.

Fix: ovewritten method findResource with waitFinished().

This fix solves bug 7885 too.
Comment 4 Marian Mirilovic 2002-10-21 13:10:19 UTC
verified
Comment 5 Quality Engineering 2003-07-01 16:11:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.