Skip to content
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

P25 Frequency Band Null Error #2020

Closed
DSheirer opened this issue Oct 16, 2024 · 0 comments · Fixed by #2021
Closed

P25 Frequency Band Null Error #2020

DSheirer opened this issue Oct 16, 2024 · 0 comments · Fixed by #2021
Assignees
Labels
Milestone

Comments

@DSheirer
Copy link
Owner

DSheirer commented Oct 16, 2024

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)
@DSheirer DSheirer added the bug label Oct 16, 2024
@DSheirer DSheirer self-assigned this Oct 16, 2024
@DSheirer DSheirer added this to the Version 0.6.1 milestone Oct 16, 2024
DSheirer added a commit that referenced this issue Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant