The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
MinimStreamer 2.1.6 – NullPointerException in checkConverterLibDir() on Fedora 44
Today, 16:00
Post: #1
MinimStreamer 2.1.6 – NullPointerException in checkConverterLibDir() on Fedora 44
**Subject: MinimStreamer 2.1.6 – NullPointerException in checkConverterLibDir() on Fedora 44**

Hello Simon,

I am experiencing a startup failure with MinimServer 2.2 update 275 and MinimStreamer 2.1.6 on Fedora 44, using OpenJDK 25.0.4.1.

The MinimServer web interface displays an error, and the UPnP MediaServer service is not advertised on the network.

The following exception occurs during startup:

```text
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toString()" because "<parameter2>" is null
at com.minimstreamer.Streamer.checkConverterLibDir(Streamer.java:2041)
at com.minimstreamer.Streamer.checkConvDir(Streamer.java:463)
at com.minimstreamer.Streamer.checkConvDir(Streamer.java:456)
at com.minimstreamer.Streamer.getDefaultConverter(Streamer.java:941)
at com.minimstreamer.Streamer.doTranscodeInit(Streamer.java:377)
at com.minimstreamer.Streamer.updateProperty(Streamer.java:660)
at org.jminim.core.ContextImpl.syncSetProperty(ContextImpl.java:704)
at org.jminim.core.ContextImpl.setProperty(ContextImpl.java:554)
at com.minimserver.Server.doStart(Server.java:3763)
```

My configuration includes:

```text
stream.converter = /home/druphost/minimserver/opt/bin/ffmpeg
stream.transcode = aac:wav, flac:wav24;
```

FFmpeg is version 7.0.2-static (John Van Sickle). The executable exists, has the correct permissions and runs successfully from the command line.

Using `ffmpeg` alone for `stream.converter` is rejected, whereas the absolute path is accepted.

The same exception occurs after a full reboot, both with and without RAM mode enabled.

The MinimServer monitoring services respond to SSDP discovery, but the UPnP MediaServer and ContentDirectory services are not advertised.

Could you please advise what might cause `checkConverterLibDir()` to receive a null Path during initialization, and whether there is a recommended diagnostic procedure or workaround?

Thank you for your help. Shy
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
MinimStreamer 2.1.6 – NullPointerException in checkConverterLibDir() on Fedora 44 - alf52 - Today 16:00

Forum Jump:


User(s) browsing this thread: 1 Guest(s)