java.lang.IllegalArgumentException : could not get next sequenced ID for sequence name: Visitor solution

HTTP Status 500 – Could not get next sequenced ID for sequence name: Visitor

 

 

type Exception report
message Could not get next sequenced ID for sequence name: Visitor
description The server encountered an internal error that prevented it from fulfilling this request.
exception

java.lang.IllegalArgumentException: Could not get next sequenced ID for sequence name: Visitor
	org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:2515)
	org.ofbiz.entity.GenericDelegator.getNextSeqId(GenericDelegator.java:2503)
	org.ofbiz.entity.GenericEntity.setNextSeqId(GenericEntity.java:626)
	org.ofbiz.entity.GenericDelegator.createSetNextSeqId(GenericDelegator.java:789)
	org.ofbiz.webapp.stats.VisitHandler.getVisitor(VisitHandler.java:245)
	org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:206)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:326)

note The full stack trace of the root cause is available in the Apache Tomcat/8.0.33 logs.


Apache Tomcat/8.0.33

The database uses MySQL and is configured to start automatically, but it was shut down unexpectedly, resulting in an error.

 

 

 

 

Read More: