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 86395 - Attempt to reload an autoload
Summary: Attempt to reload an autoload
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 208415
Blocks:
  Show dependency tree
 
Reported: 2006-10-03 17:20 UTC by Tim Lebedkov
Modified: 2012-02-16 16:17 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 Tim Lebedkov 2006-10-03 17:20:18 UTC
(Please add also "dev" version in IZ)

java.lang.IllegalArgumentException: Cannot disable autoload:
StandardModule:org.netbeans.libs.commons_logging jarFile:
/home/tim/projects/netbeans/trunk/nbbuild/netbeans/ide8/modules/org-netbeans-libs-commons_logging.jar
	at org.netbeans.ModuleManager.simulateDisable(ModuleManager.java:1210)
	at org.netbeans.core.startup.ModuleSystem.turnOffModule(ModuleSystem.java:380)
	at org.netbeans.core.startup.ModuleSystem.deployTestModule(ModuleSystem.java:311)
	at
org.netbeans.core.startup.TestModuleDeployer.deployTestModule(TestModuleDeployer.java:46)
	at org.netbeans.core.startup.CLITestModuleReload.cli(CLITestModuleReload.java:53)
	at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:211)
	at org.netbeans.CLIHandler$2.exec(CLIHandler.java:562)
	at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:391)
	at org.netbeans.MainImpl.finishInitialization(MainImpl.java:198)
	at org.netbeans.Main.finishInitialization(Main.java:71)
	at org.netbeans.core.startup.Main.start(Main.java:326)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:89)
[catch] at java.lang.Thread.run(Thread.java:595)
Comment 1 Jesse Glick 2006-10-03 17:24:12 UTC
Dev is 5.0u2 for apisupport.

The module system does not currently support reloading autoload (or eager)
modules. Make it a regular module temporarily during development or just restart
the target platform. The project type should disable the reload action for such
modules.
Comment 2 Jesse Glick 2008-06-19 22:17:56 UTC
Should be simple to fix: just disable Reload action if ${is.autoload} or ${is.eager}.
Comment 3 Jesse Glick 2008-06-20 02:08:49 UTC
I'll take it back...
Comment 4 Jesse Glick 2008-06-20 02:10:07 UTC
core-main #d2a1794829c9
Comment 5 Quality Engineering 2008-06-20 15:53:42 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #271 build
Changeset: http://hg.netbeans.org/main/rev/d2a1794829c9
User: Jesse Glick <jglick@netbeans.org>
Log: #86395: forbid reload of autoload and eager modules.
Comment 6 Tim Lebedkov 2008-08-27 14:46:37 UTC
ok