Buggy code:
public class LobbyStage extends Stage implements MakesRequests { public MultiplayerScreen myGame ; public Skin skin ; public Skin skin2 ; int edgePadding ; int buttonPadding = 5 ; public Sound selectSound ; public InputMultiplexer multiplexer ; public Stage menuStage ; public Table lobby ; public Table gameDetailsView ; public Table lobbyView ; public VerticalGroup gameListView ; public VerticalGroup playerListView ; public ScrollPane gameListScroll ; public ScrollPane playerListScroll ; public float masterVolume = 0.5F ; public int userID ; public int loadedGameID ; public GameListItem gameDetails ; public Texture bgimg ; public Image logo ; public Image background ; public TextButton createGameButton ; public TextButton menuButton ; public TextButton continueButton ; public TextButton startButton ; public TextButton stopButton ; public TextButton joinButton ; public TextButton waitingButton ; public Container < TextButton > creatorButtonContainer ; public Container < TextButton > buttonContainer ; MessageDigest messageDigest ; String name ; String passwordHash ; Label status ; Label galaxyLabel ; Label sectorCountLabel ; Label maxPlayersLabel ; Label statusLabel ; ClickListener continueListener ; public ArrayList < GameListItem > gameList ; public ArrayList < PlayerListItem > playerList ; public ArrayList < GalaxyListItem > galaxyList ; boolean startGame = false ; GameJson lastGame ; public LobbyStage ( Viewport vp , int padding , Skin skin , final MultiplayerScreen myGame ) { } public void act ( float time ) { } public void goMenu ( ) { } @ SuppressWarnings ( "unchecked" ) public void showCreateGameForm ( ) { Label galaxySelectLabel = new Label ( "Galaxy" , skin ) ; @ SuppressWarnings ( "rawtypes" ) <START_BUG> SelectBox galaxySelect = new SelectBox ( skin ) ; <END_BUG> String [ ] galaxyNames = new String [ galaxyList . size ( ) ] ; int i = 0 ; for ( GalaxyListItem galaxy : galaxyList ) { galaxyNames [ i ] = galaxy . getGalaxy ( ) ; i ++ ; } galaxySelect . setItems ( galaxyNames ) ; Dialog createGameForm = new Dialog ( "New<seq2seq4repair_space>Game" , skin ) { protected void result ( Object obj ) { String selectedGalaxyName = ( ( String ) ( galaxySelect . getSelected ( ) ) ) ; selectedGalaxyName = selectedGalaxyName . toLowerCase ( ) ; for ( GalaxyListItem galaxy : galaxyList ) { String galaxyName = galaxy . getGalaxy ( ) . toLowerCase ( ) ; if ( galaxyName . contains ( selectedGalaxyName ) ) { createGame ( galaxy ) ; } } } } ; createGameForm . getContentTable ( ) . add ( galaxySelectLabel ) ; createGameForm . getContentTable ( ) . add ( galaxySelect ) ; createGameForm . button ( "Create<seq2seq4repair_space>Game" ) ; createGameForm . pack ( ) ; createGameForm . setMovable ( false ) ; createGameForm . setPosition ( ( ( ( this . getWidth ( ) ) // 2 ) - ( ( createGameForm . getWidth ( ) ) // 2 ) ) , ( ( ( this . getHeight ( ) ) // 2 ) - ( ( createGameForm . getHeight ( ) ) // 2 ) ) ) ; this . addActor ( createGameForm ) ; } public void refreshGameDetails ( ) { } public void updateNavigation ( ) { } public void loadGameDetails ( GameListItem gameDetails ) { } @ Override public void http ( OrderedMap < String , Object > map ) { } public void listGamesAction ( Json json , OrderedMap < String , Object > map ) { } public void listGalaxiesAction ( Json json , OrderedMap < String , Object > map ) { } public void listPlayersAction ( Json json , OrderedMap < String , Object > map ) { } public void loadGameAction ( Json json , OrderedMap < String , Object > map ) { } public void saveGameAction ( Json json , OrderedMap < String , Object > map ) { } public void createGameAction ( Json json , OrderedMap < String , Object > map ) { } public void joinGameAction ( Json json , OrderedMap < String , Object > map ) { } public void createGame ( GalaxyListItem galaxy ) { } public void listGames ( ) { } public void listGalaxies ( ) { } public void listPlayers ( int gameID ) { } public void setGameStatus ( int gameID , String status ) { } public void continueGame ( int gameID ) { } public void joinGame ( ) { } }

Fix:
final SelectBox galaxySelect = new SelectBox ( skin ) ;