[SOLVED] Update to SNAPSHOT #1597 (and later) partially failed (AllPlay(=SOLVED), AmazonDashButton(=SOLVED), wrapper service(=SOLVED), Z-Wave(=SOLVED))

@wborn
@J-N-K

I’ve tried snapshot 1703, same issues!

openhab> bundle:list|grep Waiting
133 │ Waiting │  80 │ 2.5.0.201909290301    │ openHAB Core :: Bundles :: Core
166 │ Waiting │  80 │ 2.5.0.201909290307    │ openHAB Core :: Bundles :: Model Persistence
181 │ Waiting │  80 │ 2.5.0.201909290306    │ openHAB Core :: Bundles :: Persistence

.
And AmazonDashButton:

12:41:29.359 [WARN ] [pcap4j.packet.factory.PacketFactories] - No PacketFactoryBinder is available. All packets will be captured as UnknownPacket.

But that looks, good. This error message should probably be suppressed but IIRC we had that always, even in the working versions.

No. No DashButtons are discovered.
Adding manual is possible. But no packages are discovered.

Same thing on my side with build #1703, Astro and many core bundles stays Waiting

It might be caused by openhab-core#1037. See also openhab-core#1053.

1 Like

Even when I try to revert to Snapshot 1674, where is was running definitely (4 weeks ago) it is not running anymore. (Replacing https://janessa.me/esh/org.openhab.binding.amazondashbutton-2.5.0-SNAPSHOT.jar back to https://janessa.me/esh/dashbutton-1.8.2.zip.

Did you also remove the jna-bundle? That needs to be in place.

No, I did not! It’s still there. I have a complete backup of Snapshot-1674 from after 09.09.2019. At 08.09.2019 we did a further test, with a new version, which was not successful. So, everytime I place old version of org.openhab.binding.amazondashbutton-2.5.0-SNAPSHOT.jar from 01.09.2019 (where it was running fine!) back to addons folder it’s getting installed new. New bundle ID. Then I get an error, when I search in inbox:

18:26:59.975 [WARN ] [ommon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.UnsatisfiedLinkError: Unable to load library 'wpcap':
Das angegebene Modul wurde nicht gefunden.

Das angegebene Modul wurde nicht gefunden.

Das angegebene Modul wurde nicht gefunden.

Native library (win32-x86-64/wpcap.dll) not found in resource path (C:\Openhab2\userdata\conf;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.diagnostic.boot-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.jaas.boot-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.main-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.specs.activator-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.osgi.core-6.0.0.jar)
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302) ~[?:?]
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:397) ~[?:?]
        at com.sun.jna.Function.getFunction(Function.java:102) ~[?:?]
        at org.pcap4j.core.NativeMappings.<clinit>(NativeMappings.java:44) ~[?:?]
        at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:56) ~[?:?]
        at org.openhab.binding.amazondashbutton.internal.pcap.PcapUtil.getAllNetworkInterfaces(PcapUtil.java:40) ~[?:?]
        at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.determineBoundNetworkInterfaces(PcapNetworkInterfaceService.java:168) ~[?:?]
        at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.lambda$0(PcapNetworkInterfaceService.java:56) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) ~[?:?]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: Das angegebene Modul wurde nicht gefunden.

                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:397) ~[?:?]
                at com.sun.jna.Function.getFunction(Function.java:102) ~[?:?]
                at org.pcap4j.core.NativeMappings.<clinit>(NativeMappings.java:44) ~[?:?]
                at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:56) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapUtil.getAllNetworkInterfaces(PcapUtil.java:40) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.determineBoundNetworkInterfaces(PcapNetworkInterfaceService.java:168) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.lambda$0(PcapNetworkInterfaceService.java:56) ~[?:?]
                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
                at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
                at java.lang.Thread.run(Unknown Source) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: Das angegebene Modul wurde nicht gefunden.

                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:397) ~[?:?]
                at com.sun.jna.Function.getFunction(Function.java:102) ~[?:?]
                at org.pcap4j.core.NativeMappings.<clinit>(NativeMappings.java:44) ~[?:?]
                at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:56) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapUtil.getAllNetworkInterfaces(PcapUtil.java:40) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.determineBoundNetworkInterfaces(PcapNetworkInterfaceService.java:168) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.lambda$0(PcapNetworkInterfaceService.java:56) ~[?:?]
                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
                at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
                at java.lang.Thread.run(Unknown Source) [?:?]
        Suppressed: java.lang.UnsatisfiedLinkError: Das angegebene Modul wurde nicht gefunden.

                at com.sun.jna.Native.open(Native Method) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:265) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:397) ~[?:?]
                at com.sun.jna.Function.getFunction(Function.java:102) ~[?:?]
                at org.pcap4j.core.NativeMappings.<clinit>(NativeMappings.java:44) ~[?:?]
                at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:56) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapUtil.getAllNetworkInterfaces(PcapUtil.java:40) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.determineBoundNetworkInterfaces(PcapNetworkInterfaceService.java:168) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.lambda$0(PcapNetworkInterfaceService.java:56) ~[?:?]
                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
                at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
                at java.lang.Thread.run(Unknown Source) [?:?]
        Suppressed: java.io.IOException: Native library (win32-x86-64/wpcap.dll) not found in resource path (C:\Openhab2\userdata\conf;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.diagnostic.boot-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.jaas.boot-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.main-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.apache.karaf.specs.activator-4.2.6.jar;C:\Openhab2\runtime\bin\..\lib\boot\org.osgi.core-6.0.0.jar)
                at com.sun.jna.Native.extractFromResourcePath(Native.java:1095) ~[?:?]
                at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455) ~[?:?]
                at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:397) ~[?:?]
                at com.sun.jna.Function.getFunction(Function.java:102) ~[?:?]
                at org.pcap4j.core.NativeMappings.<clinit>(NativeMappings.java:44) ~[?:?]
                at org.pcap4j.core.Pcaps.findAllDevs(Pcaps.java:56) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapUtil.getAllNetworkInterfaces(PcapUtil.java:40) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.determineBoundNetworkInterfaces(PcapNetworkInterfaceService.java:168) ~[?:?]
                at org.openhab.binding.amazondashbutton.internal.pcap.PcapNetworkInterfaceService.lambda$0(PcapNetworkInterfaceService.java:56) ~[?:?]
                at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?]
                at java.util.concurrent.FutureTask.runAndReset(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) ~[?:?]
                at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) ~[?:?]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
                at java.lang.Thread.run(Unknown Source) [?:?]

