SDRTrunk java error

Status
Not open for further replies.

Astrak

Member
Joined
Feb 17, 2005
Messages
1,632
Location
Mesa, AZ
I am getting this message after loading the USB devices
Exception in thread "main" java.lang.NullPointerException
at alias.AliasDirectory.getAliasList(Unknown Source)
at controller.channel.Channel.setupProcessingChain(Unknown Source)
at controller.channel.Channel.setup(Unknown Source)
at controller.channel.Channel.start(Unknown Source)
at controller.channel.Channel.enableChanged(Unknown Source)
at controller.channel.Channel.setResourceManager(Unknown Source)
at controller.channel.ChannelNode.init(Unknown Source)
at controller.site.SiteNode.init(Unknown Source)
at controller.system.SystemNode.init(Unknown Source)
at controller.system.SystemListNode.init(Unknown Source)
at playlist.PlaylistNode.init(Unknown Source)
at playlist.PlaylistNode.loadPlaylist(Unknown Source)
at controller.ConfigurationControllerModel.init(Unknown Source)
at gui.SDRTrunk.initGUI(Unknown Source)
at gui.SDRTrunk.<init>(Unknown Source)
at gui.SDRTrunk.main(Unknown Source)

Any help would be appreciated.
 

DSheirer

Member
Premium Subscriber
Joined
Feb 15, 2010
Messages
582
Location
Fulton, NY
I am getting this message after loading the USB devices
Exception in thread "main" java.lang.NullPointerException
at alias.AliasDirectory.getAliasList(Unknown Source)

Any help would be appreciated.

That's a bug. You have a channel set to auto-start (enabled) and the channel doesn't have a named alias list specified.

The easiest fix, if you don't have any channels setup yet, is to delete the file playlist.xml located in your user directory

.../SDRTrunk/playlist/playlist.xml.

This will delete all of the channels that you have setup thus far. If you don't want to lose those settings, the only other option is to edit the file and find the [enabled = "true"] and change it to [enabled = "false].

I'll put in a bug ticket for this and try to get a patch out with a fix.

Denny
 

AggieCon

Member
Premium Subscriber
Joined
Nov 25, 2015
Messages
1,448
Location
Texas
I'm glad you posted this thread. I ran into the same error... after spending over an hour struggle with the voice decoder compiling. Then to find it wouldn't launch was even more frustrating. All of this reminds me why I don't usually deal with Java and would be glad to do without it. It is kind of a shame, since SDR Trunk appears to have the most functionality right out of the box, except for Phase 2 TDMA voice decoding.

How do you correct the alias problem so it will launch? Or is it necessary to disable all of the channels before closing the program?

Of topic, but is it possible to assign specific RTLs to specific tasks or force the manual entry tuning point? I have different antennas on different devices, and I would like to be able to tell the software which one to use for each system.
 
Status
Not open for further replies.
Top