You Are Here:

Community: Developer Discussion Boards

#1 Old java.lang.Error: 94 - 2009-01-15, 18:33

Join Date: Nov 2005
Posts: 148
nagkumar
Offline
Regular Contributor
Does any one know what this error mean java.lang.Error: 94.

We are seeing this on N73. Any good document to refer and get the error code meanings.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
Reply With Quote

#2 Old Re: java.lang.Error: 94 - 2009-01-15, 18:38

Join Date: Jun 2003
Posts: 4,335
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Online
Forum Nokia Champion
Could be a "no such (accessible) method" error. Are you building against the correct API JARs for this device? What API(s) is the application using (Bluetooth?)?
Reply With Quote

#3 Old Re: java.lang.Error: 94 - 2009-01-15, 19:53

Join Date: Nov 2005
Posts: 148
nagkumar
Offline
Regular Contributor
Hi grahamhughes,

Thank you for this clue.. How did find this mapping.. May be you are right..

The issues I discovered was we were accessing public static int[] variable which was in 5 th Level of Interface chain.. and hence the issue.. It is very interesting note.. if I access the public static int variables at this 7th level it works fine and not the int[]

i.e if the variable int[] k is decared in interface A, B inherits A, C inherits D, E inherits D, F inherits E,

Then access to E.k fails with this error 94. What you said is correct as it not able to recognise this array. I know such a deep inheritance is bad.. but we see a good reason to segreate too many variable needed to enable j2me application single source enabled.

Any one from Nokia.. what is this surprise..Why this happens with arrays and not with premitives and also String objects..

Good Wastege of 5+ hours.. to discover this..:)

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com







Regards,
Nagendra
Reply With Quote

#4 Old Re: java.lang.Error: 94 - 2009-01-15, 20:44

Join Date: Jun 2003
Posts: 4,335
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Online
Forum Nokia Champion
I've been doing this a long time... ;)

Interesting, so this happens not just for methods, but also fields. So it is more generically "linker error".
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia