DSheirer / sdrtrunk

A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR). Website:
GNU General Public License v3.0
1.52k stars 246 forks source link

P25P1 mDataUnitId Is Null Error #1858

Open DSheirer opened 5 months ago

DSheirer commented 5 months ago

sdrtrunk Version master

Describe the bug Error in the log file.

Application Log

FYI, latest Nightly build on Windows 2024-02-13T09:27:56.887+0000

2024-02-14 21:55:14.063 INFO  i.g.d.a.c.m.ImbeAudioModule - JMBE audio conversion library IMBE CODEC successfully loaded - P25-1 audio will be available  [126MB/176MB 71%]
2024-02-14 21:55:14.181 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [135MB/176MB 76%]
2024-02-14 21:55:14.568 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [156MB/392MB 39%]
2024-02-14 21:55:18.569 ERROR i.g.d.sample.Broadcaster - Error while broadcasting [class io.github.dsheirer.dsp.symbol.Dibit] to listeners [Log Suppress 1/5]  [446MB/1GB 28%]
java.lang.NullPointerException: Cannot invoke "io.github.dsheirer.module.decode.p25.phase1.P25P1DataUnitID.getMessageLength()" because "this.mDataUnitID" is null
        at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.dispatchMessage(P25P1MessageFramer.java:325)
        at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.receive(P25P1MessageFramer.java:204)
        at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.receive(P25P1MessageFramer.java:70)
        at io.github.dsheirer.sample.Broadcaster.broadcast(Broadcaster.java:128)
        at io.github.dsheirer.sample.Broadcaster.receive(Broadcaster.java:52)
        at io.github.dsheirer.dsp.psk.PSKDemodulator.broadcast(PSKDemodulator.java:87)
        at io.github.dsheirer.dsp.psk.DQPSKDecisionDirectedDemodulator.calculateSymbol(DQPSKDecisionDirectedDemodulator.java:88)
        at io.github.dsheirer.dsp.psk.PSKDemodulator.receive(PSKDemodulator.java:146)
        at io.github.dsheirer.dsp.psk.PSKDemodulator.receive(PSKDemodulator.java:121)
        at io.github.dsheirer.module.decode.p25.phase1.P25P1DecoderC4FM.receive(P25P1DecoderC4FM.java:124)
        at io.github.dsheirer.module.decode.p25.phase1.P25P1DecoderC4FM.receive(P25P1DecoderC4FM.java:40)
        at io.github.dsheirer.sample.Broadcaster.broadcast(Broadcaster.java:128)
        at io.github.dsheirer.sample.Broadcaster.receive(Broadcaster.java:52)
        at io.github.dsheirer.dsp.filter.channelizer.PolyphaseChannelSource.receive(PolyphaseChannelSource.java:145)
        at io.github.dsheirer.dsp.filter.channelizer.PolyphaseChannelSource.receive(PolyphaseChannelSource.java:40)
        at io.github.dsheirer.dsp.filter.channelizer.output.OneChannelOutputProcessor.process(OneChannelOutputProcessor.java:113)
        at io.github.dsheirer.dsp.filter.channelizer.output.ChannelOutputProcessor.lambda$new$0(ChannelOutputProcessor.java:56)
        at io.github.dsheirer.util.Dispatcher.process(Dispatcher.java:184)
        at io.github.dsheirer.util.Dispatcher$ProcessorWithHeartbeat.run(Dispatcher.java:226)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
2024-02-14 21:55:37.775 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [1GB/1GB 55%]
2024-02-14 21:55:45.613 INFO  i.g.d.s.t.m.FrequencyErrorCorrectionManager - Auto-Correcting Tuner PPM to [1.2]  [181MB/1GB 9%]
n2ygk commented 2 weeks ago

@DSheirer I am seeing this as well with June 2, 2024 nightly build running on Raspi 5.

alan@raspberrypi:~ $ uname -a
Linux raspberrypi 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
alan@raspberrypi:~ $ ls -l sdr-trunk-linux-aarch64-vnightly.zip 
-rw-r--r-- 1 alan alan 76318885 Jun  2 07:20 sdr-trunk-linux-aarch64-vnightly.zip

sdrlog.txt