Re: java.lang.NullPointerException with 13.8.0
Posted: Sun Dec 10, 2023 6:38 pm
From the first error in the logs it seems to have trouble loading MediaInfo
Something to do with "Native library (linux-x86-64/libzen.so) not found in resource path", and without MediaInfo UMS will not know how to handle your media.
It could be you have an old version on your system that did not get updated with UMS, or something is missing from UMS that should have been included when it was installed.
I don't see any mention of MediaInfoLib being loaded though. I'm testing V14 and mine shows as
I know little about linux to know exactly how to fix but try installing mediainfo yourself and see if that fixes it.
Code: Select all
net.pms.parsers.mediainfo.MediaInfoLibrary
java.lang.UnsatisfiedLinkError: Unable to load library 'zen':
libzen.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
libzen.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Native library (linux-x86-64/libzen.so) not found in resource path (update.jar:ums.jar)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:323)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:483)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:425)
at net.pms.parsers.mediainfo.MediaInfoLibrary.createInstance(MediaInfoLibrary.java:78)
at net.pms.parsers.mediainfo.MediaInfoLibrary.<clinit>(MediaInfoLibrary.java:39)
at net.pms.parsers.mediainfo.MediaInfoHelper.<init>(MediaInfoHelper.java:37)
at net.pms.parsers.MediaInfoParser.<clinit>(MediaInfoParser.java:82)
at net.pms.configuration.RendererConfiguration.isUseMediaInfo(RendererConfiguration.java:1181)
at net.pms.configuration.RendererConfiguration.init(RendererConfiguration.java:402)
at net.pms.configuration.RendererConfiguration.<init>(RendererConfiguration.java:213)
at net.pms.configuration.RendererConfigurations.loadRendererConfigurations(RendererConfigurations.java:371)
at net.pms.PMS.init(PMS.java:530)
at net.pms.PMS.createInstance(PMS.java:868)
at net.pms.PMS.main(PMS.java:1022)
Suppressed: java.lang.UnsatisfiedLinkError: libzen.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:211)
... 13 common frames omitted
Suppressed: java.lang.UnsatisfiedLinkError: libzen.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
at com.sun.jna.Native.open(Native Method)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:224)
... 13 common frames omitted
Suppressed: java.io.IOException: Native library (linux-x86-64/libzen.so) not found in resource path (update.jar:ums.jar)
at com.sun.jna.Native.extractFromResourcePath(Native.java:1145)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:295)
... 13 common frames omitted
It could be you have an old version on your system that did not get updated with UMS, or something is missing from UMS that should have been included when it was installed.
I don't see any mention of MediaInfoLib being loaded though. I'm testing V14 and mine shows as
Code: Select all
[main] Loaded MediaInfoLib - v23.10