Acknowledged

Error Name: Invalid Value on some type and some devices

1

Error Name: Invalid Value
Devices:
    fÄ“nix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power: 16.60
    fÄ“nix® 5X Plus: 15.20
    Languages: deu, pol

2

Error Name: Invalid Value
Devices:
    fÄ“nix® 5S Plus: 15.20
Languages: spa

drawable class

function draw(dc)
{
    var x, y, lY,
    w = width / 2;

    lY= locY;

    if(...)
    {
        lY += 5;
    }

    x = locX + w / 2;    //error 1
    y = lY + height / 2; //error 2





  • Probably problem is connected with declaration and initialisation especially for members but also inside functions.

    class....

    {

     var mX, mY=3, mZ;

    function f()

    {

    var x, y=4,z;

    ...

    }

    }

  • and you see I had to write again because about forum poor limitation post showing...

  • there is only one drawable of this class, it's one before last in layout.xml, the last and the previous has locX/etc and no problems, but the first findDrawableById is colled for this class.

    I don't know how to answer for yours question.

    I think it's problem with sdk 4.x because there was no problem in previous, I thought it's problem with device update but my f6pro run 16.60/16.70 and no problem and I can see problem on 13.30 (ēnix® 6X Pro / 6X Sapphire / 6X Pro Solar / tactix® Delta Sapphire / Delta Solar / Delta Solar - Ballistics Edition / quatix® 6X / 6X Solar / 6X Dual Power: 13.30).

    I think it's a problem with var's declaration initialisation so I've changed from

    var x, y, a, d,
                w = width / 2,
                h = height - mInfoDateHeight;

    to

    var x, y, a, d, w, h;
    w = width / 2;
    h = height - mInfoDateHeight;

    and no  problem from yesterday. We will see.

    What does exactly mean "Error Name: Invalid Value" I try use strange thing and always get "Error Name: Unhandled Exception". In next step I'll try locX=p[:locX].toNumber();

    I don't format well posts because forum quality is rather poor and I don't want to waste time waiting for frequently error's, so clear text. Not my fault.

  • I don't feel question...

    There is only one drawable of class  NoF so always is first initialise. It's the first drawable drawing and getting finDrawble.... but not first in xml.

    On sim it's ok. I think it's a problem withs sdk4 bad compilation no such problem before. I've made a little changes (removing initialisation var with declaration) and wait...

    What exactly mean INVALID VALUE, I've tried to put string, null and others and never invalid.

    There is a lot of problem with quality of forum so I don't want to waste time writing beautiful posts and get message, to many image, bad format etc etc. First fix this...