News:

Precision Simulator update 10.174 (26 April 2024) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

PSX 10.1.7 hangs randomly

Started by siliconbase, Wed, 12 Jul 2017 11:37

siliconbase

Dear All,

PSX 10.1.7 is running fine for a while but randomly the connection to the server fails and I get the following error in error log. I updated to the latest java running on windows 8.1.

what might be the problem?
Thanks

[Aerowinx Precision Simulator - Exceptions]

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(Unknown Source)
   at EngineAutostart.readGlobSdcTimers(EngineAutostart.java:1712)
   at EngineAutostart.situLoadInit(EngineAutostart.java:1678)
   at Core.unpauseLoader(Core.java:315)
   at SituationFiler.load(SituationFiler.java:456)
   at Core.startAll(Core.java:934)
   at Aerowinx.main(Aerowinx.java:42)
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(Unknown Source)
   at EngineAutostart.readGlobProgs(EngineAutostart.java:1750)
   at EngineAutostart.situLoadInit(EngineAutostart.java:1680)
   at Core.unpauseLoader(Core.java:315)
   at SituationFiler.load(SituationFiler.java:456)
   at Core.startAll(Core.java:934)
   at Aerowinx.main(Aerowinx.java:42)
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -7
   at EngModCf6.getFuelFlowEdgePwRr(EngModCf6.java:487)
   at EngModCf6.getFuelFlowByInterpolPrAltPwRr(EngModCf6.java:509)
   at EngModCf6.getUniversalFuelFlow(EngModCf6.java:540)
   at EngModPw4000.getPile(EngModPw4000.java:411)
   at EngModPw4000$Pw4000.runEpr(EngModPw4000.java:768)
   at EngModPw4000$Pw4000.runEngine(EngModPw4000.java:1183)
   at EngModPw4000.runDelta(EngModPw4000.java:1351)
   at Core.runPresto(Core.java:1742)
   at Visuals.paint(Visuals.java:245)
   at Visuals.update(Visuals.java:234)
   at sun.awt.RepaintArea.updateComponent(Unknown Source)
   at sun.awt.RepaintArea.paint(Unknown Source)
   at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)

Hardy Heinlin

Hi,

it seems you loaded an old situation file that doesn't contain the "SdcTimers" variable for the new engine autostart program system.

Can you tell me which situ file you loaded?

Did you update your situ files for version 10.1.7?

Or did that happen when an add-on connected to the server?


Cheers,

|-|ardy

siliconbase

Dear Hardy,

You're right it was caused by a addon we developed which was misbehaving sending throttle data and when we fixed it all was OK.

Thanks,
Bora