Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: need help with an error message pls - SOLVED  (Read 479 times)

0 Members and 1 Guest are viewing this topic.

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1469
need help with an error message pls - SOLVED
« on: August 09, 2015, 12:04:43 PM »

was trying to abuse the D3A1 again and could not because I got a mission loading null error again - on a modded CUP install;
when trying to use the D3A1 as AI, the plane does not work, although the D3A2 does;

log after trying to create a mission with a D3A2 as player plane and D3A1 as AI shows this...


Hook '_ExternalBomb01' NOT found in mesh of class com.maddox.il2.objects.air.D3A1
[6:00:30 PM]   Mission error, ID_04: java.lang.ClassCastException: com.maddox.il2.objects.weapons.GunEmpty

can somebody enlighten me what is wrong here?
btw, no additional mods that alter the D3A and use classfiles are installed, only Tyrls cockpit mod and Jeros wheels and cowlings, although both are remmed out;
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 17992
  • Failure is not an option.
    • What goes around comes around, you'll see
Re: need help with an error message pls
« Reply #1 on: August 09, 2015, 12:08:13 PM »

That's the error keeping the mission from loading since it will kill the whole aircraft spawn:
Code: [Select]
java.lang.ClassCastException: com.maddox.il2.objects.weapons.GunEmpty
Could you show us the remaining part of that stacktrace please?
That would make it easier to fix the error.

Best regards - Mike
Logged
You've got no one to follow, and no one will follow you. Ain't that a relief?

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1469
Re: need help with an error message pls
« Reply #2 on: August 09, 2015, 12:27:03 PM »

Code: [Select]
Hook '_ExternalBomb01' NOT found in mesh of class com.maddox.il2.objects.air.D3A1
[6:00:30 PM] Mission error, ID_04: java.lang.ClassCastException: com.maddox.il2.objects.weapons.GunEmpty
[6:00:30 PM] java.lang.ClassCastException: com.maddox.il2.objects.weapons.GunEmpty
[6:00:30 PM] at com.maddox.il2.objects.air.D3A.onAircraftLoaded(D3A.java:29)
[6:00:30 PM] at com.maddox.il2.objects.air.Aircraft.load(Aircraft.java:2859)
[6:00:30 PM] at com.maddox.il2.game.Mission.loadAir(Mission.java:1665)
[6:00:30 PM] at com.maddox.il2.ai.Wing.load(Wing.java:144)
[6:00:30 PM] at com.maddox.il2.game.Mission.loadWings(Mission.java:1343)
[6:00:30 PM] at com.maddox.il2.game.Mission._load(Mission.java:761)
[6:00:30 PM] at com.maddox.il2.game.Mission.access$6(Mission.java:732)
[6:00:30 PM] at com.maddox.il2.game.Mission$BackgroundLoader.run(Mission.java:462)
[6:00:30 PM] at com.maddox.rts.BackgroundTask.doRun(BackgroundTask.java:155)
[6:00:30 PM] at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:108)
[6:00:30 PM] at com.maddox.il2.game.Main.exec(Main.java:449)
[6:00:30 PM] at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
[6:00:30 PM] ERROR file: File users/weaver/Icons not found
[6:00:30 PM] Mission: QuickQMBPro/Pacific_ag_Lost_Islands/Pacific_ag_Lost_Islandsbluenone00.mis is Playing
[6:00:33 PM] Time overflow (0): speed 0.2710027
[6:00:33 PM] Cannot setup 3d algorithm.Settings will be reset to DEFAULT.
[6:00:33 PM]
[6:00:33 PM] warning: no files : music/inflight
[Aug 9, 2015 6:00:40 PM] -------------- END log session -------------

thats the final part of the log starting with the error message; before that, the FM gets called and all the rest that works properly...
Logged

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 1469
Re: need help with an error message pls - SOLVED
« Reply #3 on: August 09, 2015, 12:41:18 PM »

Ok, solved!
I tried to fly the D3A1 for another air arm than the IJN and this gives the provided error;
no big deal since the D3A was only operated by the IJN and should not show up with other air arms anyhow;
when selecting the D3A and IJN together, no null error and everything works as it should, considered solved :)
Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 17992
  • Failure is not an option.
    • What goes around comes around, you'll see
Re: need help with an error message pls - SOLVED
« Reply #4 on: August 10, 2015, 01:25:31 AM »

Thanks Griffon.
This should be an easy thing to solve for any Java modder.
I'm quite busy at the moment, so anyone may feel free to pick up this task and solve the underlying issue.
If no one else does, I'll get back to this in a couple of days.

Best regards - Mike
Logged
You've got no one to follow, and no one will follow you. Ain't that a relief?
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 27 queries.