[SWS-1036] SimpleXsdSchema not initialized property produces NullPointerException Created: 11/Sep/18 Updated: 12/Sep/18 Resolved: 11/Sep/18
|Project:||Spring Web Services|
|Fix Version/s:||2.4.3, 3.0.4|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Pull Request URL:||https://github.com/spring-projects/spring-ws/pull/116|
When creating a SimpleXsdSchema i got an NullPointerException.
Method threw 'java.lang.NullPointerException' exception. Cannot evaluate org.springframework.xml.xsd.SimpleXsdSchema.toString()
|Comment by Greg Turnquist [ 11/Sep/18 ]|
Added a more meaningful error message.
Backported to 2.x branch.
|Comment by esfomeado [ 12/Sep/18 ]|
This really doesn't solve the problem since I have registered as a Spring bean and the problem still occurs.
|Comment by Greg Turnquist [ 12/Sep/18 ]|
Last fragment of code I showed you simply executing toString against a newly minted instance of SimpleXsdSchema. If you have made changes, please show me so we can deduce where the problem arises from.