[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1532) JBDS - cannot generate a form for a task via (jBPM) GPD

Len DiMaggio (JIRA) jira-events at lists.jboss.org
Wed Jan 16 10:49:19 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1532?page=comments#action_12395342 ] 
            
Len DiMaggio commented on JBIDE-1532:
-------------------------------------

After a VNC session with Koen, the problem and its workarounds are:

--------------------------
On JBDS 1.0

The java.lang.NullPointerException only results when the user generates a form by maximizing the task's 'properties' dialog (i.e., the Eclipse 'properties' view). The 'Unknown Source' referred to in the exception stack trace is not the forms.xml file or the form's .xhtml file, but rather indicates that the GPD has lost its reference to the dialog itself.

Workaround - do not maximize the dialog when creating a task form. Note that on a smaller display such as a laptop, this makes for an awkward situation. I first found the problem while working on a laptop.

One other note on JBDS 1.0 - if a task name includes spaces, the spaces are converted to '-' characters in the name of the generated form .xhtml file. This seems to be a workaround to an ealier problem where if a task name included a space, the task form .xhtml file would not be generated.

--------------------------

On Eclipse 3.3.1.1 

If the user installs jbpm-jpdl-designer-3.1.2 (available as of Jan 10 2008) or 3.1.0.SP1 they will see the same behavior as above. Spaces in the task name are replaced by '-' in the generated form .xhtml file name.

--------------------------

So - the safest thing is to recommend that users do not maximize that dialog and don't have spaces in task names. 

--------------------------

Koen - just to confirm things - did you say that the properties-dialog-view-maximize problem was resolved in JBDS 1.0.1? Or, did you say that the spaces-in-task-names problem was resolved in JBDS 1.0.1?



> JBDS - cannot generate a form for a task via (jBPM) GPD
> -------------------------------------------------------
>
>                 Key: JBIDE-1532
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1532
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 2.0.0.GA
>         Environment: JBoss Developer Studio, Build id: 200712091205-nightly
> and
> Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25 
>            Reporter: Len DiMaggio
>         Assigned To: Koen Aers
>             Fix For: 2.0.0.GA
>
>         Attachments: config.txt, demo.zip, log, processdefinition.xml, processdefinition.xml, Screenshot-2.png
>
>
> I'm unable to generate a new form for a task with either the 1.0 JBDS bits or Eclipse Europa + jbpm-jpdl-designer-3.0.13 Stable 9.2 MB 2007-01-25 
> To recreate the problem - using the attached jBPM process project - it's based on the 'holiday request' jBPM demo - at the start task node, attempt to generate a form. 
> The screen displayed in the screenshot attachment is brought up - pressing OK has no effect. The form xhtml file is not created - and no error/sttaus message is displayed.
>   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list