Why do I get an error outside the VM in the 3d api when resizing windows?

I'm just starting with the 3d api.
Ive created a simpleUniverse and added a branchGroup and
some TransformGroups.I've created multi-color pyramid that
rotates using a RotationInterpolator. Everything works fine
except when I try to resize the window, this happens:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x7ABDBC78
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.WToolkit.eventLoop(Native Method)
     at sun.awt.windows.WToolkit.run(WToolkit.java:240)
     at java.lang.Thread.run(Thread.java:536)
Dynamic libraries:
0x7D750000 - 0x7D76D000      C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
Local Time = Mon Sep 02 23:45:36 2002
Elapsed Time = 45
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
I tried this:
SimpleUniverse su = new SimpleUniverse(myCanvas3D);
su.getViewer().getView().setWindowResizePolicy(View.VIRTUAL_WORLD );and some other variations but they don't have any effect.
Then I ran some of the 3D example programs from sun and the same
thing happens to them.
Does anyone know why this is happening?
Is there a solution?
ps> I am running all of these as applications not as applets.

I believe that you are running into a problem with the version of the IMAGEHLP.DLL that you are running.
DLLs are Dynamic Linked Libraries, containing native compiled functions available for use by applications.
I am not familiar with that particular DLL (not really a windows programmer, just dabble occasionally ;-)) but it looks like the VM is trying to access a function in that DLL that is not available.
As you probably already know the VM has to interface with native code and libraries to work on a given machine. In your case, it appears to be trying to interface with a portion of the native windowing/redraw/resize functionality.
On Windows there is a real nightmare as there are multiple APIs for accessing the native functionality embedded in multiple DLLs of which there are often multiple different versions in circulation. You will find that sometimes certain functionality can only be accessed by using an undocumented feature of a DLL and these features can disappear or be moved between versions - that is one reason why I much prefer java to MS C++...
There are a few things you can do to try and resolve this, see if there is a newer or older version of the JVM/Java3D extensions that works on your system, apply appropriate service packs or patches to windows if specified by the JVM/Java3D and update/change your graphics card drivers. Fixing this kind of problem in windows is a bit of a black art unless you can find someone who has had the exact same problem before and fixed it.
All I can say now is good luck!
Bob B.

