Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sonyprojector] Scheduled runnable ended with an exception #17989

Open
morph166955 opened this issue Dec 27, 2024 · 2 comments
Open

[sonyprojector] Scheduled runnable ended with an exception #17989

morph166955 opened this issue Dec 27, 2024 · 2 comments
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@morph166955
Copy link
Contributor

Just brought my Sony VPLVW285ES back online a few days ago. I'm seeing this randomly in my logs.

2024-12-27 09:28:19.119 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at org.openhab.binding.sonyprojector.internal.communication.SonyProjectorConnector.convertDataToInt(SonyProjectorConnector.java:1203) ~[?:?]
        at org.openhab.binding.sonyprojector.internal.communication.SonyProjectorConnector.getHue(SonyProjectorConnector.java:265) ~[?:?]
        at org.openhab.binding.sonyprojector.internal.handler.SonyProjectorHandler.requestProjectorValue(SonyProjectorHandler.java:670) ~[?:?]
        at org.openhab.binding.sonyprojector.internal.handler.SonyProjectorHandler.refreshChannel(SonyProjectorHandler.java:751) ~[?:?]
        at org.openhab.binding.sonyprojector.internal.handler.SonyProjectorHandler.pollProjector(SonyProjectorHandler.java:446) ~[?:?]
        at org.openhab.binding.sonyprojector.internal.handler.SonyProjectorHandler.lambda$0(SonyProjectorHandler.java:406) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
        at java.lang.Thread.run(Thread.java:1583) [?:?]

@morph166955 morph166955 added the bug An unexpected problem or unintended behavior of an add-on label Dec 27, 2024
@lolodomo
Copy link
Contributor

lolodomo commented Dec 27, 2024

Is it always when getting hue ?
Please enable DEBUG logs and show what they are just before the exception.
I would like to see what is the answer of the projector.

@morph166955
Copy link
Contributor Author

Ill turn on debug and see. I only really use a few channels, I don't have a hue item so I can't compare it as easily. I have noticed that my power channel goes from off to undef when I power it off about 50% of the time which I found odd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

2 participants