There’s now a #1704 build with a fix so those bundles should no longer remain in the “Waiting” state.

1 Like

@J-N-K

I got it finaly running again with Snapshot 1674. But only with this file:

First version from ‎Sonntag, ‎1. ‎September ‎2019 of this: (see here)

230 │ Active │  80 │ 2.5.0.201909010813    │ openHAB Add-ons :: Bundles :: Amazon Dash Button Binding

https://janessa.me/esh/org.openhab.binding.amazondashbutton-2.5.0-SNAPSHOT.jar
.

But NOT and never again with this combination: https://janessa.me/esh/dashbutton-1.8.2.zip

I wanted to exclude problems due to Windows 10 Updates.

So, now I could try Snapshot 1704…
.
.

EDIT: I’ve tried 1704. Same error:

20:48:15.163 [WARN ] [pcap4j.packet.factory.PacketFactories] - No PacketFactoryBinder is available. All packets will be captured as UnknownPacket.

Same like in 1702, 1703. No DashButton is discovered in inbox while searching!
.
.

@wborn
The other errors = “Waiting” are indeed gone! :slight_smile:

1 Like

.

20:48:15.163 [WARN ] [pcap4j.packet.factory.PacketFactories] - No PacketFactoryBinder is available. All packets will be captured as UnknownPacket.

.

I’ve never ever had this message before. And with this message, no DashButtons are running! Should I provide a TRACE log?

.
Maybe you mix it up with:

19:24:03.271 [WARN ] [pcap4j.packet.factory.PacketFactories] - java.lang.NoClassDefFoundError:org/pcap4j/packet/factory/PacketFactoryBinder

See also this post.

But this seems to be different…?

@J-N-K

I’ve now tried Snapshot 1705, same issue:

.

19:23:18.268 [WARN ] [pcap4j.packet.factory.PacketFactories] - No PacketFactoryBinder is available. All packets will be captured as UnknownPacket.

.
.
Then I’ve put your version 2.5.0.201909010813 (from 01.09.2019) into addons folder:

212 │ Active │  80 │ 2.5.0.201909010813    │ openHAB Add-ons :: Bundles :: Amazon Dash Button Binding

.
.
Dashbutton is running! :slight_smile:

@J-N-K

19:23:18.268 [WARN ][pcap4j.packet.factory.PacketFactories] - No PacketFactoryBinder is available. All packets will be captured as UnknownPacket.

Are you still willing to solve this error? If there are any further information neccessary then please let me know! Thanks a lot! :slight_smile:

same here with the Astro binding.

@J-N-K

A simple “NO, BECAUSE…” or “YES, BUT…” would be enough as a first reply. Thanks a lot! :slight_smile:

I appreciate your help very much and I know that all contributions are made voluntarily and in leisure. Nevertheless a short answer would be very polite. :slight_smile:

I have enough patience and I still can wait. Mainly the error will be solved later sometime.

It may be that I was on holiday.

1 Like

@J-N-K

I want kindly ask you if you had time to resolve the problem or when you will have time to do this? :slight_smile:

I’ll try to check this weekend.

1 Like

Just to keep you updated: I did start, but not sure what the real problem is.

Thank you very much for information. If this would help, I could provide a TRACE log. It seems to be that Raw 802.11 Packet Capture is not running.