Author Topic: JCZ 4.3.0 Issues  (Read 238 times)

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
JCZ 4.3.0 Issues
« on: November 13, 2018, 08:26:30 AM »
Am I the only one having a problem with 4.3.0?

One three different PCs, both local games and online games.

After the computer makes a move, a red banner appears saying something about an illegal tile placement.  After that, the game is done.  Clicking the X on the red banner sometimes makes it go away, sometimes not.

In every case, the computer has made its move, but everything just stops.  My only option is to kill the game.

I am running Windows 10 with the latest Java.  Java has been updated once or twice since this issue began.

Linkback: http://www.carcassonnecentral.com/community/index.php?topic=4132.0
Robert Fielder
Brampton, Ontario, Canada  EST

Offline TheSteveAllen

  • Count
  • **
  • Posts: 344
  • Merit: 21
  • Power to the Meeple!
    • View Profile
Re: JCZ 4.3.0 Issues
« Reply #1 on: November 13, 2018, 08:53:25 AM »
You are not the only one. This problem has been reported to Farin. It does the same on Mac and Ubuntu, not just windows.

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #2 on: November 13, 2018, 09:06:26 AM »
You are not the only one. This problem has been reported to Farin. It does the same on Mac and Ubuntu, not just windows.
Yes there is no mention of the issue here?

How can anyone consider entering a competition when there is a high likelyhood that the application will crash??

Offline Decar

  • Global Moderator
  • Chatelain Officier
  • *
  • Posts: 5153
  • Merit: 233
  • Shut up and take my money!
    • View Profile
    • tehill.net
Re: JCZ 4.3.0 Issues
« Reply #3 on: November 13, 2018, 10:46:34 AM »
is the computer playing in the competition?

Can someone share the full stack trace of the error. I'll take a look at it.

Also don't forget CBB is still broken.

Offline danisthirty

  • (well, 38 actually)
  • Administrator
  • Chatelain Grand Officier
  • *
  • Posts: 6173
  • Merit: 224
  • "First to 4 points wins?"
    • View Profile
    • Dan is Thirty
Re: JCZ 4.3.0 Issues
« Reply #4 on: November 13, 2018, 12:47:36 PM »
How can anyone consider entering a competition when there is a high likelyhood that the application will crash??

Welcome back Robert, it's good to hear from you again! :(y)

You should know as well as anyone else that playing via the online server is not the only option, having made your own online server available for others during previous competitions! Even if there isn't sufficient time to address this issue before the start of the competition, there are plenty of others who can and will host games if necessary.

So now you don't have any excuses for not signing up... ;)
Heroically snatching defeat from the jaws of victory since 2018

Offline TheSteveAllen

  • Count
  • **
  • Posts: 344
  • Merit: 21
  • Power to the Meeple!
    • View Profile
Re: JCZ 4.3.0 Issues
« Reply #5 on: November 13, 2018, 02:43:21 PM »
It would appear to be an issue with an updated server. I am trying it out tomorrow evening to see if the proposed server reboot tonight has made a difference.

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #6 on: November 14, 2018, 06:15:12 AM »
Also don't forget CBB is still broken.
What is CBB?

Offline danisthirty

  • (well, 38 actually)
  • Administrator
  • Chatelain Grand Officier
  • *
  • Posts: 6173
  • Merit: 224
  • "First to 4 points wins?"
    • View Profile
    • Dan is Thirty
Re: JCZ 4.3.0 Issues
« Reply #7 on: November 14, 2018, 06:17:07 AM »
Also don't forget CBB is still broken.
What is CBB?

Castles, Bridges & Bazaars. There is bug to do with the bazaars in particular whereby auctioned tiles aren't removed from the deck properly with the result being that they may be drawn twice!

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #8 on: November 14, 2018, 06:26:19 AM »
Can someone share the full stack trace of the error. I'll take a look at it.
I have no idea how to get a "full stack trace".

Attached are the error.log file, and a screen capture of the error presented on the screen.  Had to rename the error.log file, since the forum software would not allow a .log file to be uploaded.

The problem is that it is now the computer's turn to play, and the computer never makes a move.  Everything else is fully functional.
« Last Edit: November 14, 2018, 06:29:46 AM by rfielder »

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #9 on: November 22, 2018, 06:30:24 PM »

Wow - this discussion sure came to a dead stop!

Did I offend someone?

Offline danisthirty

  • (well, 38 actually)
  • Administrator
  • Chatelain Grand Officier
  • *
  • Posts: 6173
  • Merit: 224
  • "First to 4 points wins?"
    • View Profile
    • Dan is Thirty
Re: JCZ 4.3.0 Issues
« Reply #10 on: November 23, 2018, 05:49:24 AM »
Wow - this discussion sure came to a dead stop!

Did I offend someone?

I expect so. Welcome to the club!

I'm not sure whether this is going either. Personally I haven't encountered the same problem you describe here and many of us have been using the current version of JCZ between ourselves and via the server with a good degree of success. So drawing blanks here too I'm afraid.

