Tim Donohue created DS-1281:
-------------------------------
Summary: 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
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 @
[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
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel