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.
Summary: | a deadlock in javasrc automated tests | ||
---|---|---|---|
Product: | java | Reporter: | ehucka <ehucka> |
Component: | Unsupported | Assignee: | Daniel Prusa <dprusa> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | tests log |
Description
ehucka
2004-07-20 15:56:53 UTC
Created attachment 16342 [details]
tests log
There are several NPEs before the deadlock. Test caused this deadlock is org.netbeans.test.java.sourceexception.ClassChanged.ClassChanged NPE: java.lang.NullPointerException [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter.checkType(ModelEventAdapter.java:449) [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter.checkIsMature(ModelEventAdapter.java:556) [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter.isMature(ModelEventAdapter.java:466) [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter$Cache.isMature(ModelEventAdapter.java:424) [ideTestRunner] at org.netbeans.modules.java.codesync.ChangeCache.elementsChanged(ChangeCache.java:44) [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter.createChange(ModelEventAdapter.java:308) [ideTestRunner] at org.netbeans.modules.java.codesync.ModelEventAdapter.changesCommited(ModelEventAdapter.java:267) [ideTestRunner] at org.netbeans.modules.java.bridge.DefaultLangModel.doFire(DefaultLangModel.java:789) It looks like a bridge issue. Dane, can you take a look at it? I have fixed the NPE, but I am not sure if it was the cause of the deadlock - I was not able to reproduce the deadlock with the fix, neighter without it. /cvs/java/src/org/netbeans/modules/java/bridge/FieldElementImpl.java,v <-- FieldElementImpl.java new revision: 1.6; previous revision: 1.5 Fixed. /cvs/java/src/org/netbeans/modules/java/bridge/DefaultLangModel.java,v <-- DefaultLangModel.java new revision: 1.5; previous revision: 1.4 i haven't seen it again |