Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
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  
  1.4.2 is giving me time erors  (Read 2105 times)
0 Members and 1 Guest are viewing this topic.
Offline Kommi

Junior Devvie

All opinions will be lined up and shot!

« Posted 2003-05-21 14:12:35 »

Ever since I installed 1.4.2 I have had this error happen with my animation loop. What happens is that the first time I fire up my game it runs fine. But subsequent times it loads a white screen. If I alt - tab and then click on it again then the prog crashes giving me the following error:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x182D7D76

Current Java thread:
     at Method)
     at sun.awt.image.SunVolatileImage.<init>(
     - locked <0x1051f358> (a
     - locked <0x1051f358> (a
     - locked <0x1050f7a8> (a java.awt.Component$AWTTreeLock)
     at java.awt.event.InvocationEvent.dispatch(
     at java.awt.EventQueue.dispatchEvent(
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(
     at java.awt.EventDispatchThread.pumpEvents(
     at java.awt.EventDispatchThread.pumpEvents(

I am using a native timer so I think thats the problem. However I have been able to cause the same problem with JavaNoob's code by changing the screen resolution from 16 bit to 32 bit color. Any ideas on how to fix this?

Offline caraiz

Senior Newbie

Java games rock!

« Reply #1 - Posted 2003-05-21 14:42:04 »

I had the same problem, and it happened because i changed to fullscreen mode with 16 bits and my desktop was at 32 bits.... Try change to fullscreen using the actual desktop deep color

Offline Kommi

Junior Devvie

All opinions will be lined up and shot!

« Reply #2 - Posted 2003-05-21 17:22:31 »

Ok I got it fixed. It was my rnedering code and it does not happen anymore.

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

JGO Knight

Medals: 28

falling into the abyss of reality

« Reply #3 - Posted 2003-05-22 01:13:39 »

thats a JVM crash though, it shouldn't happen under *any* circumstances Shocked

I wouldn't bother reporting it though, fullscreen is still packed full of bugs, even in 1.4.2  Sad

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here!
Offline Kommi

Junior Devvie

All opinions will be lined up and shot!

« Reply #4 - Posted 2003-05-22 02:16:26 »

actually I dont know exactly what I did. I had two rectangles which were objects responsible for painting themselves flying around. I lost the original class file for these objects which I wrote a while ago so I wrote a quick an dirty one. Since I have learned a lot more I wrote it to the best of my current abilitis in Java. And I no longer get the white screen or the crashes. (althought it still happened like once). I dont think that an me reinstalling the jvm and the sdk is what improved it.

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

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

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

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

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

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

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

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

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

NoxInc (27 views)
2015-07-22 22:16:53

NoxInc (18 views)
2015-07-22 22:13:39
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!