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 1011 times)

0 Members and 1 Guest are viewing this topic.

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2199
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: 23587
  • Taking a timeout
    • STFU
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
Don't split your mentality without thinking twice.

Griffon_301

  • SAS Team
  • member
  • Offline Offline
  • Posts: 2199
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: 2199
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: 23587
  • Taking a timeout
    • STFU
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
Don't split your mentality without thinking twice.
Pages: [1]   Go Up
 

Page created in 0.076 seconds with 24 queries.