Similar Messages

  • Getting an error in the "Partner Link" when specifying an https-base wsdl

    Hi friends,
    this is Hari. I'm getting an error in the "Create Partner Link" dialogue when specifying an https-based wsdl url. The non-ssl wsdl url works fine, but I need it to work for ssl (https). The specific errror reads:
    Error:Failed to read wsdl file at "https://serverstuff/webservice.cfc?wsdl", caused by: javax.net.ssl.SSLHandshakeException. :sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    i need to invoke secure service(https).what should i do for taht?
    Regards,
    hari

    http://orasoa.blogspot.com/2007/09/compile-error-bpel-against-ssl.html
    marc

  • Why am I getting different results for the same resolution but different Windows boxes, Win 7 and XP

    I am running an .exe on two different windows boxes, one in Win 7 and one on XP.  I set both for resolution 1024 x 768.
    On Win 7 (laptop and old Dell desktop) I have a great looking app.  On the WIn XP boxes all the fonts to large.  THis doesn't make sense to me as all the PC's have the same resolution.
    Has anyone run across this before?
    Mark Ramsdale
    Solved!
    Go to Solution.

    The system fonts for XP and Vista/Win7 are different.
    See
    http://forums.ni.com/t5/LabVIEW/Elements-have-moved-when-opening-vi-with-f3-patch/m-p/1054817
    http://forums.ni.com/t5/LabVIEW/What-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...
    http://forums.ni.com/t5/LabVIEW/Font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...
    and several other similar threads.

  • Why do I get 2-3 of the same page when I want to go back one page

    When I want to go back one page with the back arrow, I frequently have 2 - 3 of the same page and I have to manually go to the one I want or I just increase the number of the same page in the history

    Hello,
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!
    I avoid this type of problem by opening a new tab / window from
    the page I want to go back to.

  • Why do I get an error message in safari 5.1 telling me to restart in 32 bit mode in order to "view the movie" when I first start safari on opening page?

    why do I get an error message when I start safari 5.1 telling me I need to open browser in 32 bit mode in order to "view movie" ? This occurs when I start safari on the opening page (the page with all the boxes for most viewed web sites). This had never occurred with safari up until the latest updates to safari & OSX [Version 5.1 (6534.50)] and OSX 10.6.8.
    also, I'm not trying to view a movie - this occurs for the page previews that load when safari opens.
    thanks.

    go here:
    http://get.adobe.com/shockwave/otherversions/
    choose "different version">full 64 bit and download - seems to have solved probem...let you know if it happens again

  • Why am i getting an error message that says "an unknown error has occured" when i try to update my apps in the app store

    Can someone please offer some suggestions why I am getting an error message that says "an unknown error has occured" when I try to download or update my apps in the app store?
    Thanks!
    disregard! i noticed someone else's post about signing out of the app store and signing in again and it worked.....

    Hi ...
    Try here > Mac App Store: "An unknown error occurred (100)" when purchasing
    If that doesn't help, drag the App Store icon straight up off your Dock so it goes, "poof".
    Now drag the App Store icon from your Applications folder to the Dock. Try updating your apps.

  • I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?

    In relation to my previous inquiry regarding inability to view a pdf file using Safari...
    Is it possible that I can view other online bills from other website but not this particular bill from one specific website?
    Sorry if I missed any important point in this article -->Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
    Thanks again!

  • Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue.  I have reinstalled the program to no avail.

    Why do I get this error message when I open Organizer in Photoshop Elements 11 "Elements Organizer has stopped working"? My only option is to Close Program so I am effectively locked out of my photo catalogue. I have tried reinstalling the program but it made no difference to the error message.
    Could someone help please?  Steph

    Hi,
    Please give a try to Photoshop Elements (PSE) knowledge base. steps mentioned on this and see if it works.
    Regards
    Kishan

  • Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    Why do I get this error when trying to use my bluetooth headset as a listening device? There was an error connecting to your audio device. Make sure it is turned on and in range. The audio portion of the program you were using may have to be restarted.

    I may have already resolved this issue buy removing the device from my computer and re-pairing it. It is currently working just fine.

  • HT4097 Help! Everytime I try to update my iPad 2 on 4.3.3 it get is error message "The iPad "iPad" cannot be restored at this time because the iPad software update server could not be contacted or is temporarily unavailable." I dont know why please help

    Help! Everytime I try to update my iPad 2 on 4.3.3 it get is error message "The iPad "iPad" cannot be restored at this time because the iPad software update server could not be contacted or is temporarily unavailable." I dont know why please help.
    I'm running 4.3.3 on a ipad 2 im computer is connected via wire to internet

    See
    iOS 5: Updating your device to iOS 5
    http://support.apple.com/kb/HT4972
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect to your computer & click on the "Update your device using iTunes".
    Tip - You may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. After you update to iOS 5.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • Why am I getting an error when I place two OAM files one after the other in different pages?

    Why am I getting an error when I place two OAM files one after the other in different pages? They do not load or play correctly.  They are both configured to play automatically with a .125 second delay and both have a white rectangle "poster" over for a hidden effect.

    Thanks for the idea, Scott! I initially tried your idea, but my OAM files were still not loading correctly.  I tried other combinations of OAM files, and it seems to work fine.
    Back to my original OAM files: I made sure that my elements in my Edge Animate project had different names. I originally copied parts of some elements from one to another, and I think it was confusing to DPS to read it. 

  • Why am i getting this error? they are not the same?

    1021: Duplicate function definition.
    1021: Duplicate function definition.
    stop();
    import flash.events.MouseEvent;
    // home button definition \\
    // Portfolio button definition \\
    Portfolio_btn.addEventListener(MouseEvent.CLICK, pClick);
    function pClick(event:MouseEvent):void{
        gotoAndStop("getPortfolio");
    // Contact Me button defintion \\
    Contact_btn.addEventListener(MouseEvent.CLICK, cClick);
    function cClick(event:MouseEvent):void{
        gotoAndPlay("contactme");
    why am i getting this error the functions have different names... idk what to do they are for two different buttons I am using action script 3.0

    i did what u said and it said these two lines were the same
    // Portfolio button definition \\
    Portfolio_btn.addEventListener(MouseEvent.CLICK, pClick);
    function pClick(event:MouseEvent):void{                                                         <--------this one
        gotoAndStop("getPortfolio");
    // Contact Me button defintion \\
    Contact_btn.addEventListener(MouseEvent.CLICK, cClick);
    function cClick(event:MouseEvent):void{                                                           <--------and this one
        gotoAndPlay("contactme");
    it gave me the same error but they are not the same

  • Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them :(

    Why am I getting this error message when I try to import? "The following files were not imported because they could not be read. (645)" I can see them
    Is was working this morning!

    Depends on your operating system
    Go to google, try typing in
    Change permissions Windows
    or
    Change permissions Mac

  • Why do I get an error when the code is working?

    Hi guys,
    I get an error on the 'employeeList[i].id' and 'employeeList[i].label'.
    Though everything works when I click the 'Search Button' (all text fields populate with the correct data).... but I still get an 1010 error.
    Any idea's why?
    search_txt = input textfield
    name_txt = dynamic textfield
    id_txt = dynamic textfield
    TypeError: Error #1010: A term is undefined and has no properties.
    var employeeList:Array = new Array();
    // array populated in another function using
    // employeeList.push({label:employeed[i], id:employeed[i+1]});
    function search(e:MouseEvent):void{
        for(var i:int=0; employeeList.length; i++){
            if(search_txt.text == employeeList[i].id){
                name_txt.text = employeeList[i].label;
                id_txt.text = employeeList[i].id;
    search_mc.addEventListener(MouseEvent.MOUSE_UP,search,false,0,true);
    Thanks,
    Sky

    Probably because you have an error... when does your loop stop with what you have?
    for(var i:int=0; employeeList.length; i++)

  • Why do I get an error in AirDrop that reads The Apple ID certificate for  is invalid.

    Why do I get an error in AirDrop that reads The Apple ID certificate for XXXX is invalid. The XXXX would be the name of the other computer I am sending it to. I am trying to transfer files from my iMac to my son's MacBook Air which are both up to date and running Lion.

    i had airdrop issues...
    when sending to another machine from my own, the other machine instantly denied the request
    when the other machine tried sending to me, it failed with a warning "apple id certificate is invalid"
    after calling apple:
    go to the apple>preferences>iCloud
    log out
    log in
    do this on BOTH machines
    fixed

Maybe you are looking for