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.
I am not sure if this is Mac specific, but all of the unit tests for SQL History are failing. Testsuite: org.netbeans.modules.db.sql.history.SQLHistoryManagerTest ######## testUpdateListRemoveEqualNumber ####### HP = /Users/David/code/netbeans/clean/main/db.core/build/test/unit/work/o.n.m.d.s.h.S/ulren/sql_history.xml ######## testUpdateListRemoveLessNumber3 ####### ######## testUpdateListRemoveLessNumber1 ####### jdbc:// derby jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 ######## testUpdateListRemoveAll ####### jdbc:// derby jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 1.697 sec ------------- Standard Output --------------- ######## testUpdateListRemoveEqualNumber ####### HP = /Users/David/code/netbeans/clean/main/db.core/build/test/unit/work/o.n.m.d.s.h.S/ulren/sql_history.xml ######## testUpdateListRemoveLessNumber3 ####### ######## testUpdateListRemoveLessNumber1 ####### jdbc:// derby jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 ######## testUpdateListRemoveAll ####### jdbc:// derby jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// postgres jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 jdbc:// derby jdbc:// postgres1 jdbc:// postgres2 jdbc:// postgres3 jdbc:// postgres4 ------------- ---------------- --------------- Testcase: testUpdateListRemoveEqualNumber(org.netbeans.modules.db.sql.history.SQLHistoryManagerTest): Caused an ERROR Called DataObject.find on null java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:474) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicReader.run(SQLHistoryPersistenceManager.java:173) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.retrieve(SQLHistoryPersistenceManager.java:119) at org.netbeans.modules.db.sql.history.SQLHistoryManager.updateList(SQLHistoryManager.java:159) at org.netbeans.modules.db.sql.history.SQLHistoryManagerTest.testUpdateListRemoveEqualNumber(SQLHistoryManagerTest.java:111) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Testcase: testUpdateListRemoveLessNumber3(org.netbeans.modules.db.sql.history.SQLHistoryManagerTest): Caused an ERROR Called DataObject.find on null java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:474) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicReader.run(SQLHistoryPersistenceManager.java:173) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.retrieve(SQLHistoryPersistenceManager.java:119) at org.netbeans.modules.db.sql.history.SQLHistoryManager.updateList(SQLHistoryManager.java:159) at org.netbeans.modules.db.sql.history.SQLHistoryManagerTest.testUpdateListRemoveLessNumber3(SQLHistoryManagerTest.java:131) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Testcase: testUpdateListRemoveLessNumber1(org.netbeans.modules.db.sql.history.SQLHistoryManagerTest): Caused an ERROR Called DataObject.find on null java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:474) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicReader.run(SQLHistoryPersistenceManager.java:173) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.retrieve(SQLHistoryPersistenceManager.java:119) at org.netbeans.modules.db.sql.history.SQLHistoryManager.updateList(SQLHistoryManager.java:159) at org.netbeans.modules.db.sql.history.SQLHistoryManagerTest.testUpdateListRemoveLessNumber1(SQLHistoryManagerTest.java:152) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Testcase: testUpdateListRemoveAll(org.netbeans.modules.db.sql.history.SQLHistoryManagerTest): Caused an ERROR Called DataObject.find on null java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:474) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicReader.run(SQLHistoryPersistenceManager.java:173) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.retrieve(SQLHistoryPersistenceManager.java:119) at org.netbeans.modules.db.sql.history.SQLHistoryManager.updateList(SQLHistoryManager.java:159) at org.netbeans.modules.db.sql.history.SQLHistoryManagerTest.testUpdateListRemoveAll(SQLHistoryManagerTest.java:179) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Test org.netbeans.modules.db.sql.history.SQLHistoryManagerTest FAILED /Users/David/code/netbeans/clean/main/nbbuild/templates/common.xml:584: The following error occurred while executing this line: /Users/David/code/netbeans/clean/main/nbbuild/templates/common.xml:580: Some tests failed; see details above. BUILD FAILED (total time: 4 seconds) Testsuite: org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest ######## testExecuteStatements ####### Jul 2, 2008 11:43:06 PM org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter run WARNING: Error saving SQL that was executed Jul 2, 2008 11:43:06 PM org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter run WARNING: Error saving SQL that was executed ######## testMultipleExecutions ####### Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.114 sec ------------- Standard Output --------------- ######## testExecuteStatements ####### ######## testMultipleExecutions ####### ------------- ---------------- --------------- ------------- Standard Error ----------------- Jul 2, 2008 11:43:06 PM org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter run WARNING: Error saving SQL that was executed Jul 2, 2008 11:43:06 PM org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter run WARNING: Error saving SQL that was executed ------------- ---------------- --------------- Testcase: testExecuteStatements(org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest): Caused an ERROR null java.lang.NullPointerException at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter.run(SQLHistoryPersistenceManager.java:231) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.create(SQLHistoryPersistenceManager.java:111) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest.testExecuteStatements(SQLHistoryPersistenceManagerTest.java:105) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Testcase: testMultipleExecutions(org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest): Caused an ERROR null java.lang.NullPointerException at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager$AtomicWriter.run(SQLHistoryPersistenceManager.java:231) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManager.create(SQLHistoryPersistenceManager.java:111) at org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest.testMultipleExecutions(SQLHistoryPersistenceManagerTest.java:120) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:328) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:265) at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:344) at org.netbeans.junit.NbTestCase.run(NbTestCase.java:205) Test org.netbeans.modules.db.sql.history.SQLHistoryPersistenceManagerTest FAILED /Users/David/code/netbeans/clean/main/nbbuild/templates/common.xml:584: The following error occurred while executing this line: /Users/David/code/netbeans/clean/main/nbbuild/templates/common.xml:580: Some tests failed; see details above. BUILD FAILED (total time: 7 seconds)
http://hg.netbeans.org/main/rev/79c4cf71f0f2
Integrated into 'main-golden', available in NB_Trunk_Production #336 build Changeset: http://hg.netbeans.org/main/rev/79c4cf71f0f2 User: John Baker <jbaker@netbeans.org> Log: #138885 SQL History: unit tests are failing
Verified with build 080722.