Just for info...

Merged the pull request. Will be rolled out to the demo server shortly.

Cheers.


-------- Original Message --------
Subject: [Dspace-devel] [DuraSpace JIRA] (DS-1281) XMLWorkflow throws NullPointerException on "Assign Roles" when not enabled
Date:   Thu, 11 Oct 2012 12:59:31 +0100
From:   Kevin Van de Velde (DuraSpace JIRA) <no-re...@duraspace.org>
To: dspace-devel@lists.sourceforge.net <dspace-devel@lists.sourceforge.net>



    [ 
https://jira.duraspace.org/browse/DS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26414#comment-26414
 ]

Kevin Van de Velde commented on DS-1281:
----------------------------------------

Pull request to actually fix the workflow issue: 
https://github.com/DSpace/DSpace/pull/97
XMLWorkflow throws NullPointerException on "Assign Roles" when not enabled
--------------------------------------------------------------------------

                Key: DS-1281
                URL: https://jira.duraspace.org/browse/DS-1281
            Project: DSpace
         Issue Type: Bug
         Components: XMLUI
   Affects Versions: 3.0
           Reporter: Tim Donohue
           Assignee: Kevin Van de Velde
           Priority: Major

This is occurring on the demo.dspace.org server's XMLUI interface, currently 
running 3.0-rc1
To reproduce:
1. Setup DSpace 3.0-rc1.  Keep XMLWorkflow disabled (as it is by default)
2. Create a Collection in the XMLUI
3. Edit the Collection
4. Click on the "Assign Roles" tab
No error appears in the UI, but the log file will now show a 
NullPointerException that looks similar to this:
2012-10-10 20:53:27,746 ERROR org.dspace.xmlworkflow.WorkflowFactory @ Error 
while retrieving workflow for collection: 10673/19
java.lang.NullPointerException
        at org.dspace.xmlworkflow.state.Step.<init>(Step.java:51)
        at 
org.dspace.xmlworkflow.WorkflowFactory.createFirstStep(WorkflowFactory.java:110)
        at 
org.dspace.xmlworkflow.WorkflowFactory.getWorkflow(WorkflowFactory.java:69)
        at 
org.dspace.xmlworkflow.WorkflowUtils.getAllExternalRoles(WorkflowUtils.java:263)
        at 
org.dspace.app.xmlui.aspect.administrative.collection.AssignCollectionRoles.addBody(AssignCollectionRoles.java:120)
        at 
org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
2012-10-10 20:53:27,751 ERROR 
org.dspace.app.xmlui.aspect.administrative.collection.AssignCollectionRoles @ 
dspacedemo+ad...@gmail.com:session_id=E8771EAAC1F1BB3DC97DF9371F3375D7:ip_addr=67.177.108.221:error
 while getting collection roles:Collection id\colon; 3

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel




The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to