Bug 1006734 - Exception in server.log caused that loading of designer freeze
Summary: Exception in server.log caused that loading of designer freeze
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER5
: 6.0.0
Assignee: Tihomir Surdilovic
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 08:18 UTC by Sona Mala
Modified: 2014-08-06 20:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:09:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sona Mala 2013-09-11 08:18:01 UTC
Description of problem:
If I want to open process which is invalid or which contains unsupported element by Designer then exception in server.log is shown and loading of Designer freezes.

(this is realistic scenario because git repository has no protection. An user can write own BPMN definition and add it into repository)


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

How reproducible:


Steps to Reproduce:
1. Add invalid BPMN2 definition into git repository.
2. Go to business central
3. Clone this repository
4. Open process

Actual results:
---------------
Loading of designer freezes, server.log shows some exception like:
  - Could not find BPMNDI information:
  - Event definition not supported: org.eclipse.bpmn2.impl.CancelEventDefinitionImpl@5d115595 

Common user does not know what happend. The user must have access to server.log if he want to know what happend.

Expected results:
-----------------
Stop loading of designer, shows some error page or alerts which describe actual problem.

My idea is that instead of Designer, a simple text editor is opened. This editor contains:
  - actual problem (highlighted line or simply write a message of exception into alert)
  - operation for writing, saving, deleting
  - source code of BPMN2 definition.

Now only way, how to delete or correct an invalid BPMN2 process, is an access to git repo.




Additional info:

Comment 1 Prakash Aradhya 2013-09-16 22:05:02 UTC
This is not necessarily a blocker.  But a valid scenario.

Designer freezing is not good. Can designer have some validation that the file is not valid and just bring up an error message ?

Internal Whiteboard: Beta Blocker → Blocker
Not critical for Beta, but need to address for GA

Comment 2 Tihomir Surdilovic 2013-10-15 21:03:59 UTC
fixed

Comment 3 Marek Baluch 2013-11-26 16:25:06 UTC
Reopening because it's not possible to delete the file in question any other way then using GIT.

Comment 4 Tihomir Surdilovic 2013-11-26 17:25:10 UTC
You can delete this file from the save option in the designer toolbar. just click on it and select delete after opening it.

Comment 5 Marek Baluch 2013-11-26 18:08:37 UTC
You cannot delete the process every time - see https://bugzilla.redhat.com/show_bug.cgi?id=1034783

Comment 6 Kris Verlaenen 2013-11-26 18:34:10 UTC
Marek, we do agree that https://bugzilla.redhat.com/show_bug.cgi?id=1034783 is an issue, so this one is still open, and we'll try to fix asap.  But assuming you're not hit by this other bug (by which I still mean: assume you're loading a file with invalid content), do we still need to do something regarding this BZ?

Comment 7 Marek Baluch 2013-11-26 18:37:09 UTC
I guess we don't. Marking as VERIFIED (on BPMS 6.0.0.ER5)


Note You need to log in before you can comment on or make changes to this bug.