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 AMBTC Status Query - Null Data Block Error #1971

Closed
DSheirer opened this issue Sep 5, 2024 · 0 comments · Fixed by #1976
Closed

P25 AMBTC Status Query - Null Data Block Error #1971

DSheirer opened this issue Sep 5, 2024 · 0 comments · Fixed by #1976
Labels

Comments

@DSheirer
Copy link
Owner

DSheirer commented Sep 5, 2024

java.lang.NullPointerException: Cannot invoke "io.github.dsheirer.module.decode.p25.phase1.message.pdu.block.UnconfirmedDataBlock.getMessage()" because the return value of "io.github.dsheirer.module.decode.p25.phase1.message.pdu.ambtc.osp.AMBTCStatusQuery.getDataBlock(int)" is null
at io.github.dsheirer.module.decode.p25.phase1.message.pdu.ambtc.osp.AMBTCStatusQuery.getSourceAddress(AMBTCStatusQuery.java:90)
at io.github.dsheirer.module.decode.p25.phase1.message.pdu.ambtc.osp.AMBTCStatusQuery.getIdentifiers(AMBTCStatusQuery.java:108)
at io.github.dsheirer.alias.action.AliasActionManager.receive(AliasActionManager.java:58)
at io.github.dsheirer.alias.action.AliasActionManager.receive(AliasActionManager.java:43)
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.phase1.P25P1MessageProcessor.receive(P25P1MessageProcessor.java:128)
at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageProcessor.receive(P25P1MessageProcessor.java:43)
at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.dispatchMessage(P25P1MessageFramer.java:252)
at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.receive(P25P1MessageFramer.java:203)
at io.github.dsheirer.module.decode.p25.phase1.P25P1MessageFramer.receive(P25P1MessageFramer.java:69)
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.phase1.P25P1DecoderLSM.receive(P25P1DecoderLSM.java:130)
at io.github.dsheirer.module.decode.p25.phase1.P25P1DecoderLSM.receive(P25P1DecoderLSM.java:39)
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)

@DSheirer DSheirer added the bug label Sep 5, 2024
DSheirer added a commit that referenced this issue Sep 9, 2024
DSheirer pushed a commit that referenced this issue Sep 10, 2024
…gged as invalid when ISSI patch assigned a local address/ID of zero.
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