We're updating the issue view to help you get more done. 

Empty node name causes exception

Steps to reproduce

Steps to reproduce:
1. Ensure oc_host_registration has node_name = NULL
2. Go to System->Servers

Actual Results:
The table does not show any results. In the Opencast log, you find:

Caused by: java.lang.IllegalArgumentException: Value of field 'nodeName' must not be null
at com.entwinemedia.fn.data.json.Field.<init>(Field.java:31) ~[?:?]
at com.entwinemedia.fn.data.json.Jsons.f(Jsons.java:89) ~[?:?]
at org.opencastproject.adminui.endpoint.ServerEndpoint.getServersListAsJson(ServerEndpoint.java:345) ~[?:?]
at org.opencastproject.adminui.endpoint.ServerEndpoint.getServers(ServerEndpoint.java:317) ~[?:?]

Expected Results:
The Admin UI should still display the servers even if the backend does not deliver a valid nodename

Workaround (if any):

Status

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

7.0

Priority

Major