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 172275

Summary: Random hint test failures
Product: editor Reporter: Erno Mononen <emononen>
Component: CSL (API & infrastructure)Assignee: David Strupl <dstrupl>
Status: RESOLVED INCOMPLETE    
Severity: blocker Keywords: RANDOM, TEST
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Erno Mononen 2009-09-15 12:05:19 UTC
Every 10th run or so dozens of ruby hints tests fail due to:

java.lang.RuntimeException: This is for testing purposes only!!!
	at org.netbeans.modules.csl.core.LanguageRegistry.addLanguages(LanguageRegistry.java:255)
	at org.netbeans.modules.csl.core.LanguageRegistry.access$300(LanguageRegistry.java:77)
	at org.netbeans.modules.csl.core.LanguageRegistry$CslCorePackageAccessorImpl.languageRegistryAddLanguages
(LanguageRegistry.java:817)
	at org.netbeans.modules.csl.api.test.CslTestBase.initializeRegistry(CslTestBase.java:283)
	at org.netbeans.modules.csl.api.test.CslTestBase.computeHints(CslTestBase.java:3734)
	at org.netbeans.modules.csl.api.test.CslTestBase.getHints(CslTestBase.java:3700)
	at org.netbeans.modules.csl.api.test.CslTestBase.applyHint(CslTestBase.java:3970)

See e.g. http://deadlock.netbeans.org/hudson/job/ruby-tests/183/testReport/org.netbeans.modules.ruby.hints/
ConvertBlockTypeTest/testFix2/
Comment 1 David Strupl 2010-09-24 06:07:32 UTC
Erno, is this still a problem? If so please reopen ... Thanks.