Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Exception running Swing on Windows ME
Exception running Swing on Windows ME [message #438645] Tue, 29 June 2004 05:33 Go to next message
Gerard is currently offline GerardFriend
Messages: 5
Registered: July 2009
Junior Member
When running my app several times on my Windows ME machine, it will run a
few times successfully and then cause an exception.

Code snippet:
public static void main(String[] args) {
Runnable doHelloWorld = new Runnable() {
public void run() {
createAndShowGUI();
}
};
javax.swing.SwingUtilities.invokeLater(doHelloWorld);
}
Full exception dump:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0xB00F2A19
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:
at sun.awt.windows.Win32SurfaceData.initDDraw(Native Method)
at sun.awt.windows.Win32SurfaceData.<clinit>(Win32SurfaceData.java:269)
at sun.awt.windows.D3DBlitLoops.register(D3DBlitLoops.java:39)
at
sun.awt.windows.Win32OffScreenSurfaceData.initD3D(Win32OffSc reenSurfaceData.java:92)
at
sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData.java:134)
at sun.awt.windows.WToolkit.initIDs(Native Method)
at sun.awt.windows.WToolkit.<clinit>(WToolkit.java:94)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.Toolkit$2.run(Toolkit.java:748)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
- locked <0x14160ce8> (a java.lang.Class)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
at java.awt.EventQueue.invokeLater(EventQueue.java:792)
at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1 170)
at gerard.SwingApplication.main(SwingApplication.java:176)

Dynamic libraries:
0x7D2A0000 - 0x7D2CD000 C:\WINDOWS\SYSTEM\DBGHELP.DLL

Heap at VM Abort:
Heap
def new generation total 576K, used 81K [0x10010000, 0x100b0000,
0x104f0000)
eden space 512K, 3% used [0x10010000, 0x10014678, 0x10090000)
from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 111K [0x104f0000, 0x10650000,
0x14010000)
the space 1408K, 7% used [0x104f0000, 0x1050beb0, 0x1050c000,
0x10650000)
compacting perm gen total 4096K, used 2206K [0x14010000, 0x14410000,
0x18010000)
the space 4096K, 53% used [0x14010000, 0x14237ab0, 0x14237c00,
0x14410000)

Local Time = Mon Jun 28 21:48:54 2004
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#

