org.adempiere.exceptions.DBException: QueryMoreThanOneRecordsFound

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via adempiere by frerod
, 1 year ago
QueryMoreThanOneRecordsFound
org.adempiere.exceptions.DBException: QueryMoreThanOneRecordsFound
at org.compiere.model.Query.firstId(Query.java:409)
at org.compiere.model.Query.firstIdOnly(Query.java:380)
at org.adempiere.pos.process.ReverseTheSalesTransaction.getRMATypeId(Unknown Source)
at org.adempiere.pos.process.ReverseTheSalesTransaction.cancelShipments(Unknown Source)
at org.adempiere.pos.process.ReverseTheSalesTransaction.doIt(Unknown Source)
at org.compiere.process.SvrProcess.process(SvrProcess.java:171)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:124)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:160)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:105)
at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:679)
at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:420)
at org.compiere.apps.ProcessCtl.process(ProcessCtl.java:217)
at org.adempiere.webui.apps.ProcessDialog.runProcess(ProcessDialog.java:389)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:209)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.