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 242420 - Classcast in Tasks
Summary: Classcast in Tasks
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Jira (show other bugs)
Version: 8.0
Hardware: PC Windows 8 x64
: P1 normal (vote)
Assignee: Tomas Stupka
Keywords: 8.0_HR_FIX
Depends on:
Reported: 2014-02-27 15:09 UTC by akobberup
Modified: 2014-03-04 07:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

ide log (111.99 KB, text/plain)
2014-03-03 08:27 UTC, akobberup

Note You need to log in before you can comment on or make changes to this bug.
Description akobberup 2014-02-27 15:09:35 UTC
In the tasks window if i rightclick one of my queries under the Jira node, and select "open" i get this exception:

java.lang.ClassCastException: org.netbeans.modules.jira.xmlrpc.XmlRpcJiraConnectorProvider$NamedFilterImpl cannot be cast to org.netbeans.modules.jira.client.spi.FilterDefinition
	at org.netbeans.modules.jira.query.QueryController.onCancelChanges(
	at org.netbeans.modules.jira.query.QueryController.setMode(
	at org.netbeans.modules.jira.query.QueryController.getComponent(
	at org.netbeans.modules.bugtracking.ui.query.QueryTopComponent.addQueryComponent(
	at org.netbeans.modules.bugtracking.ui.query.QueryTopComponent.init(
	at org.netbeans.modules.bugtracking.ui.query.QueryAction$1$
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$200(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at org.netbeans.core.TimableEventQueue.dispatchEvent(
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Comment 1 Tomas Stupka 2014-02-28 10:40:09 UTC
what version of the jira plugin do you use?
Comment 2 Tomas Stupka 2014-02-28 10:47:26 UTC
couldn't reproduce on a recent nb build. this looks like some module mismatch. 
please reproduce the issue and then attach your whole messages.log to the issue.

Comment 3 akobberup 2014-03-03 08:27:45 UTC
Created attachment 145713 [details]
ide log

After having updated all modules, the exception is still there.
..along with a bunch others..

Maby i should just do a clean install of the dev build..
Comment 4 Tomas Stupka 2014-03-03 11:33:05 UTC
managed to reproduce - the exception appears only for server defined queries
Comment 5 Tomas Stupka 2014-03-03 11:38:07 UTC
there is no way to get the results table for a server defined query -> P1
Comment 6 Tomas Stupka 2014-03-03 11:40:41 UTC
fixed in core-main #721eeb084464
Comment 7 Jiri Rechtacek 2014-03-03 14:52:02 UTC
Comment 8 Quality Engineering 2014-03-04 00:56:20 UTC
Integrated into 'releases/release80', will be available in build *201403032200* or newer. Wait for official and publicly available build.

User: Tomas Stupka <>
Log: Issue #242420 - Classcast in Tasks
(transplanted from 721eeb08446407cdf441bfbe7bdad0a507176fdd)
Comment 9 Quality Engineering 2014-03-04 02:56:07 UTC
Integrated into 'main-silver', will be available in build *201403040001* on (upload may still be in progress)

User: Tomas Stupka <>
Log: Issue #242420 - Classcast in Tasks