Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dynamical resizeing of Images
Dynamical resizeing of Images [message #442812] Mon, 13 September 2004 21:58 Go to next message
Matthias Becker is currently offline Matthias BeckerFriend
Messages: 29
Registered: July 2009
Junior Member
Hello
due to the nature of the data i work with a need to adjust the size of images
(mostly shrink them). Unfortunally the code below kills the VM. Does one of you
have a solution?
  public static Image getImage(Device dev,int width, Aditus aditus) {
    int y=Tools.drawHeader(aditus,gc);
    int x=LEFT; //==2 Pixel (Test)
    
    Image img=new Image(dev, width,200);
    GC gc=new GC(img);
    TextLayout 	textLayout;
    Vector ranges=new Vector();
    .
    .
    .
    //TextRange is a simple class that just stores information about textparts
    if ((textLayout=TextRange.getTextLayout(dev,ranges)) != null) {
      textLayout.setWidth(width);
      textLayout.draw(gc,x,y);
    }
    //DEBUG
    System.out.println(textLayout.getBounds());
    gc.dispose();
    
    ImageData imgData=img.getImageData();
    imgData.height=textLayout.getBounds().height+y;  //Workaround to resize the 
image*
    Image img2=new Image(dev,imgData); <<<--- This kills the VM
    textLayout.dispose();
    img.dispose();
    return img2;
  }
[Code]

*The statement 
   img.getImageData().height=textLayout.getBounds().height+y
does not work.

[Console]
Rectangle {0, 0, 629, 154}

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at 
PC=0x1C9FA453
Function=[Unknown.]
Library=C:\WINNT\system32\swt-win32-3062.dll

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 org.eclipse.swt.internal.win32.OS.MoveMemory(Native Method)
	at org.eclipse.swt.graphics.Image.init(Image.java:1553)
	at org.eclipse.swt.graphics.Image.init(Image.java:1693)
	at org.eclipse.swt.graphics.Image.<init>(Image.java:555)
	at 
org.dyndns.matthhde.stationsassistent.data.Adapter_Aditus.getImage(Adapter_Aditus.java:1214)
	at 
org.dyndns.matthhde.stationsassistent.windows.ReportPreview$2.paintControl(ReportPreview.java:71)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
	at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:803)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
	at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
	at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1213)
	at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1175)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:767)
	at org.eclipse.jface.window.Window.open(Window.java:644)
	at 
org.dyndns.matthhde.stationsassistent.windows.mainwindow.actions.ShowReportPrintout.run(ShowReportPrintout.java:34)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
	at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
	at 
org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
	at org.eclipse.jface.window.Window.open(Window.java:648)
	at org.dyndns.matthhde.Stationsassisten.main(Stationsassisten.java:66)