Any clues?
Re: Exception running Swing on Windows ME [message #438662 is a reply to message #438645] Tue, 29 June 2004 12:55 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Please log a bug report with Platform - SWT, and be sure to provide a full
snippet that shows the problem happening, otherwise it will likely be
difficult for the assignee to replicate.

Grant

"Gerard" <teurlinx@comcast.net> wrote in message
news:cbquvq$io7$1@eclipse.org...
> When running my app several times on my Windows ME machine, it will run a
> few times successfully and then cause an exception.
>
> Code snippet:
> public static void main(String[] args) {
> Runnable doHelloWorld = new Runnable() {
> public void run() {
> createAndShowGUI();
> }
> };
> javax.swing.SwingUtilities.invokeLater(doHelloWorld);
> }
> Full exception dump:
>
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> PC=0xB00F2A19
> Function=[Unknown.]
> Library=(N/A)
>
> NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for possible
> reason and solutions.
>
>
> Current Java thread:
> at sun.awt.windows.Win32SurfaceData.initDDraw(Native Method)
> at sun.awt.windows.Win32SurfaceData.<clinit>(Win32SurfaceData.java:269)
> at sun.awt.windows.D3DBlitLoops.register(D3DBlitLoops.java:39)
> at
>
sun.awt.windows.Win32OffScreenSurfaceData.initD3D(Win32OffSc reenSurfaceData.
java:92)
> at
>
sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData
..java:134)
> at sun.awt.windows.WToolkit.initIDs(Native Method)
> at sun.awt.windows.WToolkit.<clinit>(WToolkit.java:94)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at java.awt.Toolkit$2.run(Toolkit.java:748)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
> - locked <0x14160ce8> (a java.lang.Class)
> at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
> at java.awt.EventQueue.invokeLater(EventQueue.java:792)
> at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1 170)
> at gerard.SwingApplication.main(SwingApplication.java:176)
>
> Dynamic libraries:
> 0x7D2A0000 - 0x7D2CD000 C:\WINDOWS\SYSTEM\DBGHELP.DLL
>
> Heap at VM Abort:
> Heap
> def new generation total 576K, used 81K [0x10010000, 0x100b0000,
> 0x104f0000)
> eden space 512K, 3% used [0x10010000, 0x10014678, 0x10090000)
> from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
> to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
> tenured generation total 1408K, used 111K [0x104f0000, 0x10650000,
> 0x14010000)
> the space 1408K, 7% used [0x104f0000, 0x1050beb0, 0x1050c000,
> 0x10650000)
> compacting perm gen total 4096K, used 2206K [0x14010000, 0x14410000,
> 0x18010000)
> the space 4096K, 53% used [0x14010000, 0x14237ab0, 0x14237c00,
> 0x14410000)
>
> Local Time = Mon Jun 28 21:48:54 2004
> Elapsed Time = 0
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
> #
>
> Any clues?
>
Re: Exception running Swing on Windows ME [message #439058 is a reply to message #438645] Mon, 05 July 2004 20:33 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Doesn't seem to be any SWT code is sight. Enter a problem report against
Sun?

"Gerard" <teurlinx@comcast.net> wrote in message
news:cbquvq$io7$1@eclipse.org...
> When running my app several times on my Windows ME machine, it will run a
> few times successfully and then cause an exception.
>
> Code snippet:
> public static void main(String[] args) {
> Runnable doHelloWorld = new Runnable() {
> public void run() {
> createAndShowGUI();
> }
> };
> javax.swing.SwingUtilities.invokeLater(doHelloWorld);
> }
> Full exception dump:
>
>
> An unexpected exception has been detected in native code outside the VM.
> Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
> PC=0xB00F2A19
> Function=[Unknown.]
> Library=(N/A)
>
> NOTE: We are unable to locate the function name symbol for the error
> just occurred. Please refer to release documentation for possible
> reason and solutions.
>
>
> Current Java thread:
> at sun.awt.windows.Win32SurfaceData.initDDraw(Native Method)
> at sun.awt.windows.Win32SurfaceData.<clinit>(Win32SurfaceData.java:269)
> at sun.awt.windows.D3DBlitLoops.register(D3DBlitLoops.java:39)
> at
>
sun.awt.windows.Win32OffScreenSurfaceData.initD3D(Win32OffSc reenSurfaceData.
java:92)
> at
>
sun.awt.windows.Win32OffScreenSurfaceData.<clinit>(Win32OffScreenSurfaceData
..java:134)
> at sun.awt.windows.WToolkit.initIDs(Native Method)
> at sun.awt.windows.WToolkit.<clinit>(WToolkit.java:94)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at java.awt.Toolkit$2.run(Toolkit.java:748)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
> - locked <0x14160ce8> (a java.lang.Class)
> at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
> at java.awt.EventQueue.invokeLater(EventQueue.java:792)
> at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1 170)
> at gerard.SwingApplication.main(SwingApplication.java:176)
>
> Dynamic libraries:
> 0x7D2A0000 - 0x7D2CD000 C:\WINDOWS\SYSTEM\DBGHELP.DLL
>
> Heap at VM Abort:
> Heap
> def new generation total 576K, used 81K [0x10010000, 0x100b0000,
> 0x104f0000)
> eden space 512K, 3% used [0x10010000, 0x10014678, 0x10090000)
> from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
> to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
> tenured generation total 1408K, used 111K [0x104f0000, 0x10650000,
> 0x14010000)
> the space 1408K, 7% used [0x104f0000, 0x1050beb0, 0x1050c000,
> 0x10650000)
> compacting perm gen total 4096K, used 2206K [0x14010000, 0x14410000,
> 0x18010000)
> the space 4096K, 53% used [0x14010000, 0x14237ab0, 0x14237c00,
> 0x14410000)
>
> Local Time = Mon Jun 28 21:48:54 2004
> Elapsed Time = 0
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
> #
>
> Any clues?
>
Previous Topic:Table ScrollBar
Next Topic:swt-win32-3062 from Eclipse 3.0 final release still java 1.1 incompatible
Goto Forum:
  


Current Time: Fri Apr 26 03:24:39 GMT 2024

Powered by FUDForum. Page generated in 0.03075 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top