[ 
https://jira.duraspace.org/browse/DS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Van de Velde resolved DS-1281.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Pull request merged.
                
> 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
>             Fix For: 3.0
>
>
> 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 @ 
> [email protected]: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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to