Dynamic libraries:
0x00400000 - 0x0040B000 	C:\j2sdk1.4.2_05\bin\javaw.exe
0x77880000 - 0x77903000 	C:\WINNT\system32\ntdll.dll
0x79350000 - 0x793B2000 	C:\WINNT\system32\ADVAPI32.dll
0x77E70000 - 0x77F35000 	C:\WINNT\system32\KERNEL32.DLL
0x77D20000 - 0x77D91000 	C:\WINNT\system32\RPCRT4.DLL
0x77E00000 - 0x77E65000 	C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 	C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78045000 	C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08139000 	C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 	C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 	C:\j2sdk1.4.2_05\jre\bin\hpi.dll
0x007E0000 - 0x007EE000 	C:\j2sdk1.4.2_05\jre\bin\verify.dll
0x007F0000 - 0x00809000 	C:\j2sdk1.4.2_05\jre\bin\java.dll
0x00810000 - 0x0081D000 	C:\j2sdk1.4.2_05\jre\bin\zip.dll
0x18170000 - 0x1818C000 	C:\j2sdk1.4.2_05\jre\bin\jdwp.dll
0x1C190000 - 0x1C195000 	C:\j2sdk1.4.2_05\jre\bin\dt_socket.dll
0x74FA0000 - 0x74FB4000 	C:\WINNT\system32\ws2_32.dll
0x74F90000 - 0x74F98000 	C:\WINNT\system32\WS2HELP.DLL
0x77830000 - 0x7783C000 	C:\WINNT\System32\rnr20.dll
0x77970000 - 0x77994000 	C:\WINNT\system32\DNSAPI.DLL
0x74FC0000 - 0x74FC9000 	C:\WINNT\system32\WSOCK32.DLL
0x77310000 - 0x77323000 	C:\WINNT\system32\iphlpapi.dll
0x774F0000 - 0x774F5000 	C:\WINNT\system32\ICMP.DLL
0x772F0000 - 0x77307000 	C:\WINNT\system32\MPRAPI.DLL
0x750C0000 - 0x750CF000 	C:\WINNT\system32\SAMLIB.DLL
0x750E0000 - 0x7512F000 	C:\WINNT\system32\NETAPI32.DLL
0x79430000 - 0x7943F000 	C:\WINNT\system32\Secur32.dll
0x77BE0000 - 0x77BF1000 	C:\WINNT\system32\NTDSAPI.dll
0x77940000 - 0x7796B000 	C:\WINNT\system32\WLDAP32.DLL
0x75130000 - 0x75136000 	C:\WINNT\system32\NETRAP.dll
0x77A40000 - 0x77B2F000 	C:\WINNT\system32\OLE32.DLL
0x779A0000 - 0x77A3B000 	C:\WINNT\system32\OLEAUT32.DLL
0x77380000 - 0x773B0000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 	C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782E000 	C:\WINNT\system32\RTUTILS.DLL
0x78310000 - 0x783A1000 	C:\WINNT\system32\SETUPAPI.DLL
0x791A0000 - 0x79202000 	C:\WINNT\system32\USERENV.DLL
0x774B0000 - 0x774E3000 	C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774A1000 	C:\WINNT\system32\RASMAN.DLL
0x77500000 - 0x77522000 	C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 	C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 	C:\WINNT\system32\SHLWAPI.DLL
0x77330000 - 0x77349000 	C:\WINNT\system32\DHCPCSVC.DLL
0x777D0000 - 0x777D8000 	C:\WINNT\System32\winrnr.dll
0x777E0000 - 0x777E5000 	C:\WINNT\system32\rasadhlp.dll
0x74F40000 - 0x74F5E000 	C:\WINNT\system32\msafd.dll
0x74F80000 - 0x74F87000 	C:\WINNT\System32\wshtcpip.dll
0x1C9D0000 - 0x1CA1E000 	C:\WINNT\system32\swt-win32-3062.dll
0x76B00000 - 0x76B3F000 	C:\WINNT\system32\comdlg32.dll
0x77580000 - 0x777CB000 	C:\WINNT\system32\SHELL32.DLL
0x75DF0000 - 0x75E0A000 	C:\WINNT\system32\IMM32.dll
0x664B0000 - 0x66504000 	C:\WINNT\system32\USP10.dll
0x60000000 - 0x60045000 	C:\WINNT\system32\MSCTF.dll
0x77810000 - 0x77817000 	C:\WINNT\system32\version.dll
0x75940000 - 0x75946000 	C:\WINNT\system32\LZ32.DLL
0x1CBB0000 - 0x1CBB3000 	C:\WINNT\mui\fallback\0407\msctf.dll.mui
0x1CD10000 - 0x1CD1F000 	C:\j2sdk1.4.2_05\jre\bin\net.dll
0x694D0000 - 0x694EF000 	C:\WINNT\system32\oleacc.dll
0x77910000 - 0x77933000 	C:\WINNT\system32\imagehlp.dll
0x72970000 - 0x7299D000 	C:\WINNT\system32\DBGHELP.dll
0x68F30000 - 0x68F3B000 	C:\WINNT\system32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 576K, used 547K 
ello
due to the nature of the data i work with a need to adjust the size of images
(mostly shrink them). Unfortunally the code below kills the VM. Does one of you
have a solution?
public static Image getImage(Device dev,int width, Aditus aditus) {
int y=Tools.drawHeader(aditus,gc);
int x=LEFT; //==2 Pixel (Test)

Image img=new Image(dev, width,200);
GC gc=new GC(img);
TextLayout textLayout;
Vector ranges=new Vector();
.
.
.
//TextRange is a simple class that just stores information about textparts
if ((textLayout=TextRange.getTextLayout(dev,ranges)) != null) {
textLayout.setWidth(width);
textLayout.draw(gc,x,y);
}
//DEBUG
System.out.println(textLayout.getBounds());
gc.dispose();

ImageData imgData=img.getImageData();
imgData.height=textLayout.getBounds().height+y; //Workaround to resize the
image*
Image img2=new Image(dev,imgData); <<<--- This kills the VM
textLayout.dispose();
img.dispose();
return img2;
}

