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

Pilot filing an invalid altitude crashes vatprism #137

Open
nilesr opened this issue Apr 3, 2024 · 1 comment · May be fixed by #138
Open

Pilot filing an invalid altitude crashes vatprism #137

nilesr opened this issue Apr 3, 2024 · 1 comment · May be fixed by #138

Comments

@nilesr
Copy link

nilesr commented Apr 3, 2024

Log:

2024-04-02 19:08:20,529 INFO  [      4413] --- [                 Thread-6] n.m.f.v.m.v.p.PreloaderViewModel              : Loading Clients
2024-04-02 19:08:20,580 ERROR [      4464] --- [JavaFX Application Thread] n.m.f.v.m.v.p.PreloaderViewModel              : Failed preloader task "Loading Clients"
java.lang.NumberFormatException: For input string: "30000002000"
	at java.lang.NumberFormatException.forInputString(Unknown Source) ~[?:?]
	at java.lang.Integer.parseInt(Unknown Source) ~[?:?]
	at java.lang.Integer.parseInt(Unknown Source) ~[?:?]
	at net.marvk.fs.vatsim.map.data.FlightPlan.lambda$parseAltitude$3(FlightPlan.java:281) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.ParseUtil.parseNullSafe(ParseUtil.java:16) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.FlightPlan.parseAltitude(FlightPlan.java:273) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.FlightPlan.setFromModel(FlightPlan.java:53) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.Pilot.setFromModel(Pilot.java:54) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.Pilot.setFromModel(Pilot.java:15) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.SimpleDataRepository.updateList(SimpleDataRepository.java:93) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.ClientRepository.updateList(ClientRepository.java:166) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.data.SimpleDataRepository.reload(SimpleDataRepository.java:49) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.view.preloader.PreloaderViewModel.runTimed(PreloaderViewModel.java:180) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.view.preloader.PreloaderViewModel$CallableTask.call(PreloaderViewModel.java:208) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.view.preloader.PreloaderViewModel$CompositeTask.call(PreloaderViewModel.java:235) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at net.marvk.fs.vatsim.map.view.preloader.PreloaderViewModel$CompositeTask.call(PreloaderViewModel.java:214) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1426) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at javafx.concurrent.Service.lambda$executeTask$6(Service.java:728) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
	at javafx.concurrent.Service.lambda$executeTask$7(Service.java:727) ~[vatsim-map-0.3.5-fat.jar:0.3.5]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]

@nilesr
Copy link
Author

nilesr commented Apr 3, 2024

found the callsign
image

but CRC doesn't show them
image

@wiggleforlife wiggleforlife linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant