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

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

Closed
teosarca opened this Issue Jan 28, 2017 · 6 comments

Comments

Projects
None yet
5 participants
@teosarca
Member

teosarca commented Jan 28, 2017

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(AbstractHUAttributeStorage.java:226)
at de.metas.handlingunits.attribute.storage.impl.AbstractHUAttributeStorage.generateAndGetInitialAttributes(AbstractHUAttributeStorage.java:169)
at de.metas.handlingunits.attribute.storage.impl.AbstractAttributeStorage.generateInitialAttributes(AbstractAttributeStorage.java:433)
at de.metas.handlingunits.impl.HUBuilder.createInstanceRecursivelly(HUBuilder.java:257)
at de.metas.handlingunits.impl.HUBuilder.create(HUBuilder.java:232)
at de.metas.handlingunits.impl.HUBuilder.create(HUBuilder.java:226)
at de.metas.handlingunits.allocation.impl.AbstractProducerDestination.createNewHU(AbstractProducerDestination.java:241)
at de.metas.handlingunits.allocation.impl.AbstractProducerDestination.getCreateCurrentHU(AbstractProducerDestination.java:176)
at de.metas.handlingunits.allocation.impl.AbstractProducerDestination.load(AbstractProducerDestination.java:499)
at de.metas.handlingunits.allocation.split.impl.LUTUProducerDestination.loadHU(LUTUProducerDestination.java:487)
at de.metas.handlingunits.allocation.impl.AbstractProducerDestination.load(AbstractProducerDestination.java:511)
at de.metas.handlingunits.allocation.impl.HULoader.loadToDestination(HULoader.java:330)
at de.metas.handlingunits.allocation.impl.HULoader.unloadSourceThenLoadDestination(HULoader.java:279)
at de.metas.handlingunits.allocation.impl.HULoader.access$0(HULoader.java:248)
at de.metas.handlingunits.allocation.impl.HULoader$1.process(HULoader.java:178)
at de.metas.handlingunits.allocation.impl.HUContextProcessorExecutor$1.run(HUContextProcessorExecutor.java:103)
at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:103)
at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:1)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:757)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:669)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:570)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:501)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:494)
at de.metas.handlingunits.allocation.impl.HUContextProcessorExecutor.run(HUContextProcessorExecutor.java:80)
at de.metas.handlingunits.allocation.impl.HULoader.processInHUContext(HULoader.java:202)
at de.metas.handlingunits.allocation.impl.HULoader.load(HULoader.java:167)
at de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.createHUForQtyToAllocate0(ReceiptScheduleHUGenerator.java:342)
at de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.access$0(ReceiptScheduleHUGenerator.java:319)
at de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator$1.run(ReceiptScheduleHUGenerator.java:297)
at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:103)
at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$2.call(TrxCallableWrappers.java:1)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:757)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:669)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:570)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:501)
at org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:494)
at de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.generateLUTUHandlingUnitsForQtyToAllocate(ReceiptScheduleHUGenerator.java:292)
at de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator.generate(ReceiptScheduleHUGenerator.java:284)
at de.metas.inoutcandidate.process.M_ReceiptSchedule_GeneratePlanningHUs.doIt(M_ReceiptSchedule_GeneratePlanningHUs.java:162)

@teosarca

This comment has been minimized.

Show comment
Hide comment
@teosarca

teosarca Jan 28, 2017

Member

@metas-rc do u remember on which task this issue was introduced?

Member

teosarca commented Jan 28, 2017

@metas-rc do u remember on which task this issue was introduced?

@metas-ts

This comment has been minimized.

Show comment
Hide comment
@metas-ts

metas-ts Feb 1, 2017

Member

fixed with this commit in issue #460

Member

metas-ts commented Feb 1, 2017

fixed with this commit in issue #460

@metas-ts metas-ts closed this Feb 1, 2017

metas-ts added a commit that referenced this issue Feb 1, 2017

Update ReleaseNotes.md
FRESH-1251 #879 Fix "ValueType not supported: D" when HU attributes are generated

@metas-ts metas-ts added this to the 2017-06 milestone Feb 1, 2017

@metas-ts

This comment has been minimized.

Show comment
Hide comment
@metas-ts

metas-ts Feb 1, 2017

Member

the close was a bit premature 😳

Member

metas-ts commented Feb 1, 2017

the close was a bit premature 😳

@metas-ts metas-ts reopened this Feb 1, 2017

metas-rc added a commit that referenced this issue Feb 1, 2017

#653 Fix HULotNumberAttributeHandler implementation
FRESH-1251 #879 Fix "ValueType not supported: D" when HU attributes are
generated
@metas-dh

This comment has been minimized.

Show comment
Hide comment
@metas-dh

metas-dh Feb 8, 2017

Member

Results of IT 1

Member

metas-dh commented Feb 8, 2017

Results of IT 1

@metas-ts

This comment has been minimized.

Show comment
Hide comment
@metas-ts

metas-ts Feb 18, 2017

Member

Just saw there was another unintegrated change in branch FRESH-1251 that change was ab fix wrt HULotNumberAttributeHandler

Member

metas-ts commented Feb 18, 2017