*The statement 
   img.getImageData().height=textLayout.getBounds().height+y
does not work.

[Console]
Rectangle {0, 0, 629, 154}

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at 
PC=0x1C9FA453
Function=[Unknown.]
Library=C:\WINNT\system32\swt-win32-3062.dll

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 org.eclipse.swt.internal.win32.OS.MoveMemory(Native Method)
	at org.eclipse.swt.graphics.Image.init(Image.java:1553)
	at org.eclipse.swt.graphics.Image.init(Image.java:1693)
	at org.eclipse.swt.graphics.Image.<init>(Image.java:555)
	at 
org.dyndns.matthhde.stationsassistent.data.Adapter_Aditus.getImage(Adapter_Aditus.java:1214)
	at 
org.dyndns.matthhde.stationsassistent.windows.ReportPreview$2.paintControl(ReportPreview.java:71)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
	at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:803)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
	at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
	at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1213)
	at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1175)
	at org.eclipse.swt.widgets.Shell.open(Shell.java:767)
	at org.eclipse.jface.window.Window.open(Window.java:644)
	at 
org.dyndns.matthhde.stationsassistent.windows.mainwindow.actions.ShowReportPrintout.run(ShowReportPrintout.java:34)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
	at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
	at 
org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
	at org.eclipse.jface.window.Window.open(Window.java:648)
	at org.dyndns.matthhde.Stationsassisten.main(Stationsassisten.java:66)

