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 225300 - Test ModifyUndoTestCase.testRemoveThenUndo191307 fails since Jan 22, 2013 on Ubuntu
Summary: Test ModifyUndoTestCase.testRemoveThenUndo191307 fails since Jan 22, 2013 on ...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-01-24 17:19 UTC by Alexander Simon
Modified: 2013-01-26 03:03 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 Alexander Simon 2013-01-24 17:19:43 UTC
Failed

org.netbeans.modules.cnd.modelimpl.csm.core.ModifyUndoTestCase.testRemoveThenUndo191307 (from org.netbeans.modules.cnd.modelimpl.csm.core.DocumentModificationTest)
Failing for the past 11 builds (Since Unstable#7209 )
Took 22 sec.
Error Message

unexpected exception java.lang.Exception: WARNING: can not switch buffer due to empty NativeFileItemSet for being edited PARSED FileImpl @1024133038:1130997003 /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/fileForModification.cc prj:1288869824KeyBasedUID on ProjectKey /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/N/ NOT_BEING_PARSED

Stacktrace

junit.framework.AssertionFailedError: unexpected exception java.lang.Exception: WARNING: can not switch buffer due to empty NativeFileItemSet for being edited PARSED FileImpl @1024133038:1130997003 /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/fileForModification.cc prj:1288869824KeyBasedUID on ProjectKey /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/N/ NOT_BEING_PARSED
	at junit.framework.Assert.fail(Assert.java:50)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.netbeans.modules.cnd.modelimpl.test.ProjectBasedTestCase.tearDown(ProjectBasedTestCase.java:218)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModifyDocumentTestCaseBase.tearDown(ModifyDocumentTestCaseBase.java:104)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:471)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:288)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
Comment 1 Vladimir Voskresensky 2013-01-25 13:14:06 UTC
I will split tests
Comment 2 Vladimir Voskresensky 2013-01-25 13:30:50 UTC
warning itself is from stack
java.lang.Exception: WARNING: can not switch buffer due to empty NativeFileItemSet for being edited PARSED FileImpl @1024133038:367584679 /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/fileForModification.cc prj:1832731181KeyBasedUID on ProjectKey /home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-modelimpl/o.n.m.c.m.c.c.M/rtu/project/N/ NOT_BEING_PARSED
	at org.netbeans.modules.cnd.utils.CndUtils.assertTrueInConsole(CndUtils.java:205)
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$ModifiedObjectsChangeListener.editStart(ModelSupport.java:530)
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$ModifiedObjectsChangeListener.stateChanged(ModelSupport.java:620)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:133)
	at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:119)
	at org.openide.loaders.DataObject$ModifiedRegistry.add(DataObject.java:1320)
	at org.openide.loaders.DataObject$ModifiedRegistry.add(DataObject.java:1291)
	at java.util.Collections$SynchronizedCollection.add(Collections.java:1577)
	at org.openide.loaders.DataObject.setModified(DataObject.java:498)
	at org.openide.text.DataEditorSupport$Env.markModified(DataEditorSupport.java:957)
	at org.openide.text.CloneableEditorSupport.notifyModified(CloneableEditorSupport.java:2073)
	at org.netbeans.modules.cnd.source.CppEditorSupport.notifyModified(CppEditorSupport.java:143)
	at org.openide.text.CloneableEditorSupport.callNotifyModified(CloneableEditorSupport.java:2043)
	at org.openide.text.CloneableEditorSupport$Listener.vetoableChange(CloneableEditorSupport.java:2950)
	at org.netbeans.editor.BaseDocument.atomicLockImpl(BaseDocument.java:1706)
	at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:924)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ModifyDocumentTestCaseBase$1.run(ModifyDocumentTestCaseBase.java:148)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)
	at java.awt.EventQueue.access$000(EventQueue.java:84)
	at java.awt.EventQueue$1.run(EventQueue.java:607)
	at java.awt.EventQueue$1.run(EventQueue.java:605)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 3 Vladimir Voskresensky 2013-01-25 13:31:13 UTC
let's see if fails repeats:
http://hg.netbeans.org/cnd-main/rev/ea2f62799ee3
Comment 4 Quality Engineering 2013-01-26 03:03:44 UTC
Integrated into 'main-golden', will be available in build *201301260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ea2f62799ee3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #225300 - Test ModifyUndoTestCase.testRemoveThenUndo191307 fails