"Internal Error" / "newValue is null" when adding a datasource via the web console in JBoss EAP
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.2 cumulative patch (CP) 4 and 5
Issue
In the web based administrative console:
- Navigate to the Configuration tab
- Click Subsystems on the left panel under Configuration
- Navigate to Subsystem -> Datasources & Drivers -> Datasources -> Datasource
- Click the (+) drop down and select either "Add Datasource" or "Add XA Datasource"
When the "add" operation is initiated a pop-up reports that an "Internal Error" occurred. The Details link shows the error detail to be "newValue is null".
Resolution
This issue1 is resolved as part of This content is not included.EAP 7.2 cumulative patch (CP) 6 and later patch levels.
In older patch levels, datasources can be created using JBoss CLI.
Root Cause
This is a known defect (Content from issues.jboss.org is not included.HAL-1637) in older EAP 7.2 patch levels.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.