Gluon Mobile для Android = StackOverflowError зависит от устройства

Я успешно перенес приложение javafx с рабочего стола на iOS, и теперь я работаю над портом Android.

Я использую плагин jfxmobile: 1.3.10.

Одно из моих представлений дает переполнение стека в виртуальном устройстве, но не другое.

Есть ли способ указать при сборке приложения для Android минимальный размер стека? Как обычно решаются подобные вопросы?

java.lang.StackOverflowError
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.updateCachedBounds(Parent.java:1588)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1527)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1516)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.updateCachedBounds(Parent.java:1588)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1527)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.updateCachedBounds(Parent.java:1588)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1527)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1516)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.computeLocalBounds(Node.java:3593)
        at javafx.scene.Node.updateLocalBounds(Node.java:3623)
        at javafx.scene.Node.getLocalBounds(Node.java:3484)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.updateCachedBounds(Parent.java:1588)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1527)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Node.updateGeomBounds(Node.java:3577)
        at javafx.scene.Node.getGeomBounds(Node.java:3530)
        at javafx.scene.Node.getLocalBounds(Node.java:3478)
        at javafx.scene.Node.updateTxBounds(Node.java:3641)
        at javafx.scene.Node.getTransformedBounds(Node.java:3424)
        at javafx.scene.Parent.getChildTransformedBounds(Parent.java:1724)
        at javafx.scene.Parent.recomputeBounds(Parent.java:1516)
        at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1380)
        at javafx.scene.layout.Region.impl_computeGeomBounds(Region.java:3078)
        at javafx.scene.Nod

person Juan    schedule 18.05.2018    source источник
comment
См. этот ответ.   -  person José Pereda    schedule 19.05.2018
comment
Большое спасибо Хосе, это решило проблему, и теперь мое приложение работает как на iOS, так и на Android, в основном благодаря вашей поддержке. Мне все еще кажется, что это волшебство, так как я не могу найти более глубокого объяснения. Что касается ссылок в вашем сообщении, одна из них не работает, и в javafxports я не могу найти упоминания о размере стека в Android. Можете ли вы сказать мне, если 128000 в байтах? Принимает другие значения? Другие интересные ссылки?   -  person Juan    schedule 19.05.2018
comment
Возможный дубликат java.lang.StackOverflowError при нажатии FX ComboBox на Android   -  person ItachiUchiha    schedule 19.05.2018