• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

error outside the VM??

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all
i am facing this problem. whenever i exit my code (java application), i get an error stating that 'an error occured outside the VM, in the native code'.
i get some pointer location on the dos screen and also a window popups stating an 'illegal reference' to a location & it prints out a memory location.
could anyone plz tell me what could the possible reasons be?
thanx in advance
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some code would help.
 
Stanley George
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
thanx cindy...but its tons of code...and i don't know which part is causing it. if i could identify the class from which the error is coming i could post it. what are the ways i can find which class is the culprit?
thanx again
stan
 
Stanley George
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all
this is the error that i get EVERYTIME i exit my application:
"
Error outside the VM in the native code:
Program counter=0x61753106
"
then in windows 2000, this error window pops up.
"
Program counter = 0x61753106 referenced memory at 0x0a6c1f40. The memory could not be 'read'
"
the memory locations are the same everytime. i have 'System.out.println()' commands throughout my program. each gets executed too. in the end, after every 'System.out.println()' command is executed it gives the error.
i am totally confused. i tried using jdb...but my program takes eons to run, and that too it executes only a part of the code.
ANY.JUST ANY suggestion is welcome.
thanking you
stanley
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a Win2000 problem. Have you tried looking at the Microsoft site for patches or service releases?
 
Stanley George
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
win2k problem? u think so cindy? but i have heard that such errors do occur, though verrrrry rarely. newayz ...i'll check it on a win'98 system & let you know what happens.
thanx
oh! when will the bugs stop coming??
 
get schwifty. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic