Weird Runtime error, please help.

I recently started teaching myself java from a book, I liked it so I continued reading the book etc. I got to the chapter where it starts to talk about swing classes. The examples previous to this chapter compiled and worked great. Althoug in the swing class chapter none of the examples compile, well I shouldn't say that. They do "compile" but when I try to run them I get this error....
Here it is in full:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D00FA9B
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.java2d.loops.Blit.Blit(Native Method)
     at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:627)
     at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java:355)
     at sun.java2d.pipe.DrawImage.clipAndRenderSurfaceData(DrawImage.java:333)
     at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:64)
     at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:48)
     at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:715)
     at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:147)
     at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2782)
     at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2772)
     at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4745)
     at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
     at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
     at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
     at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)
     at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Dynamic libraries:
0x7D750000 - 0x7D76D000      C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Thu Mar 21 20:50:59 2002
Elapsed Time = 7
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
If anyone knows how to fix this I would really appreciate the help.
Thanks in advance,
Tuskony

Your right, I am using JDK 1.4.0, on Windows 98.
Here is a shortened down version of the code:
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.Toolkit;
import java.awt.event.*;
public class JTextFieldExample extends JPanel
JLabel lblName = new JLabel( "Name:", JLabel.RIGHT );
JTextArea txtName = new JTextArea( 40, 40 );
public JTextFieldExample()
setLayout( new GridLayout( 2, 2 ) );
add( txtName );
public static void main( String[] args )
JFrame frame = new JFrame();
JTextField example = new JTextField();
frame.getContentPane().add( example, BorderLayout.CENTER );
frame.setSize( 200, 200 );
frame.setVisible( true );
frame.addWindowListener
new WindowAdapter()
public void WindowClosing( WindowEvent e )
System.exit( 0 );