Offline TheSteveAllen

  • Count
  • **
  • Posts: 344
  • Merit: 21
  • Power to the Meeple!
    • View Profile
Re: JCZ 4.3.0 Issues
« Reply #11 on: November 23, 2018, 06:22:33 AM »
Wow - this discussion sure came to a dead stop!

Did I offend someone?

I expect so. Welcome to the club!

I'm not sure whether this is going either. Personally I haven't encountered the same problem you describe here and many of us have been using the current version of JCZ between ourselves and via the server with a good degree of success. So drawing blanks here too I'm afraid.

I know that farin has been trying out a few things on his server and I have tested it out for him twice recently. I failed to break it on both occasions.

This does not mean that it is fixed, however, as we need more people to test it out and report back to us (by us, I mean Farin).

As far as I know, for the moment, it is fixed, until someone tells me otherwise.
« Last Edit: November 23, 2018, 06:26:00 AM by TheSteveAllen »

Offline Decar

  • Global Moderator
  • Chatelain Officier
  • *
  • Posts: 5153
  • Merit: 233
  • Shut up and take my money!
    • View Profile
    • tehill.net
Re: JCZ 4.3.0 Issues
« Reply #12 on: November 23, 2018, 08:58:27 AM »
Oh sorry!

Whenever Java breaks it produces a stacktrace, which is basically a means of it telling us what it was doing (and how it got there) when it broke.
That can give us a clue what it was trying to do before it failed.

Usually, the errors and absorbed at runtime (so not to scare you), but if you run JCZ on the command line or on the console, it usually prints the errors out there.

If you open your JCZ folder on the command line and execute:

java -jar jcloisterzone.XXXX.jar

When you break it, I'd expect to see something on your console/command line.

If you're not comfortable running stuff on the command line, it can be a little harder to find.

As an alternative, If you're lucky you may have an error.log file in your JCZ folder!

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #13 on: December 08, 2018, 07:01:48 AM »
Whenever Java breaks it produces a stacktrace, which is basically a means of it telling us what it was doing (and how it got there) when it broke.
That can give us a clue what it was trying to do before it failed.
Sorry, have not been here for a bit.

I will run JCZ and see about getting the data dump.

Offline rfielder

  • Marquis
  • ***
  • Posts: 468
  • Merit: 10
  • Carcassonne Beginner
    • View Profile
    • Cool Country Nights
Re: JCZ 4.3.0 Issues
« Reply #14 on: December 12, 2018, 05:02:28 PM »
One dump as requested:

C:\JCloisterZone>java -jar jcloisterzone.jar
[Thread-8] ERROR com.jcloisterzone.ui.view.GameView - java.lang.IllegalArgumentException: Invalid placement [4,1],R270
java.lang.RuntimeException: java.lang.IllegalArgumentException: Invalid placement [4,1],R270
        at com.jcloisterzone.game.GameStatePhaseReducer.applyMessageOnPhase(GameStatePhaseReducer.java:147)
        at com.jcloisterzone.game.GameStatePhaseReducer.apply(GameStatePhaseReducer.java:168)
        at com.jcloisterzone.game.Game.handleInGameMessage(Game.java:266)
        at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.jcloisterzone.wsio.MessageDispatcher.dispatchOn(MessageDispatcher.java:38)
        at com.jcloisterzone.wsio.MessageDispatcher.dispatch(MessageDispatcher.java:21)
        at com.jcloisterzone.ui.ClientMessageListener.onWebsocketMessage(ClientMessageListener.java:137)
        at com.jcloisterzone.wsio.WebSocketConnection$WebSocketClientImpl.onMessage(WebSocketConnection.java:106)
        at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:248)
        at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:375)
        at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:158)
        at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:185)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Invalid placement [4,1],R270
        at com.jcloisterzone.game.phase.TilePhase.lambda$handlePlaceTile$3(TilePhase.java:163)
        at io.vavr.control.Option.getOrElseThrow(Option.java:332)
        at com.jcloisterzone.game.phase.TilePhase.handlePlaceTile(TilePhase.java:163)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.jcloisterzone.game.GameStatePhaseReducer.applyMessageOnPhase(GameStatePhaseReducer.java:145)
        ... 14 more


Share via delicious Share via digg Share via facebook Share via furl Share via linkedin Share via myspace Share via reddit Share via stumble Share via technorati Share via twitter

  Subject / Started by Replies / Views Last post
clip
Issues of the AI

Started by Hounk

0 Replies
775 Views
Last post April 03, 2015, 03:46:59 AM
by Hounk
clip
Tapatalk app issues

Started by jungleboy

11 Replies
2559 Views
Last post January 27, 2016, 04:20:04 PM
by Rich_The_Fish
xx
Forum Move and Issues

Started by jcircus

34 Replies
7937 Views
Last post January 15, 2016, 06:58:35 AM
by hunnymonster
xx
Princess & Dragon: Bugs/ Issues

Started by danisthirty

0 Replies
828 Views
Last post May 25, 2015, 12:02:53 PM
by danisthirty