Category: | Bug report |
Priority: | High |
Status: | New |
Project: | Severity: | Critical |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When I try to update a domain that was created previously I get
java.lang.NullPointerException
Error Trace
java.lang.NullPointerException at com.jaspersoft.ji.semantic.action.CreateSLDatasourceAction.validateDataSource(CreateSLDatasourceAction.java:813) at com.jaspersoft.ji.semantic.action.CreateSLDatasourceAction.validateAndCheckIfExists(CreateSLDatasourceAction.java:639) at sun.reflect.GeneratedMethodAccessor786.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at ....
I get this error every time I try to update a domain. I tryed even simple domain that has only one table and three fields selected and domain that has 4 tables and multiple fields. I read a lot of posts and followed to propsed solutions:
1. Created data source under Jasperadmin profile.
2. Created New domain under this profile.
3. Tried to edit and submit new domain and I got the same problem,
4. Logged in as me under my own profile and I saw new data source and domain.
5. Tried to edit and save and got the same problem: null pointer exception.
I found these articcles:
http://community.jaspersoft.com/questions/842006/cannot-create-or-update...
http://community.jaspersoft.com/questions/949101/error-when-i-try-edit-a...
http://community.jaspersoft.com/questions/841455/error-while-updating-do...
So, I verified that I use only alphanumeric characters and also made sure that I don’t have any nulls in fields types.
Also, I found that we can export data source, save it locally open it with notepad modify and save locally and then upload, but when I tried to save I got the same error.
I found another article:
http://community.jaspersoft.com/documentation/jasperreports-server-admin...
I verified that all the fields that I see in my domain are common JAVA classes, so we don’t need to do any custom modifications for our config file
I don't know what else I can do to fix or get some work around to make this app workable. It is very important to be able to edit domain and save your changes.
1 Comment:
This appears to be a bug. This workaround allows us to edit a domain.
http://community.jaspersoft.com/questions/949101/error-when-i-try-edit-a...