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 161865 - AssertionError in o.n.m.bugtracking.util.BugtrackingOwnerSupport.setLooseAssociation
Summary: AssertionError in o.n.m.bugtracking.util.BugtrackingOwnerSupport.setLooseAsso...
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-03 10:56 UTC by Tomas Stupka
Modified: 2009-07-27 09:20 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 Tomas Stupka 2009-04-03 10:56:56 UTC
open find issue and hit search

java.lang.AssertionError
        at
org.netbeans.modules.bugtracking.util.BugtrackingOwnerSupport.setLooseAssociation(BugtrackingOwnerSupport.java:319)
        at org.netbeans.modules.bugtracking.ui.query.QueryTopComponent.started(QueryTopComponent.java:466)
        at org.netbeans.modules.bugtracking.spi.Query.fireStarted(Query.java:293)
        at org.netbeans.modules.bugtracking.spi.Query.executeQuery(Query.java:305)
        at org.netbeans.modules.bugzilla.query.BugzillaQuery.refresh(BugzillaQuery.java:141)
        at org.netbeans.modules.bugzilla.query.BugzillaQuery.refresh(BugzillaQuery.java:195)
        at org.netbeans.modules.bugzilla.query.QueryController.refresh(QueryController.java:682)
        at org.netbeans.modules.bugzilla.query.QueryController$8.run(QueryController.java:652)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Comment 1 Marian Petras 2009-04-06 15:40:14 UTC
Fixed.

It was caused by two missing "break;" statements in a switch-statement, causing fallback to the default case, which only
calls "assert false".

Changeset:
#8a8631d996b4
(http://hg.netbeans.org/main/8a8631d996b4).