colin.gardner Posted July 28, 2014 Share Posted July 28, 2014 I recently installed a new instance of Jasperserver and I am trying to create a new theme. However, when I try to activate my theme, I get the error below. I am able to activate the themes that come with Jasperserver, but if I make a copy of a theme without any changes, I get the error again. Error Messageorg.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoFileResource.parent; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.jaspersoft.jasperserver.api.metadata.common.service.impl.hibernate.persistent.RepoFileResource.parent Link to comment Share on other sites More sharing options...
hozawa Posted July 29, 2014 Share Posted July 29, 2014 You only have to have files which you've modified in your theme instead of having all the files. Remove the files which you haven't modified and try again. Link to comment Share on other sites More sharing options...
H Mendoza Posted July 29, 2014 Share Posted July 29, 2014 That's right, you don't have to deploy the entire theme. You can create a new folder for your theme and build it out manually or you can upload it as a zipped file. The only file you really need in your new folder is overrides_custom.css. After you have it configured correctly, which will take some time since it has to be formatted in valid CSS, you can right-click on the new themes folder and set it active. See Set as Active Theme from the fly-out menu. Let us know if you have any more questions. The Admin guide has information to help too. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now