• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.rmi.UnmashalException

 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, guys:
I am testing my remote server and my client. I am using RMI. I tried something not very logical,
but it may happen sometimes: I changed number of
seats and booked several times in one client session, the third or fourth time the GUI started to freeze, and got the above exception if I desconnect the server. It is not very logical for a client to book several times, but it may happen when a client needs more seats after he first time booked. Do we need to fix this? Thanks.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a tough one. I hope that there might be a way to not have your GUI freeze. The biggest and toughest part is to try and find where in the code it starts to freeze.
Does it freeze if you book 3 or 4 times on 3 or 4 different flights?
On the 3rd or 4th time are there still seats available? if not, maybe there is some kind of infinite loop in your overbooking code? Just a suggestion.
Mark
 
Holmes Wong
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mark Spritzler:
That's a tough one. I hope that there might be a way to not have your GUI freeze. The biggest and toughest part is to try and find where in the code it starts to freeze.
Does it freeze if you book 3 or 4 times on 3 or 4 different flights?
On the 3rd or 4th time are there still seats available? if not, maybe there is some kind of infinite loop in your overbooking code? Just a suggestion.
Mark


Thanks, Mark.
I was booking on one chosen flight several times. Yes, there are still seats available. Usually on the third or fourth time, the button does not bounce back, it looks like it needs more time to communicate with server. If I restart a client after I book once, there is no problem. Logically, a client will not book on the same flight several times, but in case she needs more seats afterwards, she may book on the same flight again. Maybe I have to consider this case.
 
reply
    Bookmark Topic Watch Topic
  • New Topic