Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

javac throwing native exception

Thread view: 
anusrik - 27 Apr 2006 06:08 GMT
Hi,
I am getting this error when javac is run on JDK1.3.1
An unexpected exception has been detected in native code outside the
VM.Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x6d3c794e
Function name=ZIP_Open
Library=c:\jdk1.3.1\jre\bin\zip.dll
Current Java thread:
at java.util.zip.ZipFile.getNextEntry(Native Method)
at java.util.zip.ZipFile.access$300(ZipFile.java:29)
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:295)

Can someone please help. It used to compile earlier and now suddenly
has started failing.

Thanks,
Anu
Tony Morris - 27 Apr 2006 06:49 GMT
> Hi,
> I am getting this error when javac is run on JDK1.3.1
[quoted text clipped - 13 lines]
> Thanks,
> Anu

This is a bug in the JVM implementation.
Are you using the IBM implementation (*internal chuckle*)?
Try updating to the latest version.

Signature

Tony Morris
http://tmorris.net/

anusrik - 09 May 2006 13:07 GMT
The issue is it used to compile fine for long time and suddenly this
has surfaced. if it was a bug then it shouldn't have compiled earlier
Also another fact is that there are lots of javac targets in my build
file and only one particular one has started failing regularly now. So
why are the others not failing if its a bug.
when does this bug surface?

Thanks,
Anu
Fred Kleinschmidt - 09 May 2006 15:47 GMT
> The issue is it used to compile fine for long time and suddenly this
> has surfaced. if it was a bug then it shouldn't have compiled earlier
[quoted text clipped - 5 lines]
> Thanks,
> Anu

It's because you have too many semicolons between the end of line 42
and the beginning of line 43
Chris Uppal - 09 May 2006 17:30 GMT
> The issue is it used to compile fine for long time and suddenly this
> has surfaced. if it was a bug then it shouldn't have compiled earlier
> Also another fact is that there are lots of javac targets in my build
> file and only one particular one has started failing regularly now.

One possibility is that you have a corrupt JAR or ZIP file somewhere on your
system, and which is used by only one of your build targets.  You could try to
pin down which JAR/ZIP it is looking in (say, by using a file-access monitoring
tools like Filemon from www.sysinternals.com) and rebuild or replace that.

   -- chris


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.