Flex 3.6 to 4.6/4.9 Migration issue - apache-flex

I am getting the following error while migrating to version 4.6/4.9. Same thing works fine in flex version 3.6.
Can somebody please help me to resolve it?
4.6 Error
TypeError: Error #1034: Type Coercion failed: cannot convert "/" to flash.display.DisplayObject.
at mx.charts.chartClasses::ChartBase/ttp://www.adobe.com/2006/flex/mx/internal::addElements()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBase.as:4302]
at mx.charts.chartClasses::CartesianChart/ttp://www.adobe.com/2006/flex/mx/internal::updateSeries()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\CartesianChart.as:1041]
at mx.charts.chartClasses::ChartBase/commitProperties()[E:\dev\4.y\frameworks\projects\charts\src\mx\charts\chartClasses\ChartBase.as:1918]
at mx.charts.chartClasses::CartesianChart/commitProperties()[**E:\dev\4.y**\frameworks\projects\charts\src\mx\charts\chartClasses\CartesianChart.as:934]
at mx.core::****UIComponent/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8219****]
at mx.managers::LayoutManager/validateProperties()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:597]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:783]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]
4.9 Error
TypeError: Error #1034: Type Coercion failed: cannot convert "/" to flash.display.DisplayObject.
at mx.charts.chartClasses::ChartBase/ttp://www.adobe.com/2006/flex/mx/internal::addElements()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as:4310]
at mx.charts.chartClasses::CartesianChart/ttp://www.adobe.com/2006/flex/mx/internal::updateSeries()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as:1050]
at mx.charts.chartClasses::ChartBase/commitProperties()[/Users/justinmclean/Documents/**ApacheFlexSDK**/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as:1926]
at mx.charts.chartClasses::CartesianChart/commitProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as:943]
at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/core/UIComponent.as:8227]
at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:791]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]

You are passing a String "/" in a CartesianChart somewhere in your code where it expects a DisplayObject
Type Coercion failed: cannot convert "/" to flash.display.DisplayObject.

Related

how to use relay with deno freshjs

I'm trying to use relay-runtime with freshjs by importing it with these strings in my import map:
"react-relay": "https://esm.sh/react-relay#14.1.0?alias=react:preact/compat,react-dom:preact/compat,#types/react:preact/compat",
"relay-runtime": "https://esm.sh/relay-runtime#14.1.0?alias=react:preact/compat,react-dom:preact/compat,#types/react:preact/compat",
and when doing so, I get this error:
error: Uncaught (in promise) TypeError: Jl is not a function
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:4933
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:1389
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:7965
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:1389
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:3:82513
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:1389
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:3:85815
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:2:1389
at https://esm.sh/v94/relay-runtime#14.1.0/deno/relay-runtime.js:3:85832
I tried to import type declarations from https://esm.sh/v94/#types/relay-runtime#14.1.0/index.d.ts but am still having this issue. I had also tried to use v14.0.0 but then I get this error:
error: Uncaught (in promise) Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
at V (https://esm.sh/v96/invariant#2.2.4/deno/invariant.js:2:612)
at sv (https://esm.sh/v96/relay-runtime#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/relay-runtime.js:2:45152)
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:3114
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:2662
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:70288
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:2662
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:71428
at https://esm.sh/v96/react-relay#14.0.0/X-YS9yZWFjdDpwcmVhY3QvY29tcGF0/deno/react-relay.js:2:2662
Any help is appreciated. Thank you. I also tried importing initially without the query string

error while using `tabulator-tables` with vue3: datetime formatter: `luxon is not defined`

Describe the bug
when using the newest version of vue (3.2.38) with luxon (3.0.3) and tabulator-tables (5.3.3), if a formatter of type datetime is defined, the formatter throws an error:
datetime.js:2 Uncaught ReferenceError: luxon is not defined
at Format.datetime$1 (datetime.js:2:30)
at Format.formatValue (Format.js:126:47)
at InternalEventBus.js:76:33
at Array.forEach (<anonymous>)
at InternalEventBus._chain (InternalEventBus.js:75:21)
at Proxy.chain (CoreFeature.js:82:30)
at Proxy._generateContents (Cell.js:99:14)
at Proxy.layoutElement (Cell.js:210:8)
at Proxy.getElement (Cell.js:136:10)
at BasicHorizontal.js:10:33
you can check a simplified version here on codesandbox
Does anyone have any idea what I'm doing wrong?
PS: REALLY BAD WORKAROUND
a very bad way of resolving the issue for the moment is to uncomment line 8 of MyTable.vue, ensuring that window.DateTime exists so that luxon.DateTime is not reached...
Screenshots

Warning: Unexpected character in input: '' (ASCII=127) state=0

I got this problem
Warning: Unexpected character in input: '' (ASCII=127) state=0 in
/home/penumbr9/public_html/wp-load.php(1) : eval()'d code on line 1
Parse error: in /home/penumbr9/public_html/wp-load.php(1) : eval()'d
code on line 1.
Didn't know when this happen because since 1 month I didn't open the website.
But I think it happened when auto updated wordpress.
Also can open wp-admin or known as dashboard

Qt program compile error when using a class which includes Stdafx.h

I'm getting a compile error with my qt application when i added some device oem classes(which uses stdafx.h).
"Error 1 error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
From what i found from the internet, i set my project properties to "Use MFC in a Shared DLL" to solve the error but when i compile again it generates some other errors:
Error 1 error C2664: 'LONG SCardConnectW(SCARDCONTEXT,LPCWSTR,DWORD,DWORD,LPSCARDHANDLE,LPDWORD)' : cannot convert argument 2 from 'const char *' to 'LPCWSTR'
Error 2 error C2440: '=' : cannot convert from 'int8 *' to 'LPCWSTR'
Error 3 error C2679: binary '=' : no operator found which takes a right-hand operand of type 'LPCWSTR' (or there is no acceptable conversion)
Error 4 error C2664: 'LONG SCardStatusW(SCARDHANDLE,LPWSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD)' : cannot convert argument 2 from 'int8 *' to 'LPWSTR'
i tried to set to Use Unicode Character Set and Use Multibyte Character Set but doesn't solve the issue.
Do not mix MFC and Qt - this will not work. You need to either refactor the OEM stuff or your own software to use Qt / MFC.

Laravel : Type error: Argument 1 passed to Illuminate\Encryption\Encrypter::validMac() must be of the type array,

i am getting below error on laravel 5.5
Type error: Argument 1 passed to Illuminate\Encryption\Encrypter::validMac() must be of the type array, null given, called in C:\wamp64\www\projectx\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php on line 194
How can i solve this issue? plz help me.
It's working after composer update command.

Resources