Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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 3389 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel


Medals: 322
Projects: 2
Exp: 4 years


I'm the King!


« Posted 2011-04-08 06: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 08: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 08:37:04 »

Applet frame has been detached from applet container, you can reproduce it here http://demo.dzzd.net/HelloWorld/HelloWorld.htm
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: 322
Projects: 2
Exp: 4 years


I'm the King!


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

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

EDIT: Look at original post.

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

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

@Dzzd
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: 2


I'm gonna wring your pants!


« Reply #5 - Posted 2011-04-08 10: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: 322
Projects: 2
Exp: 4 years


I'm the King!


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

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

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

Offline pjt33
« Reply #7 - Posted 2011-04-08 10: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.
Offline JESTERRRRRR

Senior Member


Medals: 6
Exp: 1 year



« Reply #8 - Posted 2011-05-02 05: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 09: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 09: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 12:59:24 »

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

Offline JESTERRRRRR

Senior Member


Medals: 6
Exp: 1 year



« Reply #12 - Posted 2011-06-17 16: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: 322
Projects: 2
Exp: 4 years


I'm the King!


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

O_O

Offline JESTERRRRRR

Senior Member


Medals: 6
Exp: 1 year



« Reply #14 - Posted 2011-07-03 02: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 Member


Projects: 3



« Reply #15 - Posted 2011-07-07 04: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

« In padded room »



TUER


« Reply #16 - Posted 2011-07-13 16:16:49 »

Hi

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.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (42 views)
2014-04-15 18:08:23

BurntPizza (38 views)
2014-04-15 03:46:01

UprightPath (54 views)
2014-04-14 17:39:50

UprightPath (36 views)
2014-04-14 17:35:47

Porlus (53 views)
2014-04-14 15:48:38

tom_mai78101 (75 views)
2014-04-10 04:04:31

BurntPizza (134 views)
2014-04-08 23:06:04

tom_mai78101 (234 views)
2014-04-05 13:34:39

trollwarrior1 (195 views)
2014-04-04 12:06:45

CJLetsGame (203 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!