[JBoss JIRA] (JBIDE-21649) bzira can't handle CLOSED DUPLICATE bugs
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21649?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen resolved JBIDE-21649.
-----------------------------------------
Resolution: Done
fixed the "trans" variable issue so it should no longer fail - just report the missing ability to transition the issue.
> bzira can't handle CLOSED DUPLICATE bugs
> ----------------------------------------
>
> Key: JBIDE-21649
> URL: https://issues.jboss.org/browse/JBIDE-21649
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build
> Reporter: Nick Boldt
> Fix For: 4.4.0.Alpha1
>
>
> From latest bzira jenkins job:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:05:39.346169)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-79
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> Build step 'Execute shell' marked build as failure
> Checking console output
> [description-setter] Could not determine description.
> Sending e-mails to: manderse(a)redhat.com nboldt(a)redhat.com gercan(a)redhat.com
> Notifying upstream projects of job completion
> Finished: FAILURE
> {code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-b...
> So I ran the same task again locally:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:08:11.074153)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-80
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> {code}
> And now we have two issues created:
> https://issues.jboss.org/browse/ERT-79 - EBZ#486606 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (but then Fred manually changed it to point to 486606)
> https://issues.jboss.org/browse/ERT-80 - EBZ#487168 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (ERT-81) o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]
by Friendly Jira Robot (JIRA)
Friendly Jira Robot created ERT-81:
--------------------------------------
Summary: o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]
Key: ERT-81
URL: https://issues.jboss.org/browse/ERT-81
Project: Eclipse Release Train
Issue Type: Task
Components: WTP Source Editing
Reporter: Friendly Jira Robot
Created attachment 259553
JSON content causing the error
Whenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with
!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835
!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl
!STACK 0
java.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl
at org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)
at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)
at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)
at org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)
at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)
at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)
at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)
at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)
at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (JBIDE-21650) Make Import OS3 Application more context-oriented
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21650?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21650:
----------------------------------
Labels: import_wizard openshift_v3 (was: )
> Make Import OS3 Application more context-oriented
> -------------------------------------------------
>
> Key: JBIDE-21650
> URL: https://issues.jboss.org/browse/JBIDE-21650
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Marián Labuda
> Labels: import_wizard, openshift_v3
>
> Currently we don't make difference from where Import Application... context menu item in OpenShift Explorer view is invoked. If a connection contains 2 and more projects, and at least 2 of those projects contains a build config, there are always listed all projects with build configs in Import OpenShift Application wizard no matter what. Even if I have selected a specific service or project, invoked Import Application wizard lists all projects and build configs. It would be nice to have it more context oriented - when select Import Application... context menu item on a specific service, build config related to this service should be preselected in wizard (maybe only project where the service is located should be listed and its build configs with selected the selected one). If opened via context menu of a project, project should be preselected (maybe only project with its build config could be visible).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (JBIDE-21650) Make Import OS3 Application more context-oriented
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21650?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-21650:
---------------------------------------
[~fbricon] [~adietish] [~jcantrill] thoughts?
> Make Import OS3 Application more context-oriented
> -------------------------------------------------
>
> Key: JBIDE-21650
> URL: https://issues.jboss.org/browse/JBIDE-21650
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Marián Labuda
> Labels: import_wizard, openshift_v3
>
> Currently we don't make difference from where Import Application... context menu item in OpenShift Explorer view is invoked. If a connection contains 2 and more projects, and at least 2 of those projects contains a build config, there are always listed all projects with build configs in Import OpenShift Application wizard no matter what. Even if I have selected a specific service or project, invoked Import Application wizard lists all projects and build configs. It would be nice to have it more context oriented - when select Import Application... context menu item on a specific service, build config related to this service should be preselected in wizard (maybe only project where the service is located should be listed and its build configs with selected the selected one). If opened via context menu of a project, project should be preselected (maybe only project with its build config could be visible).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (JBIDE-21650) Make Import OS3 Application more context-oriented
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-21650:
-------------------------------------
Summary: Make Import OS3 Application more context-oriented
Key: JBIDE-21650
URL: https://issues.jboss.org/browse/JBIDE-21650
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Marián Labuda
Currently we don't make difference from where Import Application... context menu item in OpenShift Explorer view is invoked. If a connection contains 2 and more projects, and at least 2 of those projects contains a build config, there are always listed all projects with build configs in Import OpenShift Application wizard no matter what. Even if I have selected a specific service or project, invoked Import Application wizard lists all projects and build configs. It would be nice to have it more context oriented - when select Import Application... context menu item on a specific service, build config related to this service should be preselected in wizard (maybe only project where the service is located should be listed and its build configs with selected the selected one). If opened via context menu of a project, project should be preselected (maybe only project with its build config could be visible).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (JBIDE-21649) bzira can't handle CLOSED DUPLICATE bugs
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21649?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-21649:
------------------------------------
So, two problems:
a) jenkins job fails / console job fails
b) the linked "original bug" is not the same as the EBZ# put into the ERT jira's title
> bzira can't handle CLOSED DUPLICATE bugs
> ----------------------------------------
>
> Key: JBIDE-21649
> URL: https://issues.jboss.org/browse/JBIDE-21649
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build
> Reporter: Nick Boldt
> Fix For: 4.4.0.Alpha1
>
>
> From latest bzira jenkins job:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:05:39.346169)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-79
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> Build step 'Execute shell' marked build as failure
> Checking console output
> [description-setter] Could not determine description.
> Sending e-mails to: manderse(a)redhat.com nboldt(a)redhat.com gercan(a)redhat.com
> Notifying upstream projects of job completion
> Finished: FAILURE
> {code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-b...
> So I ran the same task again locally:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:08:11.074153)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-80
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> {code}
> And now we have two issues created:
> https://issues.jboss.org/browse/ERT-79 - EBZ#486606 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (but then Fred manually changed it to point to 486606)
> https://issues.jboss.org/browse/ERT-80 - EBZ#487168 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months
[JBoss JIRA] (JBIDE-21649) bzira can't handle CLOSED DUPLICATE bugs
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-21649:
----------------------------------
Summary: bzira can't handle CLOSED DUPLICATE bugs
Key: JBIDE-21649
URL: https://issues.jboss.org/browse/JBIDE-21649
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: build
Reporter: Nick Boldt
>From latest bzira jenkins job:
{code}
[DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:05:39.346169)
Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
[INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
[DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
[INFO] Created https://issues.jboss.org/browse/ERT-79
Traceback (most recent call last):
File "bzira.py", line 412, in <module>
process(bug, createdbugs)
File "bzira.py", line 349, in process
raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
UnboundLocalError: local variable 'trans' referenced before assignment
Build step 'Execute shell' marked build as failure
Checking console output
[description-setter] Could not determine description.
Sending e-mails to: manderse(a)redhat.com nboldt(a)redhat.com gercan(a)redhat.com
Notifying upstream projects of job completion
Finished: FAILURE
{code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-b...
So I ran the same task again locally:
{code}
[DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:08:11.074153)
Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
[INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
[DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
[INFO] Created https://issues.jboss.org/browse/ERT-80
Traceback (most recent call last):
File "bzira.py", line 412, in <module>
process(bug, createdbugs)
File "bzira.py", line 349, in process
raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
UnboundLocalError: local variable 'trans' referenced before assignment
{code}
And now we have two issues created:
https://issues.jboss.org/browse/ERT-79 - EBZ#486606 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (but then Fred manually changed it to point to 486606)
https://issues.jboss.org/browse/ERT-80 - EBZ#487168 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 2 months