Buggy code:
public class Field { public static final int EDGE_RIGHT = 0 ; public static final int EDGE_ABOVE = 1 ; public static final int EDGE_LEFT = 2 ; public static final int EDGE_BELOW = 3 ; public static final int FIELD_SIZE = 100 ; public static final String SHOT_SOUND_PATH = "sounds//Shot.mp3" ; public static final String EXPLOSION_SOUND_PATH = "sounds//Explosion.mp3" ; Sound explosionSound ; Sound shotSound ; Music explosionMusic ; Music shotMusic ; protected FieldUnit [ ] [ ] units = new FieldUnit [ 10 ] [ 10 ] ; protected Ship [ ] placedShips ; int typ ; private boolean allShipsSet = false ; public ShipPlacement sp ; float size ; private int h ; private int w ; private TiledMapTileLayer mapTileLayer ; private ArrayList < EntityShip > drawShips ; private Iterator < EntityShip > tileIterator ; private TreeMap < String , TextureRegion > shipTextures ; private TreeMap < String , TiledMapTile > shipTiles ; private int animationtimerMax = 20 ; private boolean allShipsSetManual ; private boolean feldUebertragen ; private boolean feldUebertragenAntwort = false ; public Field ( int typ ) { } public Field ( int typ , TiledMapTileSet shipTextures , TiledMapTileLayer mtl ) { } private void getShipTileSetTextures ( TiledMapTileSet st ) { } public void generateNewShipplacement ( ArrayList < Integer > schiffsEinstellung ) { } public void setManualNewShipplacement ( ArrayList < FieldUnit [ ] > placedShipUnits ) { } public void setShips ( Ship [ ] ships ) { } private void handleShipEntityDrawUnits ( Ship [ ] ships , boolean setTextureName , boolean manualPlacement ) { } public void setShipsManual ( Ship [ ] ships ) { this . placedShips = ships ; handleShipEntityDrawUnits ( placedShips , true , true ) ; allShipsSet = true ; for ( Ship ship : ships ) { <START_BUG> System . out . println ( ( ( ( ( "FeldSchiff:<seq2seq4repair_space>" + ( ship . name ) ) + "<seq2seq4repair_space>Größe" ) + ( ship . size ) ) + "<seq2seq4repair_space>" ) ) ; <END_BUG> for ( FieldUnit u : ship . location ) { System . out . print ( ( ( "<seq2seq4repair_space>ID:" + ( u . getID ( ) ) ) + ( ( u . getEntityShipDrawUnit ( ) ) == null ? "null" : "Notnull" ) ) ) ; } System . out . println ( "" ) ; } } public Ship [ ] getShips ( ) { } public FieldUnit [ ] [ ] getFieldUnits ( ) { } public FieldUnit getElementByID ( int id ) { } public FieldUnit getElementByXPosYPos ( float xPos , float yPos ) { } private void create ( ) { } private void create ( boolean test ) { } private void createEdges ( ) { } private void createNeighbors ( ) { } public void draw ( Batch batch ) { } public ArrayList < EntityShip > getTiledShips ( ) { } public boolean isAllShipsSet ( ) { } public void setAllShipsSet ( boolean setTo ) { } public void resetField ( ) { } public TreeMap < String , TextureRegion > getShipTextures ( ) { } public TreeMap < String , TiledMapTile > getShipTiles ( ) { } public TiledMapTileLayer getMapTileLayer ( ) { } public boolean getAllShipsSetManual ( ) { } public void setAllShipsSetManual ( boolean b ) { } public void setFieldUnits ( FieldUnit [ ] [ ] u ) { } public void setFieldUnitsBluetooth ( FieldUnit [ ] [ ] u ) { } public void setFieldShips ( Ship [ ] s ) { } public void sendFieldUnitsWithBluetooth ( ) { } public void serialisierungstestLocal ( Game game ) { } public void setFeldUebertragen ( boolean returnFieldSet ) { } public void setFeldUebertragenAntwort ( boolean b ) { } public boolean getFeldUebertragen ( ) { } public boolean getFeldUebertragenAntwort ( ) { } public static class ShipsDescriptor { public ArrayList < Field . ShipDescriptor > shipsPlaced ; public Field . ShipsDescriptor newShipsDescriptor ( Ship [ ] placedShips ) { } public void replaceOldFieldPlacedShips ( Field field ) { } } public static class ShipDescriptor { public Field . LocationDescriptor location ; public Field . ShipDescriptor newShipDescriptor ( Ship ship ) { } } public static class LocationDescriptor { public ArrayList < Field . FieldUnitDescriptor > fieldUnits ; public Field . LocationDescriptor newLocationDescriptor ( FieldUnit [ ] loc ) { } } public static class FieldUnitDescriptor { public int id ; public Field . FieldUnitDescriptor newFieldUnitDescriptor ( FieldUnit fieldUnit ) { } } }

Fix:
System . out . println ( ( ( "Größe" + ( ship . size ) ) + "<seq2seq4repair_space>" ) ) ;