Just saw there was another unintegrated change in branch FRESH-1251 that change was ab fix wrt HULotNumberAttributeHandler

@metas-ts metas-ts reopened this Feb 18, 2017

@metas-lc metas-lc self-assigned this Feb 21, 2017

@metas-lc

This comment has been minimized.

Show comment
Hide comment
@metas-lc

metas-lc Feb 21, 2017

Contributor

IT
worked fine, but i couldn't change tageslot
follow-up metasfresh/metasfresh-webui-api#170

Contributor

metas-lc commented Feb 21, 2017

IT
worked fine, but i couldn't change tageslot
follow-up metasfresh/metasfresh-webui-api#170

@metas-lc metas-lc closed this Feb 21, 2017

metas-ts added a commit that referenced this issue Jun 14, 2017

Update ReleaseNotes.md
[#878](metasfresh/metasfresh-webui-frontend#878) Error firework when logout
[#880](metasfresh/metasfresh-webui-frontend#880) Change Icon for URL Link
[#881](metasfresh/metasfresh-webui-frontend#881) Error when pressing Action Menu in Collapsible Grid Window
[#883](metasfresh/metasfresh-webui-frontend#883) hu editor doesn't update
[#451](metasfresh/metasfresh-webui-api#451) Provide view sticky filters to be displayed by frontend
[#456](metasfresh/metasfresh-webui-api#456) Outbound Mail endpoint prototype
[#1807](#1807) Fix "Create primary key" process
[#879](metasfresh/metasfresh-webui-frontend#879) Avatar Picture not deleted from Header when cleared in Profile Settings
[#1802](#1802) picking terminal is not opening
[#436](metasfresh/metasfresh-webui-api#436) Manufacturing Order Issue not possible after barcode filtering
[#453](metasfresh/metasfresh-webui-api#453) Password process parameters shall allow showing the password
[#849](metasfresh/metasfresh-webui-frontend#849) manufacturing order doesn't open
[#437](metasfresh/metasfresh-webui-api#437) Load/ Reload of delivery Days window takes too long.
[#446](metasfresh/metasfresh-webui-api#446) Cannot open the menu when logged in as System Administrator
[#433](metasfresh/metasfresh-webui-api#433) Show Manufacturing Order number in window header
[#1793](#1793) fix jasper document for vendor returns
[#848](metasfresh/metasfresh-webui-frontend#848) notifications don't update
[#400](metasfresh/metasfresh-webui-api#400) minimum password length error message not displayed
[#444](metasfresh/metasfresh-webui-api#444) Make Dashboard Translatable
[#447](metasfresh/metasfresh-webui-api#447) Truncate WEBUI_ViewSelection tables on startup
[#847](metasfresh/metasfresh-webui-frontend#847) Loading of empty delivery Days Window take long
[#1735](#1735) istransferwhennull not working in webUI but in java client
[#1748](#1748) Project Documentation: Screenshots
[#795](metasfresh/metasfresh-webui-frontend#795) On tab stale event, don't refresh tabs which are queryOnLoad but are not the active tab

me-45

metas-ts added a commit that referenced this issue Mar 5, 2018

Update ReleaseNotes.md
* [#3541](#3541) Div material dispo issues
* [#3549](#3549) Refactor config for Distribution Order/ Movement after Material Receipt
* [#3561](#3561) Add relation between Invoice and Shipment Constraint
* [#3565](#3565) Initial Promised Date calculation and default Preparation Date
* [#3570](#3570) CustomerLabelName in M_Product and Translation
* [#3575](#3575) make shipment HU aggregation configurable
* [#3576](#3576) TU label in picking
* [#3578](#3578) Introduce AD_Column.IsForceIncludeInGeneratedModel to force including a column to generated java models
* [#3582](#3582) Avoid mass-creation of "MissingShipmentSchedulesWorkpackages"
* [#3588](#3588) Drop support for org.adempiere.server.embedded
* [#3587](#3587) Implement user token authentication for future REST APIs
* [#3590](#3590) Make shipment line attribute set instance (ASI) configurable
* [#3592](#3592) Add invoice related virtual columns in Shipment Restrictions
* [#3599](#3599) Pharma: Use IFA category when importing IFA products
* [#3604](#3604) Provide AD_Window_ID to running process
* [#3605](#3605) add mvnw so that users don't need to install mvn to build from cmdline
* [#878](metasfresh/metasfresh-webui-api#878) Distribution Editor Move HU dropdown list HU
* [#879](metasfresh/metasfresh-webui-api#879) Import File Loader substitute in WebUI
* [#880](metasfresh/metasfresh-webui-api#880) Collapse Purchase Order dispo in Sales Order modal
* [#883](metasfresh/metasfresh-webui-api#883) HU Labels in WebUI
* [#886](metasfresh/metasfresh-webui-api#886) Field Readonly = 'Y' but still updateable in WebUI
* [#3422](#3422) Material Cockpit Document Details Doctype, DocNo wrong/ missing
* [#3571](#3571) AD_Element_trl problem with autocomplete fields
* [#3572](#3572) Internal usage (Materialentnahme partial) broken
* [#3595](#3595) Tax Error on w101 Sales Order Batch entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment