Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] NPE al Completar Recepción con cargo #56

Open
yamelsenih opened this issue Nov 29, 2023 · 1 comment
Open

[Bug Report] NPE al Completar Recepción con cargo #56

yamelsenih opened this issue Nov 29, 2023 · 1 comment
Labels
bug Something isn't working Publicado

Comments

@yamelsenih
Copy link

yamelsenih commented Nov 29, 2023

Reporte de Error

Cuando se intenta completar una recepción de materiales con un cargo asociado se genera un NPE

Pasos para Reproducir

  1. Cree una orden de compra con una linea con referencia a un cargo
  2. Vaya a la ventana "Recepción de Material" y cree una nueva recepción a partir de la orden de compras
  3. Intente completar la recepción
  4. Vea el error
===========> ModelValidationEngine.lambda$fireDocValidate$19: null [1852]
java.lang.NullPointerException
	at org.compiere.asset.model.validator.FixedAsset.docValidate(FixedAsset.java:203)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:519)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
	at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
	at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
	at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
	at org.compiere.model.MInOut.processIt(MInOut.java:1080)
	at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
	at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
	at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

===========> ModelValidationEngine.lambda$fireDocValidate$19: null [1852]
java.lang.NullPointerException
	at org.compiere.asset.model.validator.FixedAsset.docValidate(FixedAsset.java:203)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:519)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
	at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
	at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
	at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
	at org.compiere.model.MInOut.processIt(MInOut.java:1080)
	at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
	at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
	at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

-----------> MWFActivity.run: MWFNode[190-(DocComplete),Action=DocumentAction=CO] [1852]
org.adempiere.exceptions.AdempiereException: java.lang.NullPointerException
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:533)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
	at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
	at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
	at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
	at org.compiere.model.MInOut.processIt(MInOut.java:1080)
	at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
	at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
	at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

-----------> MWFActivity.run: MWFNode[190-(DocComplete),Action=DocumentAction=CO] [1852]
org.adempiere.exceptions.AdempiereException: java.lang.NullPointerException
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:533)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
	at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
	at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
	at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
	at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
	at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
	at org.compiere.model.MInOut.processIt(MInOut.java:1080)
	at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
	at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
	at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
	at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
	at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
	at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
	at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

Contexto adicional

Esto sucede cuando se tiene habilitado el validador de modelo org.compiere.asset.model.validator.FixedAsset

Referencia: adempiere#4238

@yamelsenih yamelsenih added the bug Something isn't working label Nov 29, 2023
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Bug Report

When an attempt is made to complete a receipt of materials with an associated charge, an 'NPE' is generated.

Steps to Play

  1. Create a purchase order with a line with reference to a charge
  2. Go to the "Material Receipt" window and create a new receipt from the purchase order
  3. Try to complete the reception
  4. See the error
===========> ModelValidationEngine.lambda$fireDocValidate$19: null [1852]
java.lang.NullPointerException
at org.compiere.asset.model.validator.FixedAsset.docValidate(FixedAsset.java:203)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:519)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
at org.compiere.model.MInOut.processIt(MInOut.java:1080)
at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

===========> ModelValidationEngine.lambda$fireDocValidate$19: null [1852]
java.lang.NullPointerException
at org.compiere.asset.model.validator.FixedAsset.docValidate(FixedAsset.java:203)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:519)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
at org.compiere.model.MInOut.processIt(MInOut.java:1080)
at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

-----------> MWFActivity.run: MWFNode[190-(DocComplete),Action=DocumentAction=CO] [1852]
org.adempiere.exceptions.AdempiereException: java.lang.NullPointerException
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:533)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
at org.compiere.model.MInOut.processIt(MInOut.java:1080)
at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

-----------> MWFActivity.run: MWFNode[190-(DocComplete),Action=DocumentAction=CO] [1852]
org.adempiere.exceptions.AdempiereException: java.lang.NullPointerException
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$19(ModelValidationEngine.java:533)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at org.compiere.model.ModelValidationEngine.lambda$fireDocValidate$20(ModelValidationEngine.java:517)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:514)
at org.compiere.model.ModelValidationEngine.fireDocValidate(ModelValidationEngine.java:462)
at org.compiere.model.MInOut.completeIt(MInOut.java:1615)
at org.compiere.process.DocumentEngine.completeIt(DocumentEngine.java:558)
at org.compiere.process.DocumentEngine.prepareThenCompleteIt(DocumentEngine.java:343)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:317)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:288)
at org.compiere.model.MInOut.processIt(MInOut.java:1080)
at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:861)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:781)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:341)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:256)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:284)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:784)
at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:471)
at org.compiere.wf.MWorkflow.start(MWorkflow.java:736)
at org.compiere.wf.MWorkflow.startWait(MWorkflow.java:798)

Additional context

This happens when you have the model validator org.compiere.asset.model.validator.FixedAsset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Publicado
Projects
None yet
Development

No branches or pull requests

2 participants