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 242177 - NoClassDefFoundError: timers/TimesCollectorPeer after module being turned off
Summary: NoClassDefFoundError: timers/TimesCollectorPeer after module being turned off
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 241744 242178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-21 05:46 UTC by MackSix
Modified: 2014-11-19 12:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207845


Attachments
stacktrace (2.79 KB, text/plain)
2014-02-21 05:46 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2014-02-21 05:46:51 UTC
Build: NetBeans IDE Dev (Build 201402190001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
MackSix: 1. Activated PHP and C++.
2. Changed Options->PHP->Code Analysis twice and clicked Apply Button each time.
3. Changed Optonis->Keymap layout form NetBeans to Eclipse, clicked Apply, changed back to NetBeans and clicked Apply again.
4. Restarted NetBeans.

This happened.




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/timers/TimesCollectorPeer
   at org.netbeans.modules.timers.Install$TimerHandler.publish(Install.java:116)
   at java.util.logging.Logger.log(Logger.java:610)
   at org.netbeans.api.project.ProjectManager.createProject(ProjectManager.java:376)
   at org.netbeans.api.project.ProjectManager.access$300(ProjectManager.java:86)
   at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:292)
   at org.netbeans.api.project.ProjectManager$2.run(ProjectManager.java:235)
Comment 1 MackSix 2014-02-21 05:46:52 UTC
Created attachment 145456 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-03-28 12:13:43 UTC
Some modules were turned off during startup sequence:

INFO [org.netbeans.core.startup.NbEvents]: Turning off modules:
	org.netbeans.modules.apisupport.kit [1.26 201402190001]
	org.netbeans.modules.apisupport.crudsample [1.18 201402190001]
	org.netbeans.modules.apisupport.installer [1.18 201402190001]
	org.netbeans.libs.nbi.engine [1.17 201402190001]
	org.netbeans.libs.nbi.ant [1.18 201402190001]
	org.netbeans.modules.apisupport.harness [1.38 201402190001]
	org.netbeans.modules.apisupport.feedreader/1 [1.29 201402190001]
	org.netbeans.modules.apisupport.osgidemo [1.18 201402190001]
	org.netbeans.modules.apisupport.paintapp [1.26 201402190001]
	org.netbeans.modules.apisupport.ant [2.66 201402190001]
	org.netbeans.modules.apisupport.refactoring [1.31 201402190001]
	org.netbeans.modules.apisupport.wizards [1.14 201402190001]
	org.netbeans.modules.apisupport.project/1 [1.70 201402190001]
	org.netbeans.modules.timers/1 [1.26 201402190001]
	org.netbeans.insane/1 [1.25.0.1 1 201402190001]

Reporter do you have any clue why that happened?
Comment 3 Jaroslav Tulach 2014-03-31 08:10:19 UTC
*** Bug 242178 has been marked as a duplicate of this bug. ***
Comment 4 MackSix 2014-03-31 13:25:30 UTC
(In reply to Jaroslav Tulach from comment #2)
> Some modules were turned off during startup sequence:
> 
> INFO [org.netbeans.core.startup.NbEvents]: Turning off modules:
> 	org.netbeans.modules.apisupport.kit [1.26 201402190001]
> 	org.netbeans.modules.apisupport.crudsample [1.18 201402190001]
> 	org.netbeans.modules.apisupport.installer [1.18 201402190001]
> 	org.netbeans.libs.nbi.engine [1.17 201402190001]
> 	org.netbeans.libs.nbi.ant [1.18 201402190001]
> 	org.netbeans.modules.apisupport.harness [1.38 201402190001]
> 	org.netbeans.modules.apisupport.feedreader/1 [1.29 201402190001]
> 	org.netbeans.modules.apisupport.osgidemo [1.18 201402190001]
> 	org.netbeans.modules.apisupport.paintapp [1.26 201402190001]
> 	org.netbeans.modules.apisupport.ant [2.66 201402190001]
> 	org.netbeans.modules.apisupport.refactoring [1.31 201402190001]
> 	org.netbeans.modules.apisupport.wizards [1.14 201402190001]
> 	org.netbeans.modules.apisupport.project/1 [1.70 201402190001]
> 	org.netbeans.modules.timers/1 [1.26 201402190001]
> 	org.netbeans.insane/1 [1.25.0.1 1 201402190001]
> 
> Reporter do you have any clue why that happened?

Feature on demand probably.
Comment 5 Jaroslav Tulach 2014-11-19 12:28:12 UTC
Well, "feature on demand" turns modules on, but here it is turned off!

Actually "feature on demand", can also turn some modules off, but only at the shutdown of the IDE and according to your logs, the modules were disabled on start. I would need a reproducible case to analyse the problem deeper, I am afraid.
Comment 6 Jaroslav Tulach 2014-11-19 12:31:03 UTC
*** Bug 241744 has been marked as a duplicate of this bug. ***