-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[systeminfo] 2.5M2 - ERROR - Cannot instantate Systeminfo object! #5921
Labels
bug
An unexpected problem or unintended behavior of an add-on
Comments
It seems to be a bug in JNA which can be fixed by upgrading JNA from 5.3.0 to 5.3.1: See: |
Pardon my ignorance; I'm new to Git and Java. Is this something I can do
on my machine locally or do I need to wait for an OH snapshot build?
…On Tue, Aug 13, 2019 at 5:57 AM Wouter Born ***@***.***> wrote:
It seems to be a bug in JNA which can be fixed by upgrading JNA from 5.3.0
to 5.3.1:
See:
- oshi/oshi#842 <oshi/oshi#842>
- java-native-access/jna#1087
<java-native-access/jna#1087>
- oshi/oshi#845 <oshi/oshi#845>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/openhab/openhab2-addons/issues/5921?email_source=notifications&email_token=AM4INWMABSL27L2FGTDJ6Y3QEKHRPA5CNFSM4ILFTIQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FJRVA#issuecomment-520788180>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AM4INWPFJ5FR7WHMH4LSIATQEKHRPANCNFSM4ILFTIQQ>
.
|
We'll need to update some version numbers. When those have been updated it will eventually be available in a new snapshot build. :-) |
wborn
added a commit
to wborn/openhab-addons
that referenced
this issue
Aug 14, 2019
* Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
wborn
added a commit
to wborn/openhab-addons
that referenced
this issue
Aug 14, 2019
* Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
wborn
added a commit
to wborn/openhab-addons
that referenced
this issue
Aug 14, 2019
* Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
wborn
added a commit
to wborn/openhab-addons
that referenced
this issue
Aug 14, 2019
* Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
J-N-K
pushed a commit
that referenced
this issue
Aug 15, 2019
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes #5921 Signed-off-by: Wouter Born <[email protected]>
sprehn
pushed a commit
to sprehn/openhab-addons
that referenced
this issue
Aug 21, 2019
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
chaton78
pushed a commit
to chaton78/openhab-addons
that referenced
this issue
Sep 2, 2019
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: Pascal Larin <[email protected]>
ne0h
pushed a commit
to ne0h/openhab-addons
that referenced
this issue
Sep 15, 2019
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: Maximilian Hess <[email protected]>
Pshatsillo
pushed a commit
to Pshatsillo/openhab-addons
that referenced
this issue
Dec 8, 2019
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
tmrobert8
pushed a commit
to tmrobert8/openhab-addons
that referenced
this issue
Jan 21, 2020
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: Tim Roberts <[email protected]>
hww3
pushed a commit
to hww3/openhab2-addons
that referenced
this issue
Feb 22, 2020
* [systeminfo] Update dependencies and add null annotations * Update oshi to 4.0.0 * Update jna to 5.4.0 * Add null annotations The cpu#load channel is removed because its data is no longer provided by oshi. The load1, load5 and load15 channels can be used instead. On the Oracle JVM this information can also be obtained using com.sun.management.OperatingSystemMXBean.getSystemCpuLoad() See also: * https://github.com/oshi/oshi/blob/master/UPGRADING.md * https://github.com/oshi/oshi/blob/master/CHANGELOG.md#400-8102019 Fixes openhab#5921 Signed-off-by: Wouter Born <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrade to openHab 2.5M2 the systeminfo v2 binding no longer works. When adding the Local Computer item from the Inbox the following ERROR is raised.
This issue wasn't present in 2.4 or 2.5M1
Your Environment
Windows 10
Java jre1.8.0_191
openhab 2.5.0.M2
systeminfo 2.5.0.M2
The text was updated successfully, but these errors were encountered: