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 / June 2005

Tip: Looking for answers? Try searching our database.

nullpointerexception from within JVM

Thread view: 
asd - 23 Jun 2005 06:15 GMT
Hi all,

I am running an application and the error that I get I think has little
to do with my application. The error is as follows:

java.lang.NullPointerException
 at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String)
(/usr/lib/./libgcj.so.3)
 at 0x4025bcd2: java.lang.Exception.Exception(java.lang.String)
(/usr/lib/./libgcj.so.3)
 at 0x40314180:
org.xml.sax.SAXException.SAXException(java.lang.String,
java.lang.Exception) (/usr/lib/./libgcj.so.3)
 at 0x40314441:
org.xml.sax.SAXParseException.SAXParseException(java.lang.String,
java.lang.String, java.lang.String, int, int, java.lang.Exception)
(/usr/lib/./libgcj.so.3)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x40246399: java.lang.Class.initializeClass()
(/usr/lib/./libgcj.so.3)
 at 0x40230912: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
(/usr/lib/./libgcj.so.3)
 at 0x402ad02d: gnu.gcj.runtime.FirstThread.run()
(/usr/lib/./libgcj.so.3)
 at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread)
(/usr/lib/./libgcj.so.3)
 at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/./libgcj.so.3)
 at 0x08048910: ?? (??:0)
 at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
 at 0x080486c1: ?? (??:0)
java.lang.NullPointerException
 at 0x4021aef2: _Jv_ThrowSignal (/usr/lib/./libgcj.so.3)
 at 0x4021af26: ?? (??:0)
 at 0xbfffd634: ?? (??:0)
 at 0x40229471: _Jv_ResolvePoolEntry(java.lang.Class, int)
(/usr/lib/./libgcj.so.3)
 at 0x40230699: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
 at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
 at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

(/usr/lib/./libgcj.so.3)
 at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
 at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
 at 0x4038305c: ?? (??:0)
 at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
(/usr/lib/./libgcj.so.3)
 at 0x402ad02d: gnu.gcj.runtime.FirstThread.run()
(/usr/lib/./libgcj.so.3)
 at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread)
(/usr/lib/./libgcj.so.3)
 at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte
const, boolean) (/usr/lib/./libgcj.so.3)
 at 0x08048910: ?? (??:0)
 at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
 at 0x080486c1: ?? (??:0)

I am using a Linux machine and java 1.4.2. My application deals with
XML extensively. Hence the SAXException in the stack trace above.

Thanks in advance for any help

regards,

ASD
shakah - 23 Jun 2005 06:39 GMT
> Hi all,
>
[quoted text clipped - 16 lines]
>   at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
>   at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)

[...stuff deleted...]

> I am using a Linux machine and java 1.4.2. My application deals with
> XML extensively. Hence the SAXException in the stack trace above.
[quoted text clipped - 4 lines]
>
> ASD

Can you try another version of Java (e.g. Sun's or Blackdown's JDK) and
see what happens?
Andrew Thompson - 23 Jun 2005 14:52 GMT
> Hi all,

Hello again.

This is now the second time* I have seen you
multi-post to these groups.  

* ..now I notice a third.

Do you understand what multi-posting is?

[ Please note that while I usually make a point of leaving
at least one thread with no "please don't multi-post" message
on it, if it is something you intend doing habitually, I
will find it necessary to warn *all* potentianl posters of the
time you are wasting. ]

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



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



©2008 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.