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 179920 - Random failures when enabling bundles
Summary: Random failures when enabling bundles
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 6.x
Hardware: Other Linux
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 07:17 UTC by Jaroslav Tulach
Modified: 2010-02-01 05:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Successful run (13.42 KB, text/plain)
2010-01-27 07:17 UTC, Jaroslav Tulach
Details
Failed run (16.84 KB, text/plain)
2010-01-27 07:19 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-01-27 07:17:58 UTC
Created attachment 93599 [details]
Successful run

Looks like that, depending on the order of started bundles, one can get an exception from the core.netigso system. I am attaching two logs from the successful and failed run of the same application.
Comment 1 Jaroslav Tulach 2010-01-27 07:19:57 UTC
Created attachment 93601 [details]
Failed run

The problem may be in calling getContainer().start before all bundles are registered (to load layer). Ideally all modules should be known to the core.netigso, before any resource access takes place.
Comment 2 Jaroslav Tulach 2010-02-01 05:26:17 UTC
Looks like the work done in bug 179470 also makes this behavior more robust (because of closer integration with lifecycle of ModuleSystem). 

At least I am not able to simulate the problem in recent ~fifty executions of the test.