Page MenuHomeSchine - Phabricator

Starmade | NPC fleet related exception
Closed, FinishedPublic

Description

Seems to be an issue you run in quickly if you fly around in NPC territory

java.sql.SQLDataException: data exception: string data, right truncation
	at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
	at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
	at org.hsqldb.jdbc.JDBCPreparedStatement.fetchResult(Unknown Source)
	at org.hsqldb.jdbc.JDBCPreparedStatement.executeUpdate(Unknown Source)
	at org.schema.game.common.controller.database.tables.FleetTable.updateFleetCommand(FleetTable.java:90)
	at org.schema.game.common.data.fleet.FleetManager.saveCommandInDb(FleetManager.java:317)
	at org.schema.game.common.data.fleet.FleetManager.executeCommand(FleetManager.java:586)
	at org.schema.game.server.data.simulation.npc.geo.NPCSystemFleetManager.assignPatrolMissions(NPCSystemFleetManager.java:116)
	at org.schema.game.server.data.simulation.npc.geo.NPCSystemFleetManager.comPatrol(NPCSystemFleetManager.java:219)
	at org.schema.game.server.data.simulation.npc.geo.NPCSystemFleetManager.onCommandPartFinished(NPCSystemFleetManager.java:174)
	at org.schema.game.server.data.simulation.npc.geo.NPCSystem.onCommandPartFinished(NPCSystem.java:601)
	at org.schema.game.server.data.simulation.npc.geo.NPCSystemStructure.onCommandPartFinished(NPCSystemStructure.java:1152)
	at org.schema.game.server.data.simulation.npc.NPCFaction.onCommandPartFinished(NPCFaction.java:781)
	at org.schema.game.common.data.fleet.Fleet.onCommandPartFinished(Fleet.java:538)
	at org.schema.game.common.data.fleet.missions.machines.states.Moving.stateTransition(Moving.java:34)
	at org.schema.schine.ai.stateMachines.State.stateTransition(State.java:189)
	at org.schema.game.common.data.fleet.missions.machines.states.FleetState.moveToCurrentTarget(FleetState.java:257)
	at org.schema.game.common.data.fleet.missions.machines.states.Moving.onUpdate(Moving.java:41)
	at org.schema.schine.ai.stateMachines.FiniteStateMachine.update(FiniteStateMachine.java:173)
	at org.schema.schine.ai.stateMachines.AiEntityState.updateOnActive(AiEntityState.java:145)
	at org.schema.game.common.data.fleet.Fleet.updateOnActive(Fleet.java:92)
	at org.schema.schine.ai.MachineProgram.update(MachineProgram.java:119)
	at org.schema.game.common.data.fleet.FleetManager.updateServer(FleetManager.java:99)
	at org.schema.game.common.data.fleet.FleetManager.update(FleetManager.java:86)
	at org.schema.game.server.controller.GameServerController.update(GameServerController.java:1196)
	at org.schema.schine.network.server.ServerController.run(ServerController.java:275)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.hsqldb.HsqlException: data exception: string data, right truncation
	at org.hsqldb.error.Error.error(Unknown Source)
	at org.hsqldb.error.Error.error(Unknown Source)
	at org.hsqldb.types.CharacterType.castOrConvertToType(Unknown Source)
	at org.hsqldb.types.CharacterType.convertToType(Unknown Source)
	at org.hsqldb.StatementDML.getUpdatedData(Unknown Source)
	at org.hsqldb.StatementDML.executeUpdateStatement(Unknown Source)
	at org.hsqldb.StatementDML.getResult(Unknown Source)
	at org.hsqldb.StatementDMQL.execute(Unknown Source)
	at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
	at org.hsqldb.Session.execute(Unknown Source)
	... 25 more

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.200.273
Category
NPC-Factions
First occurrence (version)
0.200.2xx
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  1. NPC factions enabled
  2. Go to system 0 0 0 (trading guild)
  3. Fly around a bit and load or unload NPC fleets
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

lancake created this task.Dec 17 2017, 6:02 PM
Restricted Application added a project: NPC-Factions. · View Herald TranscriptDec 17 2017, 6:02 PM
schema added a commit: Restricted Diffusion Commit.Dec 18 2017, 9:44 PM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptDec 18 2017, 9:44 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
schema added a commit: Restricted Diffusion Commit.Dec 22 2017, 12:29 AM
lancake closed this task as Closed.

-QA Testing-

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptDec 29 2017, 6:02 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.200.255 to 0.200.273.Dec 29 2017, 6:02 PM