History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3370
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Robin Shen
Reporter: John Szakmeister
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Getting error trying to restore on a new machine

Created: 01/Apr/19 03:01 PM   Updated: 03/Apr/19 12:13 AM
Component/s: None
Affects Version/s: 9.0.4
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
I'm getting an error when trying to restore on a new machine:

Exception in thread "main" javax.validation.ConstraintViolationException: Validation failed for classes [com.pmease.quickbuild.model.Configuration] during persist time for groups [javax.validation.groups.Default, ]
List of constraint violations:[
ConstraintViolationImpl{interpolatedMessage='Name can not contain any of below characters:
, / \ : * ? " < > | [ ]', propertyPath=name, rootBeanClass=class com.pmease.quickbuild.model.Configuration, messageTemplate='Name can not contain any of below characters:
, / \ : * ? " < > | [ ]'}
]
at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.validate(BeanValidationEventListener.java:160)
at org.hibernate.cfg.beanvalidation.BeanValidationEventListener.onPreInsert(BeanValidationEventListener.java:95)
at org.hibernate.action.internal.EntityInsertAction.preInsert(EntityInsertAction.java:218)
at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:97)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
at com.pmease.quickbuild.entitymanager.impl.DefaultDataManager.importData(DefaultDataManager.java:1021)
at com.pmease.quickbuild.Quickbuild.importData(Quickbuild.java:1044)
at com.pmease.quickbuild.bootstrap.Restore$1.execute(Restore.java:51)
at com.pmease.quickbuild.Quickbuild$3.run(Quickbuild.java:755)
at java.base/java.lang.Thread.run(Thread.java:834)

I don't believe we have any names that violate this constraint. Any guidance on how to troubleshoot/fix this?

 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [03/Apr/19 12:13 AM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]