SourceForge has been redesigned. Learn more.
Close

#552 Interaction pane freezes

closed-fixed
nobody
5
2007-03-06
2006-11-29
Anonymous
No

I found that the interaction pane freezes after few steps of the game play, while testing a text-based game on Dr.Java. Please see the attached classes and run TTTTextDriver. Thanks

Discussion

  • Nobody/Anonymous

    java TTTTextDriver

     
  • Robert Cartwright

    Logged In: YES
    user_id=430590
    Originator: NO

    Please upload your source code. I can't tell if the bug is in your source code or in DrJava. I was ready to include that it must be in your code, but I can't reset the interactions pane when your program hangs so it appears that DrJava is not working properly.

     
  • Mathias Ricken

    Mathias Ricken - 2007-02-02

    Logged In: YES
    user_id=1075744
    Originator: NO

    I posted a bug report earlier that might be similar:
    [ 1450321 ] Input Hangs
    https://sourceforge.net/tracker/index.php?func=detail&aid=1450321&group_id=44253&atid=438935

    I provided a jar file with source, and System.in would freeze with relatively high probability if the console was used repeatedly by choosing "view.console.ConsoleView" in the initial menu and then converting temperatures for a while.

     
  • Mathias Ricken

    Mathias Ricken - 2007-02-04

    Logged In: YES
    user_id=1075744
    Originator: NO

    I think with your fix of revision 4113, this problem may have disappeared.

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    Nope. I still get this with r4113.

    Here's the transcript of my interactions pane (the text right after [component] is when I enterend):
    Welcome to DrJava. Working directory is /home/chrisw/comp314-07/projects/p1/g05/trunk
    > java adventure.controller.Controller
    [component]
    l
    ENTRANCE HALL

    The hall is richly decorated in the Tudor style. A large antique table in the center of the room supports a fresh floral arrangement. You can hear the faint noise of the grandfather clock in the corner ticking. A large staircase seems to lead upstairs.

    Exits:
    SOUTH
    WEST
    NORTH
    EAST

    [component]
    w
    [component]
    l
    KITCHEN

    Even the kitchen, where undoubtable the owner rarely ventures foot, is large, brightly-lit, and well stocked. The piolt lights on the Viking stove in the corner sputter quietly, warming the room ever so slightly.

    Exits:
    SOUTH
    NORTH
    EAST

    [component]
    s
    [component]
    l
    PANTRY

    Every well-stocked kitchen needs a well-stocked pantry, and this pantry is no exception. The smell of spice is overwhelming, a stark contrast from the almost streil kitched. In the corner you notice a small door that looks as if it slides.

    Exits:
    DUMB WAITER
    NORTH

    [component]
    go dumb waiter
    You can't go that way.
    [component]
    l elevator
    DUMB WAITER

    The dumb waiter appears to be well used. It is closed.
    [component]
    open dumb waiter
    The door swings open on its well-oiled hinges.
    [component]
    look elevator
    DUMB WAITER

    The dumb waiter appears to be well used. It is open.
    [component]
    go elevator
    [component]
    l
    DUMB WAITER

    It is cramped, but you do manage to fit inside. The car sways gently on its cabling, but seems to hold.

    Exits:
    OUT

    [component]
    go out
    [component]
    n
    [component]
    l
    KITCHEN

    Even the kitchen, where undoubtable the owner rarely ventures foot, is large, brightly-lit, and well stocked. The piolt lights on the Viking stove in the corner sputter quietly, warming the room ever so slightly.

    Exits:
    SOUTH
    NORTH
    EAST

    [component]
    n
    [component]
    l
    HALLWAY

    Even the hallways in this manor are elegant. Artwork adorns the walls, and the various chairs and tables along the hall are richly upholstered.

    Exits:
    SOUTH
    NORTH
    EAST

    ArrayIndexOutOfBoundsException:
    Resetting Interactions...
    Resetting Interactions...

    Notice the ArrayIndexOutOfBoundsException.

    The same series of commands works fine on the command line.

    I've got the code I ran too. I can post it if needed.

     
  • Christopher Warrington

    Logged In: YES
    user_id=666678
    Originator: NO

    Fixed in SVN.

     
  • Christopher Warrington

    • status: open --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.