Giter VIP home page Giter VIP logo

Comments (4)

afflux avatar afflux commented on August 31, 2024

Appears to be solved in 5.5.2

from 3house.

ibaton avatar ibaton commented on August 31, 2024

@afflux Thanks for the update.
I made a fix, but I wasn't sure that it would fix the problem.

from 3house.

afflux avatar afflux commented on August 31, 2024

I'm reopening this issue, as I believe the root cause persists: I'm now seeing the same exception on pages with sliders, and the sliders are not rendered (thankfully without obfuscated backtrace):

01-29 20:59:42.744 W/System.err(29249): java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter parent
01-29 20:59:42.744 W/System.err(29249): 	at treehou.se.habit.ui.widgets.factories.SliderWidgetFactory.build(SliderWidgetFactory.kt)
01-29 20:59:42.744 W/System.err(29249): 	at treehou.se.habit.ui.widgets.WidgetFactory.createWidget(WidgetFactory.java:57)
01-29 20:59:42.744 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter.invalidateWidgets(PagePresenter.kt:216)
01-29 20:59:42.744 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter.updatePage(PagePresenter.kt:143)
01-29 20:59:42.745 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter.updatePage(PagePresenter.kt:158)
01-29 20:59:42.745 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter.access$updatePage(PagePresenter.kt:28)
01-29 20:59:42.745 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter$requestPageUpdate$1.accept(PagePresenter.kt:106)
01-29 20:59:42.745 W/System.err(29249): 	at treehou.se.habit.ui.sitemaps.page.PagePresenter$requestPageUpdate$1.accept(PagePresenter.kt:28)
01-29 20:59:42.745 W/System.err(29249): 	at io.reactivex.internal.observers.LambdaObserver.onNext(LambdaObserver.java:60)
01-29 20:59:42.745 W/System.err(29249): 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:200)
01-29 20:59:42.745 W/System.err(29249): 	at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:252)
01-29 20:59:42.745 W/System.err(29249): 	at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109)
01-29 20:59:42.745 W/System.err(29249): 	at android.os.Handler.handleCallback(Handler.java:751)
01-29 20:59:42.745 W/System.err(29249): 	at android.os.Handler.dispatchMessage(Handler.java:95)
01-29 20:59:42.745 W/System.err(29249): 	at android.os.Looper.loop(Looper.java:154)
01-29 20:59:42.745 W/System.err(29249): 	at android.app.ActivityThread.main(ActivityThread.java:6186)
01-29 20:59:42.745 W/System.err(29249): 	at java.lang.reflect.Method.invoke(Native Method)
01-29 20:59:42.745 W/System.err(29249): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
01-29 20:59:42.745 W/System.err(29249): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

The issue does not occur on this page: http://demo.openhab.org:8080/basicui/app?w=0202&sitemap=demo

But it does occur on this one: http://demo.openhab.org:8080/basicui/app?w=GF_Living&sitemap=demo

I believe this could be fixed by making parent nullable in build() and the constructor.

from 3house.

ibaton avatar ibaton commented on August 31, 2024

Thanks @afflux, you are correct, Releasing a new build today if it passes the tests.

from 3house.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.