Unusual  NoSuchMethodError  thrown by GetMethodID  while making a JNI call

Hi All,
I am using Java 1.6 on solaris and I am calling a method of a java class from a c program. As part of JNI procedure to call this java method, I sometimes get NoSuchMethodError thrown by Jni's GetMethodID which I will be calling before CallVoidMethodV. Strange thing is , I don't get this error every time. My program frequently invokes a java method from c program based on some events and at certain times I get this error. Any input on this problem will be really helpful.
Regards
Prem

As one guess, a C memory bug.
Such bugs can cause almost any sort of behavior. If you see crashes then that would insure it. But it could occur because the memory bug represents deterministic behavior so it only occurs when a specific execution path is taken.
Of course there could be some other context, for example if you are using class loaders and relying on different versions of code then it could be getting the older version.

Similar Messages

  • Can't browse the internet while making a phone call

    I AM WONDERING IF ANYONE ELSE HAS THIS. I live in the United States and used to have a really cheap phone with this particular carrier and was able to make calls and browse through the internet while on that phone call. Now that i have the new I Phone 6 with that same carrier and i can NO LONGER make a call and browse the internet. This really upsets me since i pay a high bill to have my IPhone plan. I thought it was a problem with my carrier company but the told me that it's an issue with the new IPhone 6.

    It's on, but are you actually in an LTE coverage area? What does it say in the status bar? If you're on the CDMA network, you can not talk and use data at the same time. The "cheap" phone you had that allowed you to do that actually had 2 radios in it, as opposed to the iPhone. Of course, even if you are on LTE, the carrier needs to have enabled Voice over LTE service in that area and on your account.
    Sprint is pretty consistently the worst carrier in the country.

  • HP Pre 3 shutting off while making a phone call, even after doctoring.

    When I make a phone call and get the phone to my ear instantly (so sensor shuts off the screen) 1 in 8 phone calls my phone would just cut off and shut off. Then I have to hold the power button and switch the mute three times to bring it back to life.
    If I make a phone call and let the phone stand in my hand for like 5 seconds before i bring it to my ear it will work just fine.
    I also noticed that screen doesn't instantly turns on after I get it away from my ear, sometimes it dimms up really slowly. These occasions are rare but they are still there.
    Finally I doctored it (mainly because Skype started to sign me out after 15-20 minutes while on WiFi) and problem is still there.
    This problem occured first like few weeks after I got the phone (which is like four months ago) and its been there ever since.
    Post relates to: Pre p100ueu (O2)

    So, on a clean (full) restart, scheduled using Preset Reset, we have:
    paulb@***:~/tmp/downloads$ grep shutdown /media/HP\ PRE3/downloads/messages
    2012-02-23T11:35:05.250091Z [6336] webos-device user.notice root: /etc/rc6.d/S10orderly_shutdown: runlevel=6
    2012-02-23T11:35:05.289428Z [6336] webos-device user.notice root: /etc/rc6.d/S10orderly_shutdown: com.palm.power service not running
    2012-02-23T11:35:05.306549Z [6336] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation starting
    2012-02-23T11:35:05.313964Z [6336] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation stopping LunaSysMgr
    2012-02-23T11:35:05.578460Z [6337] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation done stopping LunaSysMgr
    2012-02-23T11:35:06.658935Z [6338] webos-device user.notice root: /etc/rc6.d/S25shutdown_animation done
    and then:
    2012-02-23T11:35:20.775726Z [21] webos-device kern.notice kernel: pmklogd started
    2012-02-23T11:35:21.102905Z [21] webos-device kern.info kernel: [131075.591644] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.104248Z [21] webos-device kern.info kernel: [131076.428771] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.104705Z [21] webos-device kern.info kernel: [131081.554138] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.108825Z [21] webos-device kern.info kernel: [131091.071319] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.133178Z [21] webos-device kern.info kernel: [131092.381317] rockhopper: start re-registering driver
    2012-02-23T11:35:21.177276Z [21] webos-device kern.warning kernel: [131093.789062] bootmark (starting): 28EE99C289D846B1E3448F297D7DD73B
    2012-02-23T11:35:21.507415Z [22] webos-device kern.info kernel: [131094.121093] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:21.537445Z [22] webos-device kern.info kernel: [131094.147247] kjournald starting. Commit interval 5 seconds
    2012-02-23T11:35:22.130584Z [22] webos-device daemon.warning upstart: (00022/753571891) tempdb main process (1171) terminated with status 2
    2012-02-23T11:35:22.171844Z [22] webos-device user.notice root: org.webosinternals.ipkgservice upstart: script called
    2012-02-23T11:35:23.017211Z [23] webos-device user.debug logctld: main: About to start main_loop
    2012-02-23T11:35:27.189941Z [27] webos-device user.notice powerd: {powerd}: Powerd started on palm-rib.
    2012-02-23T11:35:27.190948Z [27] webos-device user.info powerd: {powerd}: CHG_LOGIC: debug_battery_taper (charging, type=0, 1195.000000mAh, 100%, 32C, 0mA, 4177mV, (avg)0mA, min=40mA, max=4141mV, taper_state=start, battery_state=charge-termination, battery-authentic charger-connected)
    2012-02-23T11:35:28.237121Z [28] webos-device user.notice mojodb-luna[1188]: [core.app] mojodb starting...
    2012-02-23T11:35:28.868743Z [29] webos-device user.notice SmartKeyService: start: started service com.palm.smartKey
    2012-02-23T11:35:28.869079Z [29] webos-device user.notice SmartKeyService: main: started service com.palm.smartKey
    2012-02-23T11:35:30.355560Z [30] webos-device user.emerg hidd: HidInit: Touchpanel Reader Thread started
    2012-02-23T11:35:31.636779Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() started
    2012-02-23T11:35:31.636871Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() running - checking wallpaper and ringtone consistency
    2012-02-23T11:35:31.642883Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() running - restoring volume icon file
    2012-02-23T11:35:31.651489Z [32] webos-device user.warning LunaSysService: SystemRestore::startupConsistencyCheck() finished
    2012-02-23T11:35:33.674377Z [34] webos-device user.notice BrowserServer: startService: BrowserServer started on service bus
    2012-02-23T11:35:36.214630Z [36] webos-device user.notice mojodb-luna[1188]: [core.app] mojodb started
    2012-02-23T11:35:39.040100Z [39] webos-device daemon.warning upstart: (00039/663331410) dnsmasq main process (1454) killed by TERM signal
    2012-02-23T11:35:39.071868Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:39.091461Z [39] webos-device user.notice BrowserServer: IP address changed: 192.168.1.203. Restarting network
    2012-02-23T11:35:39.116577Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:39.160095Z [39] webos-device user.crit PmNetConfigManager: {netcfg.mgr}: startARequestCycle: dnsmasq not up
    2012-02-23T11:35:40.907012Z [41] webos-device user.notice root: CustomizationService upstart: customization launch prereq not met
    2012-02-23T11:35:48.570617Z [49] webos-device kern.warning kernel: [131120.936187] (&mm->mmap_sem){++++++}, at: [<80484e00>] kgsl_get_vma_from_start_addr+0x24/0x150
    2012-02-23T11:35:48.578826Z [49] webos-device kern.warning kernel: [131121.024414] [<80484e00>] kgsl_get_vma_from_start_addr+0x24/0x150
    2012-02-23T11:35:48.583770Z [49] webos-device kern.warning kernel: [131121.118682] [<806db774>] (down_read+0x48/0x5c) from [<80484e00>] (kgsl_get_vma_from_start_addr+0x24/0x150)
    2012-02-23T11:35:48.584045Z [49] webos-device kern.warning kernel: [131121.128417] [<80484e00>] (kgsl_get_vma_from_start_addr+0x24/0x150) from [<8048615c>] (kgsl_ioctl+0x85c/0x15d0)
    I'm not sure what all that means, or what the marks of a good, planned restart are, but it's a place to begin. Now all I have to do is wait for an unscheduled restart. Hmm, maybe I ought to trigger a luna restart, and see what that looks like in messages, as I don't know whether the unplanned stuff is a full or luna restart.

  • Error while making Web service call

    I have configured my webservice for https
    i calling the web service from a j2me clieny application, i get the error
    javax.xml.rpc.JAXRPCException: no HTTP reply header
         at com.ibm.pvcws.jaxrpc.rpc.OperationImpl.invoke(OperationImpl.java:321)
    Can somebody please help me with the error

    Hello
    You get the WebServiceME.jar by downloading an add-on by using the software manager, Help->Software Updates->Software Manager
    Good luck

  • Dropped my iphone while making a phone call and when i picked it up the screen was black and now it will not turn on. I have tried holding down the home and power buttons for over 2 hours and it is not working! help :(

    i dont know how to fix this help

    Basic Troubleshooting Steps when all else fails
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6, holding down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
    - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    - Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.

  • Issue while making a AJAX call to a servlet in ALUI.

    Hi,
    The problem scenario is :
    I log into the portal using "http://147.149.132.93:7001/portal/server.pt"
    i have two instances of applications which have same files but provide different functionality one on 147.149.132.93 and other on 147.149.132.102 .
    I have configured my portlet that points to the application on 147.149.132.102 , when i make a ajax call to a servlet using the relative path for the aaplication , in normal scenario the ajax should make call to the servlert on the 147.149.132.102 but this does not happen and ajax makes call to the servlet on the machine 147.149.132.93 .
    Is there any issue regarding usage of Ajax in ALUI portal?
    Why the Ajax takes the server path from the portal login URL and not from the remote server configured for the portlet ? ?:|
    HELP !!!!!!!!!!!!!!!
    Regards,
    Prashant

    I m also facing same problem. I resolve the problem by simply giving >complete servlet address in ajax call.There are 2 issue with this:
    1) AJAX call will bypass portal, so it makes calls unsafe + you can not use portal functionality anymore. Plus some other issue like session expiration and so on.
    2) URL is hardcoded, so it's difficult to manage.
    All calls (include ajax) have to go through portal in portal environment. It means that AJAX url has to be gatewayed like any other url. There is no issue with ajax in portal. In G6 make sure that <inline> refresh checkbox (for WS) is unchecked.
    Here is example how to create AJAX URL on the fly by using Javascript. Let's say we have 2 files in root folder of <RemoteProjectName> web application:portlet.jsp file and ajaxExample.jsp.
    Code in portlet.jsp may looks like
    <script>
    var Url = "<pt:url xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' pt:href='ajaxExample.jsp'/>";
    </script>
    Here is what you can get as result of this transformation (based on data provided in first post):
    http://147.149.132.93:7001/portal/server.pt/gateway/PTARGS_0_0_XXX_XXX_X_XX/http%3B/147.149.132.102%3B/RemoteProjectName/ajaxExample.jsp
    where XXX - are numbers specific to particular portal environment.
    Edited by Bryazgin at 12/21/2007 7:43 AM

  • Xperia Z2_Screen problem while making a phone call

    Hi,
    I have bought a  Xperia Z2 two days ago. I think, I have a serious problem. When I want to make a phone call, I am writing the numbers and then press the call button, my screen gets completely dark when the phone is still in my hands (not close to my ears). I can still talk with my phone, but I cannot see the screen, therefore it is very difficult to end the call. If I am pressing the power button one-two or more than one-two times, the screen comes back and then I can end the call. I have a screen protector on my screen, which comes within the package of Z2. I tried if the same problem continues without screen protector or not. The answer is yes, it continues. I boot the phone  in the safe mode, but the problem is still there.
    I am waiting your help...

    I see you did your homework about the screen protector and safe mode.Do you have any case?
    Also check if proximity sensor works fine.Dial *#*#7378423#*#*-Service test-proximity sensor.
    All we have to decide is what to do with the time that is given to us - J.R.R. Tolkien

  • How to type text while making a phone call

    I was topping-up my pay-as-you-go account today and keying in my credit card info when O2 autobot asked me for my postcode. How on earth do you use the letters on the alphanumeric keypad???

    if you are asking how you send letters over a phone call... that is not possible... you can only send 1,2,3,4,5,6,7,8,9,0,*,# perhaps they just want you to press the number key with the letter on it? if this is the issue then you should contact O2 and ask them how to enter letters when prompted for a post code using the IVR system.
    my original post:
    text entry changes depending on what function you are doing...
    the letters on the keypad in the phone application are just there to help you dial numbers that are listed with letters instead of numbers... for example 800 BUY NOW3 or 866HOLIDAY
    if you wish to send a text message press the home button at the bottom of the screen and select the "Messages" icon... if you don't see it slide left or right on the screen with one finger until you find the page it is on.
    once your in messages you can create a new message and when you do so you will find the on screen keyboard changes to a alphabetic one to let you enter the messages. if you need other symbols and numbers on that keyboard press the "123" at the bottom.
    check this link for a really handy online guide: http://www.apple.com/iphone/how-to/index.html#basics.introduction
    be well

  • Sometimes while making a phone call, the person can not hear me but phone is not muted

    I have Iphone 6 and sometimes like once a month, when i make a phone call, the person can not hear me.

    WWe have tried the soft reset.  As of now it only does it to one other phone number I call.  The number is my husbands who is on Same plan. We thought maybe it was just something with the iPhone 6.  The phones are only 3 months old. 

  • Brand new iPhone 5s earpiece volume very low while making/receiving calls

    I bought an iPhone 5s yesterday, set it up and updated it to iOS 7.0.3 and much to my dismay I tried to make a call and the earpiece volume is extremely low. Is there a simple fix for this or some sort of explanation or should I book an appointment at the apple store and ask for a replacement. Any help would be much appreciated. Thanks

    fono88 wrote:
    My new iphone 5s makes humming/buzzing noise while making and receiving calls ...
    This is not normal.
    Take it in to any Apple Storev for evaluation.

  • While in a Skype call in Windows 8, the volume of other sounds lowers

    Hi everyone,
    I am reposting an issue ride is experiencing when using Skype in Windows 8. Ride writes:
    I am having a problem when using Skype as well.  While taking a Skype call, sounds on other programs are lowered in volume.  I have selected "do nothing" in the sound card communications settings section, but the problem still persists.  Is there any way to fix this?  I am using windows 8 with a Compaq CQ45 computer.
    Hi ride,
    I've noticed that the Skype app on the Windows 8 Start screen does not do all the things that the desktop version of Skype for Windows 8 does. I heartily recommend installing the desktop version of Skype, as well as the Start screen app, and logging in to both. That way you'll still get updates in your live tile on the Start screen, and you will still be able to get voice messages on your desktop version of Skype. It's the best of both worlds.
    I managed to listen to an online radio station full blast while making a Skype call. Here's what I did:
    First, I installed both the Skype app and the desktop version of Skype for Windows 8 (get the directions in the Installing and setting up Skype for Windows 8 and the Installing and setting up Skype for Windows desktop sections of the Using Skype to Make Voice and Video Internet Calls (Windows 8) document.)
    Then, like you, I selected the Do nothing radio button on the Communications tab of Sound menu (press the Windows + W keys; type Sound into the search field; and then click Sound in the search results.) I then restarted my computer.
    I made a Skype call using the desktop version, and then made a new Skype call from the Start menu app. That's when I started noticing that the volume of the radio station was not reduced. Also, when a friend sent an instant message, I heard the little ping sound full blast.
    I'm not entirely sure why that all worked, but it did, and I hope it works for you, too. Will you reply to this post to let me know if it helps you?
    ~Lil.Liebe
    Clicking the white KUDOS THUMBS UP on the right is a way to say thanks!
    Click Accept as Solution on a reply that solves your issue to help others in search of answers.

    syedaismatara wrote:
    Hi, When i call from skype sound culity very bad. Skype new version not working good. how can i get old version ?
    Hi!  It appears your concern is completely different from that of the thead starter.  Unfortunately, thread hijacking is not allowed in this site as such practice may bring confusion in the community forum. 
    please visit the link below on instructions on how to create a new thread.  most likely your concern can be easily seen and get accurate responses when placed in the correct section. thanks!
    Help Us Help You (How to Start a New Thread)
    all users, guest, visitors, advisors and superusers must follow this rule in order to maintain order and avoid confusion in the forum site.  from the title of the thread any user can easily know what the thread is all about.
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Core dump on solaris 8/7 making JNI call.

    Hi,
    I am running solaris 8 and solaris 7 with Java 1.3.1. I have required solaris patches installed on the machine for java 1.3.1.
    From a C program I am making some JNI calls and when I run the program it core dumps at the very first JNI call. C program that make JNI calls are in a .so file.
    Same C code with Java 1.3.1 is running fine on window 2000, AIX 5.1, RedHat Advanced Server 2.1 and SuSE Enterprise Linux 7.
    Any help will be greatly appriciated.
    Thanks

    Hiya,
    Any resolution to this post , we have a native JNI call on a Websphere server running on Solaris 8 .. and same thing happening .. random core dump on the box ..
    No warning , no explanation
    Thanks so much for your help
    (btw . running Sun jvm 1.4.2_13)

  • My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    My iphone 4S has problem in making and receiving the calls. While making the call , call fails and netwrok disappears. Like wise no voice is heard for incoming calls. This happened after return from the overseas travel.

    Hello SamSax
    Check out the assist page below for troubleshooting call connectivity.
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Error while making connection with remote oracle database

    Dear,
    I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
    DriverManager.getConnection(
      "jdbc:oracle:thin:@erp:1521:ORCL", "apps",
      "apps");
    Pls any body have idea.
    Thanks.

    Thanks for support.
    Below is error which i am getting while making connection with remote database.
    C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
    -------- Oracle JDBC Connection Testing ------
    Where is your Oracle JDBC Driver?
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:186)
            at OracleJDBC.main(OracleJDBC.java:13)
    Advice.

  • I face a problem  while making a confirmation on portal.

    Hello ,
    Can anyone help me I am facing a problem while making confirmation in the portal.
    the system pops up an error as mentioned below. Please help
    •     Folgender Fehlertext wurde im System SRP prozessiert: Speicherungsform der Produkt-ID ist im Customizing noch nicht definiert
    •     Der Fehler trat auf dem Applikationsserver eccprd-srp_SRP_50 und im Workprozess 3 auf.
    •     Die Abbruchart war: TH_RES_FREE
    •     Die ABAP-Aufrufhierarchie war:
    Form: READ_SETTINGS of program SAPLCOM_PR_CONVERSION
    Function: CONVERSION_EXIT_PRID1_INPUT of program SAPLCOM_PR_CONVERSION
    Function: BBP_PDH_PRODUCT_READ_BUFFER of program SAPLBBP_PDH
    Form: GET_LOCAL_PRODUCT of program SAPLBBP_ECI
    Form: APPLY_OLD_MAPPING of program SAPLBBP_ECI
    Function: BBP_PRODUCT_MAP of program SAPLBBP_ECI
    Function: B31I_PO_GETDETAIL of program SAPLBBP_BD_DRIVER_31I
    Function: META_PO_GETDETAIL of program SAPLBBP_BD_META_BAPIS
    Function: BBP_BE_PO_GETHISTORY of program SAPLBBP_PDH_HISTORY
    Function: BBP_PDH_SEARCH_PO_SUBLIST of program SAPLBBP_PDH_SEARCH
    Best Regards,
    Sairam

    Hi,
    Pls see if the foll notes are useful.
    <b>Note 911217 - Copy vendor product number from contract search help to PO</b>
    1047769 - No returns for search by Product ID in Monitor Shopping Cart
    Note 1023012 - BBPSC: Long product ID triggers short dump
    BR,
    Disha.
    Pls reward points for useful answers.

Maybe you are looking for