Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 123
Registered: ‎01-11-2013
My Device: BlackBerry z10
My Carrier: Docomo

Upgraded BlackBerry 10 Native SDK 10.1

Hi All,

I upgraded BlackBerry 10 Native sdk in Ubuntu 12.04 ,After that i am getting "An internal error occurred during: "QMLMarkerUpdater".
com.rim.tad.tools.qml.parser.ast.ASTUnaryExpression cannot be cast to com.rim.tad.tools.qml.parser.ast.ASTBinaryExpression" show error at loading time.
and also project execute very well but in qml code display error invalid propery. an also every line display could not be resolved in src file
i don't know , how to solve this issue ?


Posts: 1
Registered: ‎05-15-2013
My Device: Q10 (Developer)
My Carrier: T-Mobile

Re: Upgraded BlackBerry 10 Native SDK 10.1

I had this problem and found the IDE didn't like this line in my QML file:

myListModel.changeQty(listView.activeItem, +1);

...until I removed the plus sign. Figured this out by copying & pasting various parts of my file into the editor.
Posts: 305
Registered: ‎02-14-2012
My Device: BlackBerry Passport / Nokia N950
My Carrier: -

Re: Upgraded BlackBerry 10 Native SDK 10.1

I had this also once, at the old SDK my code worked without any problems, beginning with I got the same error using this code:


    Slider {
        fromValue: -14
        toValue: +14

 I had +14 there because I had a more symetric feeling during writing the code.


I needed some time to finding the reason why the error occured, this code works now:

    Slider {
        fromValue: -14
        toValue: 14


Sometimes it simply hurts.


Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: Upgraded BlackBerry 10 Native SDK 10.1

my guess would be that it already accounts for a posotive unless a - is thrown at it, adding the + makes it try to make a double posotive and it apparenlty isn't that enthusiastic Smiley Wink