Dynamic libraries:
0x00400000 - 0x0040B000 	C:\j2sdk1.4.2_05\bin\javaw.exe
0x77880000 - 0x77903000 	C:\WINNT\system32\ntdll.dll
0x79350000 - 0x793B2000 	C:\WINNT\system32\ADVAPI32.dll
0x77E70000 - 0x77F35000 	C:\WINNT\system32\KERNEL32.DLL
0x77D20000 - 0x77D91000 	C:\WINNT\system32\RPCRT4.DLL
0x77E00000 - 0x77E65000 	C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 	C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78045000 	C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08139000 	C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 	C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 	C:\j2sdk1.4.2_05\jre\bin\hpi.dll
0x007E0000 - 0x007EE000 	C:\j2sdk1.4.2_05\jre\bin\verify.dll
0x007F0000 - 0x00809000 	C:\j2sdk1.4.2_05\jre\bin\java.dll
0x00810000 - 0x0081D000 	C:\j2sdk1.4.2_05\jre\bin\zip.dll
0x18170000 - 0x1818C000 	C:\j2sdk1.4.2_05\jre\bin\jdwp.dll
0x1C190000 - 0x1C195000 	C:\j2sdk1.4.2_05\jre\bin\dt_socket.dll
0x74FA0000 - 0x74FB4000 	C:\WINNT\system32\ws2_32.dll
0x74F90000 - 0x74F98000 	C:\WINNT\system32\WS2HELP.DLL
0x77830000 - 0x7783C000 	C:\WINNT\System32\rnr20.dll
0x77970000 - 0x77994000 	C:\WINNT\system32\DNSAPI.DLL
0x74FC0000 - 0x74FC9000 	C:\WINNT\system32\WSOCK32.DLL
0x77310000 - 0x77323000 	C:\WINNT\system32\iphlpapi.dll
0x774F0000 - 0x774F5000 	C:\WINNT\system32\ICMP.DLL
0x772F0000 - 0x77307000 	C:\WINNT\system32\MPRAPI.DLL
0x750C0000 - 0x750CF000 	C:\WINNT\system32\SAMLIB.DLL
0x750E0000 - 0x7512F000 	C:\WINNT\system32\NETAPI32.DLL
0x79430000 - 0x7943F000 	C:\WINNT\system32\Secur32.dll
0x77BE0000 - 0x77BF1000 	C:\WINNT\system32\NTDSAPI.dll
0x77940000 - 0x7796B000 	C:\WINNT\system32\WLDAP32.DLL
0x75130000 - 0x75136000 	C:\WINNT\system32\NETRAP.dll
0x77A40000 - 0x77B2F000 	C:\WINNT\system32\OLE32.DLL
0x779A0000 - 0x77A3B000 	C:\WINNT\system32\OLEAUT32.DLL
0x77380000 - 0x773B0000 	C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 	C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782E000 	C:\WINNT\system32\RTUTILS.DLL
0x78310000 - 0x783A1000 	C:\WINNT\system32\SETUPAPI.DLL
0x791A0000 - 0x79202000 	C:\WINNT\system32\USERENV.DLL
0x774B0000 - 0x774E3000 	C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774A1000 	C:\WINNT\system32\RASMAN.DLL
0x77500000 - 0x77522000 	C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 	C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 	C:\WINNT\system32\SHLWAPI.DLL
0x77330000 - 0x77349000 	C:\WINNT\system32\DHCPCSVC.DLL
0x777D0000 - 0x777D8000 	C:\WINNT\System32\winrnr.dll
0x777E0000 - 0x777E5000 	C:\WINNT\system32\rasadhlp.dll
0x74F40000 - 0x74F5E000 	C:\WINNT\system32\msafd.dll
0x74F80000 - 0x74F87000 	C:\WINNT\System32\wshtcpip.dll
0x1C9D0000 - 0x1CA1E000 	C:\WINNT\system32\swt-win32-3062.dll
0x76B00000 - 0x76B3F000 	C:\WINNT\system32\comdlg32.dll
0x77580000 - 0x777CB000 	C:\WINNT\system32\SHELL32.DLL
0x75DF0000 - 0x75E0A000 	C:\WINNT\system32\IMM32.dll
0x664B0000 - 0x66504000 	C:\WINNT\system32\USP10.dll
0x60000000 - 0x60045000 	C:\WINNT\system32\MSCTF.dll
0x77810000 - 0x77817000 	C:\WINNT\system32\version.dll
0x75940000 - 0x75946000 	C:\WINNT\system32\LZ32.DLL
0x1CBB0000 - 0x1CBB3000 	C:\WINNT\mui\fallback\0407\msctf.dll.mui
0x1CD10000 - 0x1CD1F000 	C:\j2sdk1.4.2_05\jre\bin\net.dll
0x694D0000 - 0x694EF000 	C:\WINNT\system32\oleacc.dll
0x77910000 - 0x77933000 	C:\WINNT\system32\imagehlp.dll
0x72970000 - 0x7299D000 	C:\WINNT\system32\DBGHELP.dll
0x68F30000 - 0x68F3B000 	C:\WINNT\system32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 576K, used 547K <0x10010000, 0x100b0000, 0x104f0000)
  eden space 512K,  96% used 
ello
due to the nature of the data i work with a need to adjust the size of images
(mostly shrink them). Unfortunally the code below kills the VM. Does one of you
have a solution?
public static Image getImage(Device dev,int width, Aditus aditus) {
int y=Tools.drawHeader(aditus,gc);
int x=LEFT; //==2 Pixel (Test)

Image img=new Image(dev, width,200);
GC gc=new GC(img);
TextLayout textLayout;
Vector ranges=new Vector();
.
.
.
//TextRange is a simple class that just stores information about textparts
if ((textLayout=TextRange.getTextLayout(dev,ranges)) != null) {
textLayout.setWidth(width);
textLayout.draw(gc,x,y);
}
//DEBUG
System.out.println(textLayout.getBounds());
gc.dispose();

ImageData imgData=img.getImageData();
imgData.height=textLayout.getBounds().height+y; //Workaround to resize the
image*
Image img2=new Image(dev,imgData); <<<--- This kills the VM
textLayout.dispose();
img.dispose();
return img2;
}