Similar Messages

  • Runtime Error, please help!

    Hi,
    I have installed the cs3 master collection on a new system (quad 2,4 ghz, 4GB ram, quadro fx1300, WIN XP 64bit, cineform aspect hd 5).
    I opened a big ppro project which has been created with cs2 (i deleted all preview and cache files before). I saved the project to a different name.
    Project structure:
    65 Scenes embedded in Sequences embedded in a master sequence (master lenght: 110 Minutes).
    The big Problem is:
    When i click anywhere into the master sequence timeline, a "premiere pro debug event" error appears:
    "[..\..\Src\AudioRender\AudioRenderContextConstructor.cpp-110]"
    Premiere dissapears after i click "continue".
    When i turn off the mastersequence audiotracks, this error does not show up.
    And everything works fine when i go into an embedded sequence.
    ALSO:
    When i want to render some area in the timeline, Premiere wants to render the audio first. It hangs up at about 50 percent (always at the same point, but it is not possible to locate it) with the error message:
    "Microsoft Visual C++ Runtime Library
    Runtime Error!
    Premiere Path..
    This application has requested the runtime to terminate..."
    Premiere dissaper after i click "ok"..
    I tried:
    To get this bugfix from Micrsoft, which should help with runtime errors, but they dont respond.
    To install the Visual C++ runtime environment again.
    To deactivate all unnecessary startup programs
    To run ppro in compatibility mode
    To change sound settings in and out of ppro
    The event viewer description for this error:
    "...faulting module msvcr80.dll..."
    Please help me, if there is a solution..
    David

    Considering ppro´s memory managing problems with big projects i dont want to revert to 32bit.
    I installed ppro cs2 and it works fine. And the memory problems i had with 32bit (even with 3gb switch on) are gone.
    I dont have time to test now if the problem with cs3 was only caused by the imported cs2 project. I will post it next days.

  • Adobe Acrobat 9.0 Pro crashes at start up: Runtime Error-please help

    I have Adobe CS4 installed on my Windows 7 PC. In addition, I have Adobe Reader XI and InDesign 6 installed. If I remember correctly, after I installed Adobe Reader XI, I uninstalled the version of the Reader which came with CS4.
    So here’s my problem: When I try to download a PDF that has been sent to me in an email or open one that already exists on my computer, this happens:
    Runtime Error!
    Program: C…
    The application has requested the Runtime to terminate it in an unusual way.
    When I click OK, I get this:
    Adobe Acrobat 9.0 has stopped working.
    If I try to Adobe Acrobat 9.0 Pro from my start menu, the same thing happens.
    This makes no sense to me because
    I don’t have the knowledge to figure this out. I have no idea what Runtime is.
    Prior to a computer meltdown a couple of months ago and a complete reinstallation of everything, these very same programs all worked just fine.
    I don’t understand why, when I try to open an emailed PDF, they don’t automatically open in Adobe Reader XI rather than Adobe Acrobat. Isn’t the general idea that people be able to open and view sent PDFs which they have been sent, which is what the Reader is for, and not usually edit them, which is what Adobe Acrobat is for?
    If, instead of trying to open the emailed PDFs, I save them to my computer, I can launch Adobe Reader XI and open them from within that program without any problem. That’s OK if I just need to view the PDF, but I need to be able to edit PDFs too, so I must get Adobe Acrobat 9.0 to work.
    Would reinstalling Adobe Acrobat 9.0 Pro help? Is there a way to reinstall that program only from the installation disks or would have to reinstall CS4 entirely?
    I cannot open Adobe Acrobat 9.0 at all, so any solutions which must be done with the program open are not possible.
    I would really appreciate some help.

    SOLVED!
    Resetting Internet Explorer didn't work, Reinstalling Acrobat 9.0 Pro didn't work, but changing a registry key did.
    Here's where I found the solution:
    Microsoft Visual C++ Runtime Library error opening PDF files - Microsoft Community
    Here is the relevant post, but before you try it, read my note below:
    Hi,
    This is known issue with Acrobat for several versions now, Adobe's current fix is just to update their software: http://kb2.adobe.com/cps/404/kb404597.html
    The problem is with the application data being misdirected.
    "The affected user has a redirected Application Data folder and as a result the network path containing the Application Data uses a UNC path that begins with \\. This UNC path causes Acrobat 9.0 or Adobe Reader 9.0 to incorrectly parse the Application Data path and give the error message."
    A potential Solution would be to go into the registry. Left Click type "regedit" and right click and run the program with "run as administrator". Go to Hkey_Current_User\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders and make sure see where "AppData" is pointing. If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming".
    BUT, be careful about one thing: This poster seems to have accidentally used forward slashes when he should have use back slashes. Look at the very last line of his post where he advises "If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming". You'll find, or at least I did, that this key has a back slash, not a forward slash, so changing what I found: "%UserProfile%\Application Data" to "%UserProfile%\AppData\Roaming" worked and now Acrobat 9.0 works fine.

  • Noob question, how to avoid this runtime error,please help..

    Im new to java. Im using a JOptionPane in getting the user an input/a number, which is in String,. and to use it, im converting it by Integer.parseInt. When I run it everything seems ok, but whenever i inputted other data types other than integer(e.g char), i get a runtime error message "exception in main thread java.lang.NumberFormatException blah blah.....,. Is theres a way or a method or something that i can filter the users input when they type a character or when they inputted nothing that will not resulted to a runtime error, instead, an error message box will said that it is an invalid input. thanks in advance

    Ah, well, after an evening of rest and reflection, I have to conclude that we are all partially correct. I never meant to imply that NumberFormatException should not be caught. I have had to repair too many classes in which just-in-case or programming-by-exception was a rule, rather than a valuable technique for handling exceptional or error situations.
    As far as this example, I was not attempting to write a parser, or even start one. We are talking about a very simple situation ... determine if a String represents an integer. My example was overly simple, too. As pointed out, too simple. *\d+* would have eliminated empty strings, and with a few relatively minor changes, could handle all legal integers easily, including '-' and ',' characters, while excluding floating point and other invalid inputs. I did mention that regexes were an advanced technique. A Scanner could be used to test for the existence of an integer in a string. None of these rise to the level of parsing, IMO, but, as I have frequently said in these fora, the arguments of the mages are infinite. Of course, that implies that I consider myself a mage, which is not actually the truth.
    In any case, as pointed out, this is an example where catching a runtime exception is probably a good idea, as long as we don't give the OP the idea that this is the only technique, or that code can be written to ignore the causes of exceptional situations, because we can always handle them in the catch block. I have seen way too much of this to be comfortable with even the suggestion of this.
    I come here to learn. Sometimes, I learn interesting, complex things. Sometimes, I learn interesting, simple things.
    Sincerely, thanks for helping me to learn.
    ? {?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Adobe runtime error - please help!

    Here is my situation. I am a local PC technician and one of my users keeps getting a runtime error when opening adobe acrobat.exe.
    She is running Windows XP professional, using Adobe Pro 9.3.1. She received this message a couple weeks ago, I recreated her profile and the error went away. It recently came back. We do not use roaming profiles, just local. I tried running the program as administrator, and it will open. The user has full permissions to the adobe folder and registry keys. I have reinstalled Adobe, repaired it, but she still gets the error. I ran CC cleaner to fix any registry problems, this did not resolve the problem.
    I attempted to change the UNC path in the registry for %USERNAME%\application data, but the user does not have a roaming profile, so I don't think this would apply. I ran the latest update patch that adobe supplied for this software, but still get the error.
    Does anyone have a resolution or any suggestions concerning this problem?
    Thanks in advance,
    Greg

    Uninstall Acrobat, run the Microsoft Installer Cleanup Tool, then re-install Acrobat and update to the latest and greatest.

  • Windows - No Disk Error - Please help!

    Windows - No Disk Error - Please help!
    Hi,
    I have the following set up:
    * Lenovo T-61p
    * Windows XP Pro, SP 3
    * HP Photosmart 8250 printer (with nothing plugged into the various card readers, and USB slot in the printer)
    I am getting the following error:
    Windows - No Disk
    Exception Processing Message 0xc0000013 Parameters 0x75CE023C
    0x84C40C84 0x75CE023C
    I have done a lof experimenting and thru process of  elimination, and believe I have determined that this only happens when the HP Photosmart 8250 printer is plugged in to the USB slot of the computer.
    I can stop it from happening by safely removing hardware, and removing the drive that the 8250 creates on your computer when you plug it in.  In my case, this is drive E.  I'm guessing if there was something in the the various card readers, and USB slot in the printer, that's what those would be, but I don't those use those functions of the printer.
    I understand there is more at work than simply the printer, because I did not used to get this error, so some software changed as well, that is scanning all ports, and finding a drive that has no disk, and producing the error.
    A simple google search finds a lot people all over the world having this problem, and are solving it in different ways, because the suspected source is different: Norton, HP, etc.
    I have tried everything I have read, and the only thing that works was my own idea, of manually safely removing the drive the printer creates each time I plug in the printer.
    Anyone every any better, more permanent solutions?  Or know what the real root of the problem is?  What is scanning all the drives and being showing an error message because it found an empty drive?
    Thanks and Happy Holidays/New Year!

    I've been getting the same error on my 4G nano for the past week. I've had my nano for about a month and the first few weeks were fine. Tried it on 2 different computers (Vista and XP) and same problem. Tried it on a 3rd (XP) and it started ok. Problem started coming back after a day.
    I was able to find a quick fix though. I noticed that sometimes the message says something like "iexplore.exe... no disk..." even if I don't even use IE. What I do is end iexplore.exe on task manager before running iTunes and syncing my nano. I don't get the error whenever I do this, but one drawback is that the contents of my nano suddenly pops up in a window - even when disk use is not enabled.
    I've reset/restored my nano dozens and dozens of times to make sure it's clean. Leads me to believe it's a driver issue. Either that or I have a friggin malware problem I can't seem to find.
    I'll be posting updates every now and then. I'm no expert so I'm hoping an Apple expert also steps in to give some input.

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    I cannot use iCloud on Windows 7, as it won't recognize my apple ID when i try to sign in to icloud it i get error saying "you can't sign in because of a server error (please help some one)

    Although your message isn't mentioned in the symptoms, let's try the following document with that one:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • HT201442 I did this but still i am getting the same error , please help me .

    I did this but still i am getting the same error , please help me .
    <Email Edited by Host>

    Look at http://support.apple.com/kb/ts4451
     Cheers, Tom

  • I am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    i am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    Hey alkarim2008,
    If you are having an issue with being unable to update or restore your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    Resolve iOS update and restore errors in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • My iphone won't pass the connect to itunes. when i try to restore is says that there is an error. please help!

    hi my iphone is broken. it won't pass the connect to itunes. when i try to restore is says that there is an error. please help!
    thanks,
    jg2013
    <Subject Edited by Host>

    Hello, 02633. 
    Thank you for visiting Apple Support Communities. 
    If your iPhone is disabled, you will need to process the steps in the article below.
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Cheers,
    Jason H.

  • HT4623 I have updated my iphone with the current software but it is showing you need to connect to  of itunes to activate your phone, when i did that it is continuously showing an error.please help me to get through.

    I have updated my iphone with the current software but it is showing you need to connect to  of itunes to activate your phone, when i did that it is continuously showing an error.please help me to get through.
    Kindly Activate my phone.

    Rajan Gupta wrote:
    ...it is continuously showing an error.
    See here  >  http://support.apple.com/kb/TS3424
    Also see this discussion.
    https://discussions.apple.com/message/21189708

  • I need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help

    i need the drivers for earl 2011 macbook pro 13 inch i7 4 gigs for windows 7 64 bits i tried downloading with bootcamp butt it never completes allways ends up with an error please help if any one has the drivers or knows were i can download them

    Doug...
    If you don't have it for reference, the manual might come in handy > US/Boot_Camp_Install-Setup.pdf
    After it loads, Command + F to find information regarding the drivers.

  • HT201210 hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me :)

    hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me

    Please tell us what kind of computer you have, what operating system and what version of iTunes. Not just "the latest version of iTunes", the exact version number.

  • I can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi

    i can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi.

    i switched off all the security settings and all the firewalls.
    i m unable to install any of the app on the ipad
    so i saw the apple support and it said to update the older version of my ipad.
    and niether am i able to download the update nor am i able to download any app and install it in my ipad2
    i also tried to download an .ipsw file (ios5 update) from torrentz bt i am also unable to install from that as itunes rjects that file and gives an error. and also tries to delete that file. plz anyone help urgently.

