org.adempiere.exceptions.DBException: QueryMoreThanOneRecordsFound

GitHub | wdtz | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. org.adempiere.exceptions.DBException

    QueryMoreThanOneRecordsFound

    at org.compiere.model.Query.firstId()
  2. org.compiere.model
    Query.firstIdOnly
    1. org.compiere.model.Query.firstId(Query.java:409)
    2. org.compiere.model.Query.firstIdOnly(Query.java:380)
    2 frames
  3. org.adempiere.pos
    ReverseTheSalesTransaction.doIt
    1. org.adempiere.pos.process.ReverseTheSalesTransaction.getRMATypeId(Unknown Source)
    2. org.adempiere.pos.process.ReverseTheSalesTransaction.cancelShipments(Unknown Source)
    3. org.adempiere.pos.process.ReverseTheSalesTransaction.doIt(Unknown Source)
    3 frames
  4. org.compiere.process
    SvrProcess.startProcess
    1. org.compiere.process.SvrProcess.process(SvrProcess.java:171)
    2. org.compiere.process.SvrProcess.startProcess(SvrProcess.java:124)
    2 frames
  5. org.adempiere.util
    ProcessUtil.startJavaProcess
    1. org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:160)
    2. org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:105)
    2 frames
  6. org.compiere.apps
    ProcessCtl.process
    1. org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:679)
    2. org.compiere.apps.ProcessCtl.run(ProcessCtl.java:420)
    3. org.compiere.apps.ProcessCtl.process(ProcessCtl.java:217)
    3 frames
  7. org.adempiere.webui
    ProcessDialog.runProcess
    1. org.adempiere.webui.apps.ProcessDialog.runProcess(ProcessDialog.java:389)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  9. ZK Kernel
    EventProcessingThreadImpl.run
    1. org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:209)
    2. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
    3. org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
    4. org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
    4 frames