EJava.Exception.InvocationException (recoverable) : DBConnect.Exceptions.ReferentialIntegrityError (NON-recoverable)

Failed to invoke method 'getEntry' on object [Application.Ontology.Model.RelationType #248] with parameters: [Ljava.lang.Object;@f860cd This is a re-thrown exception that wraps another, more basic exception. The original exception was: An instance of class ISCore.Model.Entry is referenced with foreign key 248 but no according entry exists in the underlying database table 'Entry'. This indicates a referential integrity violation. You should validate the database entries involved.


Request Details:


Stack Trace:

	DBConnect.Exceptions.ReferentialIntegrityError (NON-recoverable)
	at DBConnect.Runtime.Factories.EntityFactory.doRetrieve(EntityFactory.java:278)
	at DBConnect.EntityModelling.Entity$State.get(Entity.java:101)
	at DBConnect.EntityModelling.Entity$State.get(Entity.java:86)
	at DBConnect.EntityModelling.BasicEntity.get(BasicEntity.java:52)
	at Application.Ontology.Model.RelationType.getEntry(RelationType.java:68)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at EJava.Reflection.JavaMethodInvocation.value(JavaMethodInvocation.java:74)
	at EJava.Reflection.JavaMethodInvocation.value(JavaMethodInvocation.java:60)
	at EJava.Scripting.ForeachStatement.doProcess(ForeachStatement.java:72)
	at EJava.Scripting.ScriptingElement.processWith(ScriptingElement.java:78)
	at EJava.Scripting.ScriptingElement.processAll(ScriptingElement.java:95)
	at EJava.Scripting.ForeachStatement.doProcess(ForeachStatement.java:105)
	at EJava.Scripting.ScriptingElement.processWith(ScriptingElement.java:78)
	at EJava.Scripting.ScriptingElement.processAll(ScriptingElement.java:95)
	at EJava.Interpreter.processFileHelper(Interpreter.java:269)
	at EJava.Scripting.EmbedStatement.doProcess(EmbedStatement.java:69)
	at EJava.Scripting.ScriptingElement.processWith(ScriptingElement.java:78)
	at EJava.Scripting.ScriptingElement.processAll(ScriptingElement.java:95)
	at EJava.Interpreter.processFileHelper(Interpreter.java:269)
	at EJava.Interpreter.processFile(Interpreter.java:110)
	at EDispatch.HTTP.Reply.reply(Reply.java:90)
	at ISCore.App.Command.execute(Command.java:65)
	at ISCore.App.Entry.Common.Edit.execute(Edit.java:40)
	at ISCore.App.Command.perform(Command.java:54)
	at EDispatch.RequestHandler.dispatch(RequestHandler.java:111)
	at ISCore.App.Entry.RequestHandler.doDispatch(RequestHandler.java:87)
	at ISCore.App.Entry.RequestHandler.dispatch(RequestHandler.java:142)
	at Application.Milestone.App.Entry.RequestHandler.dispatch(RequestHandler.java:94)
	at Application.Milestone.App.Entry.RequestHandler.dispatch(RequestHandler.java:94)
	at EDispatch.Dispatcher.dispatch(Dispatcher.java:123)
	at EDispatch.HTTP.EServlet.service(EServlet.java:103)
	at ISCore.App.Servlet.service(Servlet.java:351)
	at EDispatch.HTTP.EServlet.service(EServlet.java:69)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
	at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java:536)

[More Bugs...]