Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  So I am using JWJGL  (Read 2519 times)
0 Members and 1 Guest are viewing this topic.
Offline K.I.L.E.R

Senior Member




Java games rock!


« Posted 2004-01-10 11:00:32 »

"transport error 202: receive packet failed
The application has been disconnected
Finished executing"

WTF?

Found out a try{Keyboard.poll();}/catch block was causing it.
Taken the command out of it and tada. No more error. The error only occurs when I hit escape and it exits the app.

it displays this now:
VM Started:

The application exited
Finished executing

Anyone know roughly why?

Thanks

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2004-01-10 11:19:54 »

what app?
what does it do?
are we talking network application?

is the source available?

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #2 - Posted 2004-01-10 12:23:20 »

http://members.optusnet.com.au/ksaho/Algorithm/JAVA/src/

Press W,A,S,D keys to move, escape to exit.

The problem only occurs when you hit the 'x' on the window (which closes it) but it provides the error I mentioned above.

I apologise for not providing the source earlier, I thought it was some general error of some sort.

Thanks

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #3 - Posted 2004-01-10 12:40:38 »

ok, for starters no problems here at all
secondly, ALWAYS do a Window.update(); - regardless of minimized or not
thirdly, assuming that LWJGL is to blame, I have never ever even close to seen an error message like
Quote
"transport error 202: receive packet failed
The application has been disconnected
Finished executing"

!!!

It sounds like some other network program...

Oh, one important thing - which OS ? (Linux, right?)

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #4 - Posted 2004-01-10 12:47:10 »

I am going to speculate a bit here... possibly you're running linux, and since you're running @ 100% (no sleeps in that code). you might be stealing processsor time for other applications. One of those other applications then fail, and produce the output to stdout.

Though I can hadly see why Keyboard.poll should be the culprit:

1  
2  
      unsigned char *new_keyboard_buffer = (unsigned char *)env->GetDirectBufferAddress(buffer);
      memcpy(new_keyboard_buffer, key_buf, KEYBOARD_SIZE*sizeof(unsigned char));

it's about as simple as a native method could ever be!, and certainly not time consuming

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #5 - Posted 2004-01-10 13:36:48 »

Thanks.

I'm actually running WindowsXP.
This error message doesn't effect my program in anyway, and it is random as well.
So you are most likely right, it was a coincidence that error message didn't show up after getting rid of the try/catch block.

I'm using Gel with the javac -source 1.5 parameter.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline aldacron

Senior Member


Medals: 9
Exp: 16 years


Java games rock!


« Reply #6 - Posted 2004-01-10 13:42:03 »

Quote

I'm using Gel with the javac -source 1.5 parameter.


Interesting. That transport error message is most likely coming from Gel. But I wonder what on earth it is doing sending network packets. Must be phoning home about something, unless it is running some sort of client/server setup locally (which I can't inagine why).
Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #7 - Posted 2004-01-10 21:56:09 »

Are you saying that Gel is spyware? Shocked

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline jherber

Junior Member




Java games rock!


« Reply #8 - Posted 2004-01-14 14:30:49 »

you could always run it with your firewall on (try zonealarm - free if you don't have one).  this will tell you what app is trying to get out, and to what address/port.

jim
Offline Jacko

Junior Member





« Reply #9 - Posted 2004-01-17 21:26:35 »

I just got a similar error playing with Xith...

ERROR: transport error 202: send failed: Socket operation on nonsocket ["transport.c",L41]

happened when I was debugging in eclipse, and as Xith uses JOGL for a backend, I dont think this is a problem with LWJGL.

Already running zone alarm, and it said nothing about any net access. OS is 2000 Pro.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #10 - Posted 2004-01-18 02:21:09 »

Maybe it's something to do with Tiger?

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline cfmdobbie

Senior Member


Medals: 1


Who, me?


« Reply #11 - Posted 2004-01-18 08:58:24 »

Quote
Maybe it's something to do with Tiger?


Yikes! Shocked

Hellomynameis Charlie Dobbie.
Offline Jacko

Junior Member





« Reply #12 - Posted 2004-01-18 10:28:23 »

could be. I have been running tiger...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (19 views)
2014-09-12 09:08:26

Norakomi (54 views)
2014-09-10 13:57:51

TehJavaDev (63 views)
2014-09-10 06:39:09

Tekkerue (31 views)
2014-09-09 02:24:56

mitcheeb (53 views)
2014-09-08 06:06:29

BurntPizza (37 views)
2014-09-07 01:13:42

Longarmx (23 views)
2014-09-07 01:12:14

Longarmx (27 views)
2014-09-07 01:11:22

Longarmx (27 views)
2014-09-07 01:10:19

mitcheeb (35 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!