Bug 1014514

Summary: NPE when opening BPMN process from SY editor
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Andrej Podhradsky <apodhrad>
Component: SwitchYard EditorAssignee: Brian Fitzpatrick <bfitzpat>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: ldimaggi, oskutka, rcernich, soa-p-jira
Target Milestone: ER6   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej Podhradsky 2013-10-02 09:20:08 UTC
Description of problem:

NullPointerException is thrown when I tried to open BPMN process from SwitchYard editor. This happens only for the first time and then after restarting Eclipse/JBDS.

I also tried to open the sample.bpmn itself and it works.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Import http-bpmn.zip
2. Open SY editor
3. Double click sample process

Actual results:


Expected results:


Additional info:

Comment 1 Rob Cernich 2013-10-03 19:47:22 UTC
Hey Brian,

Can you take a look at this? See if you can get a stack trace or something.  I suspect it may be a problem in the SY extensions to the BPMN2 editor.

Thanks in advance,
Rob

Comment 2 Brian Fitzpatrick 2013-10-03 20:04:54 UTC
Yup. Looking into it now.

Comment 3 JBoss JIRA Server 2013-10-03 20:45:19 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1748

[~apodhrad] What version of the BPMN2 editor are you using?

Comment 4 JBoss JIRA Server 2013-10-03 20:50:50 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1748

It appears that there was some refactoring recently by Bob in the BPMN2 editor for https://bugs.eclipse.org/bugs/show_bug.cgi?id=416769

And that has caused all sorts of entertaining breakages in the SY BPMN2 extensions.

Comment 5 JBoss JIRA Server 2013-10-03 21:09:30 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1748

That said, the version cached with JBTIS seems to be stable (from 2013-09-19). But the version at http://download.eclipse.org/bpmn2-modeler/updates/nightly/kepler/ has the breaking changes in it from this week. 

As soon as we know what version Andrej is using we'll know more. And if the latest changes made it into JBTIS, then we have issues. 

So [~apodhrad], where'd you install the BPMN2 Modeler from? :)

Comment 6 JBoss JIRA Server 2013-10-04 06:29:47 UTC
Andrej Podhradsky <apodhrad> made a comment on jira SWITCHYARD-1748

I installed everything from JBTIS 4.1.3.Beta4 (JBDSIS 7.0.0.Beta4) where is

*  BPMN2 Editor 0.2.7.201309191900
*  SwitchYard	1.1.0.v20130912-2244-H393-M2

Comment 7 JBoss JIRA Server 2013-10-04 20:25:28 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1748

This PR addresses a couple of issues including some tweaks to handle a refactoring of BPMN2 Modeler code and a tweak to add types to input parameters per: https://bugs.eclipse.org/bugs/show_bug.cgi?id=418108.

It won't work to merge until Bob and Paul get a more recent version of the BPMN2 Modeler into JBTIS, but is ready to go when that happens.

Comment 8 JBoss JIRA Server 2013-10-04 20:27:23 UTC
Brian Fitzpatrick <bfitzpat> made a comment on jira SWITCHYARD-1748

With the latest BPMN2 Modeler and SwitchYard code loaded in a debug environment, I am unable to reproduce the issue reported in this bug. So once we have a new build that includes the refactoring on both ends we'll see if we can reproduce.

Comment 9 JBoss JIRA Server 2013-10-25 02:05:37 UTC
Rob Cernich <rcernich> made a comment on jira SWITCHYARD-1748

pushed

Comment 10 Andrej Podhradsky 2013-12-16 07:52:18 UTC
Verified with JBDS-IS 7.0.0.CR1

Comment 11 JBoss JIRA Server 2014-06-24 11:03:29 UTC
Andrej Podhradsky <apodhrad> updated the status of jira SWITCHYARD-1748 to Closed