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

Complex 1-Wire networks fail to operate as expected #221

Open
climategadgets opened this issue Nov 25, 2021 · 0 comments
Open

Complex 1-Wire networks fail to operate as expected #221

climategadgets opened this issue Nov 25, 2021 · 0 comments
Labels
1-wire bug FATAL reactive Pertinent to Reactive branches only reactive-straggler Regression from imperative to reactive code base

Comments

@climategadgets
Copy link
Member

Expected Behavior

All the sensors on all branches report status, all the switches respond to commands, shutdown is clean.

Actual Behavior

Operation is unstable, exceptions in the log (trace below), random phantom departures and arrivals are observed, the system gets stuck at shutdown.

Exception Trace

(observed at rev. ae3c96f)

2021-11-24 20:43:12,342 ERROR DriverCommand OneWireCommand-1 [execute] Error executing {OneWireCommandReadTemperatureAll messageId=6ba77d2e-ec11-4bd6-9207-dffda9879343}
 java.lang.NullPointerException: null
        at net.sf.dz3r.device.onewire.command.OneWireCommandReadTemperatureAll.execute(OneWireCommandReadTemperatureAll.java:92) ~[dz3r-owapi-3.6.8-SNAPSHOT.jar:?]
        at net.sf.dz3r.device.onewire.command.OneWireCommandReadTemperatureAll.execute(OneWireCommandReadTemperatureAll.java:55) ~[dz3r-owapi-3.6.8-SNAPSHOT.jar:?]
        at net.sf.dz3r.device.onewire.command.OneWireCommandReadTemperatureAll.execute(OneWireCommandReadTemperatureAll.java:28) ~[dz3r-owapi-3.6.8-SNAPSHOT.jar:?]
        at net.sf.dz3r.device.driver.command.DriverCommand.lambda$execute$0(DriverCommand.java:44) ~[dz3r-driver-3.6.8-SNAPSHOT.jar:?]
        at reactor.core.publisher.FluxCreate.subscribe(FluxCreate.java:94) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.Flux.subscribe(Flux.java:8468) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxFlatMap$FlatMapMain.onNext(FluxFlatMap.java:426) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:488) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onNext(FluxPeekFuseable.java:210) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:488) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.runAsync(FluxPublishOn.java:440) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.publisher.FluxPublishOn$PublishOnSubscriber.run(FluxPublishOn.java:527) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84) [reactor-core-3.4.11.jar:3.4.11]
        at reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37) [reactor-core-3.4.11.jar:3.4.11]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
@climategadgets climategadgets added bug FATAL 1-wire reactive Pertinent to Reactive branches only labels Nov 25, 2021
climategadgets added a commit that referenced this issue Nov 26, 2021
@climategadgets climategadgets added the stable-not-affected Issues with this label affect only the development branches label Oct 1, 2022
@climategadgets climategadgets removed the stable-not-affected Issues with this label affect only the development branches label Dec 1, 2023
@climategadgets climategadgets added the reactive-straggler Regression from imperative to reactive code base label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-wire bug FATAL reactive Pertinent to Reactive branches only reactive-straggler Regression from imperative to reactive code base
Projects
None yet
Development

No branches or pull requests

1 participant