Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Weirdest and rarest bug in Java!  (Read 2304 times)
0 Members and 2 Guests are viewing this topic.
Offline ra4king

JGO Kernel
*****

Posts: 3160
Medals: 196


I'm the King!


« on: 2011-04-08 00: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

Full Member
**

Posts: 245
Medals: 12


Keep programming!


« Reply #1 on: 2011-04-08 02: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

JGO Kernel
*****

Posts: 2134
Medals: 16



« Reply #2 on: 2011-04-08 02: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! Go get 'em!
Offline ra4king

JGO Kernel
*****

Posts: 3160
Medals: 196


I'm the King!


« Reply #3 on: 2011-04-08 02: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

JGO Kernel
*****

Posts: 2134
Medals: 16



« Reply #4 on: 2011-04-08 03:58:13 »

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

Offline Matzon
« League of Dukes »

JGO Kernel
*****

Posts: 1805
Medals: 8


I'm gonna wring your pants!


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

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

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Offline ra4king

JGO Kernel
*****

Posts: 3160
Medals: 196


I'm the King!


« Reply #6 on: 2011-04-08 04: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

JGO Strike Force
***

Posts: 914
Medals: 17



« Reply #7 on: 2011-04-08 04: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

Jr. Member
**

Posts: 63
Medals: 1



« Reply #8 on: 2011-05-01 23:25:16 »

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

JGO Ninja
***

Posts: 734
Medals: 8


Java tames rock!


« Reply #9 on: 2011-05-02 03: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! Go get 'em!
Offline ReBirth

JGO Wizard
****

Posts: 1279
Medals: 19



« Reply #10 on: 2011-05-02 03:47:17 »

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

Follow me, your mastah, on TWITTAH!
Offline CommanderKeith

JGO Wizard
****

Posts: 1455
Medals: 9



« Reply #11 on: 2011-05-02 06: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

Jr. Member
**

Posts: 63
Medals: 1



« Reply #12 on: 2011-06-17 10: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
*****

Posts: 3160
Medals: 196


I'm the King!


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

O_O

Offline JESTERRRRRR

Jr. Member
**

Posts: 63
Medals: 1



« Reply #14 on: 2011-07-02 20: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_

Jr. Member
**

Posts: 65
Medals: 1



« Reply #15 on: 2011-07-06 22: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

JGO Kernel
*****

Posts: 3560
Medals: 30


TUER


« Reply #16 on: 2011-07-13 10:16:49 »

Hi

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

Julien Gouesse
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.109 seconds with 17 queries.