-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
From latest bzira jenkins job:
[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+summary+%7E+%27EBZ%23487168%27&maxResults=5 [INFO] Creating jira for #487168 CLOSED - alina@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@redhat.com nboldt@redhat.com gercan@redhat.com Notifying upstream projects of job completion Finished: FAILURE
– http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-bzira/88/console
So I ran the same task again locally:
[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+summary+%7E+%27EBZ%23487168%27&maxResults=5 [INFO] Creating jira for #487168 CLOSED - alina@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
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