*The statement
img.getImageData().height=textLayout.getBounds().height+y
does not work.


Rectangle {0, 0, 629, 154}

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at
PC=0x1C9FA453
Function=[Unknown.]
Library=C:\WINNT\system32\swt-win32-3062.dll

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 org.eclipse.swt.internal.win32.OS.MoveMemory(Native Method)
at org.eclipse.swt.graphics.Image.init(Image.java:1553)
at org.eclipse.swt.graphics.Image.init(Image.java:1693)
at org.eclipse.swt.graphics.Image.<init>(Image.java:555)
at
org.dyndns.matthhde.stationsassistent.data.Adapter_Aditus.ge tImage(Adapter_Aditus.java:1214)
at
org.dyndns.matthhde.stationsassistent.windows.ReportPreview$ 2.paintControl(ReportPreview.java:71)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:82)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:80 3)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3020 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338 )
at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.j ava:1213)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1175)
at org.eclipse.swt.widgets.Shell.open(Shell.java:767)
at org.eclipse.jface.window.Window.open(Window.java:644)
at
org.dyndns.matthhde.stationsassistent.windows.mainwindow.act ions.ShowReportPrintout.run(ShowReportPrintout.java:34)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at org.dyndns.matthhde.Stationsassisten.main(Stationsassisten.j ava:66)

