java.lang.UnsupportedOperationException: ValueType not supported: D(attribute=MAttribute[540022-Tageslot Datum,Type=D,Instance=true], generator=org.adempiere.mm.attributes.spi.impl.HULotNumberAttributeHandler@45db880c)

GitHub | teosarca | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Fix "ValueType not supported: D" when HU attributes are generated

    GitHub | 1 month ago | teosarca
    java.lang.UnsupportedOperationException: ValueType not supported: D(attribute=MAttribute[540022-Tageslot Datum,Type=D,Instance=true], generator=org.adempiere.mm.attributes.spi.impl.HULotNumberAttributeHandler@45db880c)
  2. 0

    M_PickingSlot_HU error when creating shipments from shipment schedule

    GitHub | 8 months ago | metas-ts
    de.metas.document.exceptions.DocumentProcessingException: Error Processing Document document: Lieferschein xxxxxx Belegverarbeitung: CO ProcessMsg: null Cause: Der Datensatz kann nicht gelöscht werden, bitte de-aktivieren: X_M_PickingSlot_HU[M_PickingSlot_HU_ID=1136674, trxName=GenerateInOutFromShipmentSchedules_9fa9e14c-9138-4e79-b982-45f9533b2ab1]+; SQL update returned no=0; SQL=(DELETE FROM M_PickingSlot_HU WHERE M_PickingSlot_HU_ID=1136674) (AdempiereException)

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      ValueType not supported: D(attribute=MAttribute[540022-Tageslot Datum,Type=D,Instance=true], generator=org.adempiere.mm.attributes.spi.impl.HULotNumberAttributeHandler@45db880c)

      at de.metas.handlingunits.attribute.storage.impl.AbstractHUAttributeStorage.generateAttributeValueOrNull()
    2. de.metas.handlingunits
      HUContextProcessorExecutor$1.run
      1. de.metas.handlingunits.attribute.storage.impl.AbstractHUAttributeStorage.generateAttributeValueOrNull(AbstractHUAttributeStorage.java:226)
      2. de.metas.handlingunits.attribute.storage.impl.AbstractHUAttributeStorage.generateAndGetInitialAttributes(AbstractHUAttributeStorage.java:169)
      3. de.metas.handlingunits.attribute.storage.impl.AbstractAttributeStorage.generateInitialAttributes(AbstractAttributeStorage.java:433)
      4. de.metas.handlingunits.impl.HUBuilder.createInstanceRecursivelly(HUBuilder.java:257)
      5. de.metas.handlingunits.impl.HUBuilder.create(HUBuilder.java:232)
      6. de.metas.handlingunits.impl.HUBuilder.create(HUBuilder.java:226)
      7. de.metas.handlingunits.allocation.impl.AbstractProducerDestination.createNewHU(AbstractProducerDestination.java:241)
      8. de.metas.handlingunits.allocation.impl.AbstractProducerDestination.getCreateCurrentHU(AbstractProducerDestination.java:176)
      9. de.metas.handlingunits.allocation.impl.AbstractProducerDestination.load(AbstractProducerDestination.java:499)
      10. de.metas.handlingunits.allocation.split.impl.LUTUProducerDestination.loadHU(LUTUProducerDestination.java:487)
      11. de.metas.handlingunits.allocation.impl.AbstractProducerDestination.load(AbstractProducerDestination.java:511)
      12. de.metas.handlingunits.allocation.impl.HULoader.loadToDestination(HULoader.java:330)
      13. de.metas.handlingunits.allocation.impl.HULoader.unloadSourceThenLoadDestination(HULoader.java:279)
      14. de.metas.handlingunits.allocation.impl.HULoader.access$0(HULoader.java:248)
      15. de.metas.handlingunits.allocation.impl.HULoader$1.process(HULoader.java:178)
      16. de.metas.handlingunits.allocation.impl.HUContextProcessorExecutor$1.run(HUContextProcessorExecutor.java:103)
      16 frames
    3. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:103)
      2. org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:1)
      3. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:757)
      4. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:669)
      5. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:570)
      6. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:501)
      7. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:494)
      7 frames
    4. de.metas.handlingunits
      ReceiptScheduleHUGenerator$1.run
      1. de.metas.handlingunits.allocation.impl.HUContextProcessorExecutor.run(HUContextProcessorExecutor.java:80)
      2. de.metas.handlingunits.allocation.impl.HULoader.processInHUContext(HULoader.java:202)
      3. de.metas.handlingunits.allocation.impl.HULoader.load(HULoader.java:167)
      4. de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.createHUForQtyToAllocate0(ReceiptScheduleHUGenerator.java:342)
      5. de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.access$0(ReceiptScheduleHUGenerator.java:319)
      6. de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator$1.run(ReceiptScheduleHUGenerator.java:297)
      6 frames
    5. org.adempiere.ad
      AbstractTrxManager.run
      1. org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:103)
      2. org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:1)
      3. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:757)
      4. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:669)
      5. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:570)
      6. org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:501)
      7. org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:494)
      7 frames
    6. de.metas.handlingunits
      ReceiptScheduleHUGenerator.generate
      1. de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.generateLUTUHandlingUnitsForQtyToAllocate(ReceiptScheduleHUGenerator.java:292)
      2. de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.generate(ReceiptScheduleHUGenerator.java:284)
      2 frames
    7. de.metas.inoutcandidate
      M_ReceiptSchedule_GeneratePlanningHUs.doIt
      1. de.metas.inoutcandidate.process.M_ReceiptSchedule_GeneratePlanningHUs.doIt(M_ReceiptSchedule_GeneratePlanningHUs.java:162)
      1 frame