Maybe you are looking for

  • Purchased songs from Itunes STILL not playing on ipod mini

    I read all the posts about this issue, of purchased Itunes songs not playing on ipod. I deauthorized the computer and all computers associated with the account. then re authorized them. I reset the ipod several times, and also restored the ipod. I re

  • How can I have 2 iMacs in different locations communicate?

    I have 2 iMacs located 100  miles from each other. Both are connected to internet by highspeed cable. Is there any way I can get something from the hard drive of the other, communicate between the two? Thanks for any suggestions.

  • Issues in IE with horizontal spry menu

    Hi there, My horizontal menu is not working in IE(6 and up), but works perfect in Safari, Firefox, Opera.  In IE, the menu shifts to the right and shuffles everything along with it. Here is a sample page.  Can anyone help me??? http://www.tmnevents.c

  • SMARTFORM CRM - access to PCAT item - UPDATED

    Hi, I need to be able to access some details from the pcat area on a smartform. We are using CRM 5.0. I am looking for an example of how you would config the smartform to connect to the pcat area and return a customised description. We need to do thi

  • LMS 4.2 Portlets

    I installed lms 4.2 and ran the first discovery.  Everything looks good.  What I am seeing is under My Menu -> My Dashboards -> Click on Functional, I am seeing a some strange screens I have never seen before.  I have attached a screenshot of what I