Skip to content

P25 Frequency Band Null Error #2020

Closed
@DSheirer

Description

@DSheirer

sdrtrunk Version
master

Describe the bug

20241015 174644.155 [sdrtrunk channel [77/P25-2] 770793750 thread 1]
ERROR i.g.d.sample.Broadcaster - Error while broadcasting [class
io.github.dsheirer.identifier.IdentifierUpdateNotification] to listeners
[Log Suppress 1/5]  [501MB/1GB 48%]
java.lang.NullPointerException: Cannot invoke
"io.github.dsheirer.module.decode.p25.phase1.message.IFrequencyBand.getIdentifier()"
because "frequencyBand" is null
    at io.github.dsheirer.module.decode.p25.identifier.channel.P25Channel.setFrequencyBand(P25Channel.java:137)
    at io.github.dsheirer.module.decode.p25.identifier.channel.APCO25Channel.decorateAs(APCO25Channel.java:138)
    at io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderState.setCurrentChannel(P25P2DecoderState.java:1071)
    at
io.github.dsheirer.channel.state.TimeslotDecoderState$TimeslotConfigurationIdentifierListener.receive(TimeslotDecoderState.java:94)
    at
io.github.dsheirer.channel.state.TimeslotDecoderState$TimeslotConfigurationIdentifierListener.receive(TimeslotDecoderState.java:63)
    at
io.github.dsheirer.sample.Broadcaster.broadcast(Broadcaster.java:128)
    at io.github.dsheirer.sample.Broadcaster.receive(Broadcaster.java:52)
    at
io.github.dsheirer.identifier.MutableIdentifierCollection.notifyAdd(MutableIdentifierCollection.java:102)
    at
io.github.dsheirer.identifier.MutableIdentifierCollection.add(MutableIdentifierCollection.java:128)
    at
io.github.dsheirer.identifier.MutableIdentifierCollection.update(MutableIdentifierCollection.java:222)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderState.processChannelGrant(P25P2DecoderState.java:747)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderState.processMacMessage(P25P2DecoderState.java:351)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderState.receive(P25P2DecoderState.java:227)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderState.receive(P25P2DecoderState.java:140)
    at
io.github.dsheirer.sample.Broadcaster.broadcast(Broadcaster.java:128)
    at io.github.dsheirer.sample.Broadcaster.receive(Broadcaster.java:52)
    at
io.github.dsheirer.module.decode.Decoder$MessageDistributor.receive(Decoder.java:115)
    at
io.github.dsheirer.module.decode.Decoder$MessageDistributor.receive(Decoder.java:108)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2MessageProcessor.receive(P25P2MessageProcessor.java:231)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2MessageProcessor.receive(P25P2MessageProcessor.java:48)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2SuperFrameDetector.broadcast(P25P2SuperFrameDetector.java:328)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2SuperFrameDetector.broadcastFragment(P25P2SuperFrameDetector.java:239)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2SuperFrameDetector.checkFragmentSync(P25P2SuperFrameDetector.java:353)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2SuperFrameDetector.receive(P25P2SuperFrameDetector.java:201)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2MessageFramer.receive(P25P2MessageFramer.java:118)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2MessageFramer.receive(P25P2MessageFramer.java:55)
    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.DQPSKGardnerDemodulator.calculateSymbol(DQPSKGardnerDemodulator.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.phase2.P25P2DecoderHDQPSK.receive(P25P2DecoderHDQPSK.java:155)
    at
io.github.dsheirer.module.decode.p25.phase2.P25P2DecoderHDQPSK.receive(P25P2DecoderHDQPSK.java:63)
    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.TwoChannelOutputProcessor.process(TwoChannelOutputProcessor.java:126)
    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)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions