Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
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  
  Weirdest and rarest bug in Java!  (Read 4221 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Posted 2011-04-08 04:46:13 »

You guys won't believe what I came across!!

My normal applet:

The weird bug:

When Google Chrome froze for a second, all I got was a gray background in my game. Looking in the Java Console for a stack trace, I got the applet window there!!!! Huh

Anyone got any explanation?

Offline namrog84

JGO Ninja

Medals: 46
Projects: 4

Keep programming!

« Reply #1 - Posted 2011-04-08 06:11:11 »

Just to fully clarify the "bug"

It works fine in a standalone applet
but it doesn't work in google chrome window?

Unless there is something deeper I am missing.

edit: or do you mean, it was intended to be launched as an applet, but then launched into its own window, even though it wasnt a jnlp or pop out window?

"Experience is what you get when you did not get what you wanted"
Offline DzzD
« Reply #2 - Posted 2011-04-08 06:37:04 »

Applet frame has been detached from applet container, you can reproduce it here
Click applet than hit F5 and use ALT+TAB to see the browser, it does not contain the applet frame anymore, that s probably what happen to you but why?!

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #3 - Posted 2011-04-08 06:45:39 »

It is not a stand-alone window, look closer at the title and buttons Wink

EDIT: Look at original post.

Hitting F5 in the applet doesn't do anything....

Offline DzzD
« Reply #4 - Posted 2011-04-08 07:58:13 »

Hitting F5 in the applet doesn't do anything....
did you give applet focus by clicking on it before ?

Offline Matzon

JGO Knight

Medals: 19
Projects: 1

I'm gonna wring your pants!

« Reply #5 - Posted 2011-04-08 08:17:41 »

its running in the console window! - thats pretty f* weird.
I guess their window handle got shifted somehow.

Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #6 - Posted 2011-04-08 08:34:28 »

Yeah. But still this isn't really an applet thing just for some reason the applet is in the Java Console.

I was so glad I was able to take a screenshot of this when I could! How could this even happen?

Offline pjt33

« JGO Spiffy Duke »

Medals: 40
Projects: 4
Exp: 7 years

« Reply #7 - Posted 2011-04-08 08:42:12 »

How could this even happen?
I wonder whether it's related to the code a (now former) boss pointed out to me years ago where there's a comment to the effect of "We know we're not honouring the contract with the windowing library here, but we think we can get away with it".

I've seen applets start rendering outside any window, apparently attached to the root.
« Reply #8 - Posted 2011-05-02 03:25:16 »

I was wondering! I havnt been able to play Sad. Assumed it was just me
Offline Alan_W

JGO Knight

Medals: 8
Projects: 3

Java tames rock!

« Reply #9 - Posted 2011-05-02 07:26:14 »

I have a feeling of deja vu. I vaguely recall seeing that once before, but couldn't repeat it.

Time flies like a bird. Fruit flies like a banana.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ReBirth
« Reply #10 - Posted 2011-05-02 07:47:17 »

How about play it on other browsers? I had FF 3.6.10 and didn't see that.

Offline CommanderKeith
« Reply #11 - Posted 2011-05-02 10:59:24 »

That is very strange. Wow what hope is there for applet security when the thing can paint in any random place. Geez

« Reply #12 - Posted 2011-06-17 14:06:14 »

ra4king, i actually thought your game was broken, seeing as it NEVER worked for me; but i had this bug every time i clicked your sig. I get it regularly. For example, pogo games website games normall break after a few minutes. I have java set to open console by default now, and voila.. it appears VERY often. On pogo Risk game, drawing to console means co-ordinates are all messed up aswell. Pain in the ass
Offline ra4king

JGO Kernel

Medals: 389
Projects: 3
Exp: 5 years

I'm the King!

« Reply #13 - Posted 2011-06-17 15:26:21 »


« Reply #14 - Posted 2011-07-03 00:29:05 »

I also got this weird buzzing through my headphones whenever I launched any time of Java applicaiton, other than applets. I've since formatted and both these are gone. Literally god knows what was causing some of these things, but it was rediculous
Offline Jacob_

Junior Devvie

Projects: 3

« Reply #15 - Posted 2011-07-07 02:01:27 »

Approximately 2% of the time, trying to run my game applet in the browser causes the JVM to crash. It never happens when debugging in NetBeans, and nobody has reported this bug since we switched from Java Web Start to applets 2 months ago. It's a little disturbing, but since it doesn't seem to affect any players I haven't been motivated to debug it.

Also, once or twice while playing Minecraft Classic (this was probably 1-2 years ago) my whole screen starting flashing black very quickly, then I got an Nvidia driver error: "This application has caused too many errors and must be closed." Could have been my driver version, but I've never seen that error with any other game.
Offline gouessej
« Reply #16 - Posted 2011-07-13 14:16:49 »


Google Chrome applet support is quite poor, have you ever reproduced this bug with Firefox?

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

SHC (37 views)
2015-08-01 03:58:20

Jesse (24 views)
2015-07-29 04:35:27

Riven (44 views)
2015-07-27 16:38:00

Riven (24 views)
2015-07-27 15:35:20

Riven (27 views)
2015-07-27 12:26:13

Riven (18 views)
2015-07-27 12:23:39

BurntPizza (39 views)
2015-07-25 00:14:37

BurntPizza (48 views)
2015-07-24 22:06:39

BurntPizza (33 views)
2015-07-24 06:06:53

NoxInc (40 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!