Dynamic libraries:
0x00400000 - 0x0040B000 C:\j2sdk1.4.2_05\bin\javaw.exe
0x77880000 - 0x77903000 C:\WINNT\system32\ntdll.dll
0x79350000 - 0x793B2000 C:\WINNT\system32\ADVAPI32.dll
0x77E70000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x77D20000 - 0x77D91000 C:\WINNT\system32\RPCRT4.DLL
0x77E00000 - 0x77E65000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x08000000 - 0x08139000 C:\j2sdk1.4.2_05\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 C:\WINNT\system32\WINMM.dll
0x10000000 - 0x10007000 C:\j2sdk1.4.2_05\jre\bin\hpi.dll
0x007E0000 - 0x007EE000 C:\j2sdk1.4.2_05\jre\bin\verify.dll
0x007F0000 - 0x00809000 C:\j2sdk1.4.2_05\jre\bin\java.dll
0x00810000 - 0x0081D000 C:\j2sdk1.4.2_05\jre\bin\zip.dll
0x18170000 - 0x1818C000 C:\j2sdk1.4.2_05\jre\bin\jdwp.dll
0x1C190000 - 0x1C195000 C:\j2sdk1.4.2_05\jre\bin\dt_socket.dll
0x74FA0000 - 0x74FB4000 C:\WINNT\system32\ws2_32.dll
0x74F90000 - 0x74F98000 C:\WINNT\system32\WS2HELP.DLL
0x77830000 - 0x7783C000 C:\WINNT\System32\rnr20.dll
0x77970000 - 0x77994000 C:\WINNT\system32\DNSAPI.DLL
0x74FC0000 - 0x74FC9000 C:\WINNT\system32\WSOCK32.DLL
0x77310000 - 0x77323000 C:\WINNT\system32\iphlpapi.dll
0x774F0000 - 0x774F5000 C:\WINNT\system32\ICMP.DLL
0x772F0000 - 0x77307000 C:\WINNT\system32\MPRAPI.DLL
0x750C0000 - 0x750CF000 C:\WINNT\system32\SAMLIB.DLL
0x750E0000 - 0x7512F000 C:\WINNT\system32\NETAPI32.DLL
0x79430000 - 0x7943F000 C:\WINNT\system32\Secur32.dll
0x77BE0000 - 0x77BF1000 C:\WINNT\system32\NTDSAPI.dll
0x77940000 - 0x7796B000 C:\WINNT\system32\WLDAP32.DLL
0x75130000 - 0x75136000 C:\WINNT\system32\NETRAP.dll
0x77A40000 - 0x77B2F000 C:\WINNT\system32\OLE32.DLL
0x779A0000 - 0x77A3B000 C:\WINNT\system32\OLEAUT32.DLL
0x77380000 - 0x773B0000 C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782E000 C:\WINNT\system32\RTUTILS.DLL
0x78310000 - 0x783A1000 C:\WINNT\system32\SETUPAPI.DLL
0x791A0000 - 0x79202000 C:\WINNT\system32\USERENV.DLL
0x774B0000 - 0x774E3000 C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774A1000 C:\WINNT\system32\RASMAN.DLL
0x77500000 - 0x77522000 C:\WINNT\system32\TAPI32.DLL
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x70A70000 - 0x70AD4000 C:\WINNT\system32\SHLWAPI.DLL
0x77330000 - 0x77349000 C:\WINNT\system32\DHCPCSVC.DLL
0x777D0000 - 0x777D8000 C:\WINNT\System32\winrnr.dll
0x777E0000 - 0x777E5000 C:\WINNT\system32\rasadhlp.dll
0x74F40000 - 0x74F5E000 C:\WINNT\system32\msafd.dll
0x74F80000 - 0x74F87000 C:\WINNT\System32\wshtcpip.dll
0x1C9D0000 - 0x1CA1E000 C:\WINNT\system32\swt-win32-3062.dll
0x76B00000 - 0x76B3F000 C:\WINNT\system32\comdlg32.dll
0x77580000 - 0x777CB000 C:\WINNT\system32\SHELL32.DLL
0x75DF0000 - 0x75E0A000 C:\WINNT\system32\IMM32.dll
0x664B0000 - 0x66504000 C:\WINNT\system32\USP10.dll
0x60000000 - 0x60045000 C:\WINNT\system32\MSCTF.dll
0x77810000 - 0x77817000 C:\WINNT\system32\version.dll
0x75940000 - 0x75946000 C:\WINNT\system32\LZ32.DLL
0x1CBB0000 - 0x1CBB3000 C:\WINNT\mui\fallback\0407\msctf.dll.mui
0x1CD10000 - 0x1CD1F000 C:\j2sdk1.4.2_05\jre\bin\net.dll
0x694D0000 - 0x694EF000 C:\WINNT\system32\oleacc.dll
0x77910000 - 0x77933000 C:\WINNT\system32\imagehlp.dll
0x72970000 - 0x7299D000 C:\WINNT\system32\DBGHELP.dll
0x68F30000 - 0x68F3B000 C:\WINNT\system32\PSAPI.DLL

Heap at VM Abort:
Heap
def new generation total 576K, used 547K <0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 96% used <0x10010000, 0x1008b010, 0x10090000)
from space 64K, 86% used [0x10090000, 0x1009dca0, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 1214K [0x104f0000, 0x10650000,
0x14010000)
the space 1408K, 86% used [0x104f0000, 0x1061fb60, 0x1061fc00, 0x10650000)
compacting perm gen total 5632K, used 5522K [0x14010000, 0x14590000,
0x18010000)
the space 5632K, 98% used [0x14010000, 0x14574ac0, 0x14574c00, 0x14590000)

Local Time = Mon Sep 13 23:43:06 2004
Elapsed Time = 12
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
#
# An error report file has been saved as hs_err_pid2324.log.
# Please refer to the file for further information.
#
Re: Dynamical resizeing of Images [message #442814 is a reply to message #442812] Mon, 13 September 2004 22:48 Go to previous message
Matthias Becker is currently offline Matthias BeckerFriend
Messages: 29
Registered: July 2009
Junior Member
Solved it myself
Previous Topic:question about treeviewer
Next Topic:using SWT within a C++ GUI app
Goto Forum:
  


Current Time: Wed Apr 24 22:13:45 GMT 2024

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

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

Back to the top