eugene-og / threes-company

Automatically exported from code.google.com/p/threes-company
0 stars 0 forks source link

Exploding and Splippery blobs can't spawn #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to split an Exploding or Slippery blob
2. Following exception will be thrown:

java.lang.RuntimeException: Couldn't spawn blob in Java!
    at edu.columbia.threescompany.gameobjects.Blob.spawn(Blob.java:44)
    at edu.columbia.threescompany.game.EventMove.execute(EventMove.java:28)
    at
edu.columbia.threescompany.client.LocalGameState.executeMoveStep(LocalGameState.
java:71)
    at
edu.columbia.threescompany.client.LocalGameState.executeMove(LocalGameState.java
:37)
    at
edu.columbia.threescompany.server.BlobsServer.mainServerLoop(BlobsServer.java:13
0)
    at edu.columbia.threescompany.server.BlobsServer.run(BlobsServer.java:102)
    at edu.columbia.threescompany.client.BlobsClient$1.run(BlobsClient.java:175)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodException:
edu.columbia.threescompany.gameobjects.SlipperyBlob.<init>(double, double,
double, edu.columbia.threescompany.game.Player)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at edu.columbia.threescompany.gameobjects.Blob.spawn(Blob.java:39)

Original issue reported on code.google.com by gene...@gmail.com on 13 Dec 2007 at 1:47

GoogleCodeExporter commented 9 years ago
Oop, right, the state reference. Willfix.

Original comment by zac...@gmail.com on 13 Dec 2007 at 2:37

GoogleCodeExporter commented 9 years ago
Test introduced in SlipperyBlobTest.java, confirmed, and fixed @ rev 393.

Original comment by zac...@gmail.com on 13 Dec 2007 at 3:38