You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The line of code below will throw a null reference exception when attempting to use the GraphicalClient instead of TextClient in student ship programs:
The issue appears to be that instead of assigning to the field shipType at line 75 the code instead assigns to a local variable leaving the field with a null value:
The line of code below will throw a null reference exception when attempting to use the
GraphicalClient
instead ofTextClient
in student ship programs:SpaceBattleArena/java_client_src/src/ihs/apcs/spacebattle/GraphicalClient.java
Line 129 in 9e4a7bb
The issue appears to be that instead of assigning to the field
shipType
at line 75 the code instead assigns to a local variable leaving the field with a null value:SpaceBattleArena/java_client_src/src/ihs/apcs/spacebattle/GraphicalClient.java
Line 75 in 9e4a7bb
The text was updated successfully, but these errors were encountered: