Function not found even though it's there.

I get
Exception in thread "main" java.lang.UnsatisfiedLinkError: startUp
at com.directi.foundation.services.rrp1_4.RRPSession.startUp(Native Method)
at
com.directi.foundation.services.rrp1_4.RRPSession.startSession(RRPSession.ja
va:84)
at com.directi.foundation.services.rrp1_4.testTV.main(testTV.java:17)
Even though the function startUp exists in the .so file. The signature matches that in the header file exactly and the function is implemented. I just don't get it.

Make it sure that you obtained a fully-qualified method name - there are lots of ways to get "javah" give you wrong names - so, if your functions is, say, in package com.mypack, class name is Myclass and method name is mymethod - be sure you have a C-mthod name something like:
Java_com_mypack_Myclass_mymethod (...) - if you see any discrepency, that's the reason of your problems.
If you don't manage to get right method name using javah, you may type it yourself - now I almost don't use javah, but just make these headers "by hands" - it's faster.
Additionally, me personally didn't manage to run any method using "old" variant of native calls - that uses "stubs" on new JDK1.3x. So, make sure you don'r use "-old" parameter or old headers, generated by JDK 1.1 or so.

Similar Messages

  • JBO-25019: Entity row of key null not found even though key filled in??

    Hi All,
    I'm using jdev 10.1.2, adf bc's and jsp's.
    I have a view object derived from 2 entity objects, which the user is allowed edit. It's a standard adf edit. Even though the key fields are filled in i keep getting this error when the page is submitted... "JBO-25019: Entity row of key null not found in Milk. " where milk is one of the entities
    I've checked that the fields are bound, which they are. I created a test method in the app module where i got the current row (i.e. the row i'm editing) and got the key values no problem. I've created the page again, same problem.
    This problem occurs in another edit page which uses the same view object. I've other edit pages which use different view objects, but who are based on the same entities and there is no problem.
    i cannot understand why. I have tried creating the view object again and creating a new edit page but i still get the same error.
    I can't understand why this is happening. If anyone could help, i'd be really grateful.
    Thanks in advance,
    newbe.

    I take your point about not all databases support triggers.
    However I am not using DBSequence...the above is a bug surely.For non-oracle SQLBuilders, if RETURNING clause is not supported by the DB in insert/update DML, then to perform refresh-on-insert/update BC4J calls the corresponding entity's doRefreshSQL() method. The javadoc says:
    if refresh-on-insert or update setting is set on an attribute which
    is a primary key attribute, then this method will fail to fetch the entity as the primary key
    in the databse for the equivalent row would have potentially changed. If that's true,
    then subclasses need to implement this method and perform "custom" sql to fetch the refresh-attrs
    based on some unique criteria for this entity.

  • Clips will not relink even though they're there

    FCPX on a Macbook Pro, media on a thunderbolt raid drive.
    I have a project using several different events to refer to and there are the clips in red with the yellow triangle warning sign on them.  The ones that had the missing files designation have been reconnected successfully.  The ones that were missing proxy files have had that done as well.  Now there are clips that are red, with the yellow warning triangle, and can not be reconnected.  I control click on clip in the project and it does refer back to the clip in the event.  I control click onto the clip in the event, select reveal in finder and it does refer back to the proxy media in the finder.  That proxy media has the original file back in the Originals folder.  So all of the files are there but FCPX can't seem to recognize it.
    One more tidbit:  In the project when I hit play the audio, which is part of the video clip, plays just fine, there is not video playing.  I have drag and dropped clips, that I re imported, onto the missing file in the project and that seems to work but I want to know what happened and how it became such a huge mess.  It seems the only file that have this strange missing video behaviour are the ones that I have in use in the project.  Event files not in the project seem to be fine.
    Any clues would save me hours and hours.  Thanks.

    There are many nasty bugs in regards to relinking media files in FCPx. Many things that have not been explored properly. (Normal for such a new software).... It would help (me) a great deal if were to describe the EXACT steps you took DURING relinking. And WHY you had to relink....
    Without that it is more or less impossible to help you. I would have to guess. What you are experiencing is most likely a BUG (not necessarily though) and if you can provide detailed info about your steps to achieving the problem then you should post it here as well as sending it to FCPx Feedback. They (Apple) REALLY listens to it and they are really forthcoming in trying to solve problems.
    General Rules for Relinking
    1) DONT EVER relink while you are in Proxy Mode
    2) If after relinking you are experiencing "Funny Stuff" >>> Temporarily move the contents of "Transcoded Media" of the event library in question outside of the event library... QUIT FCPx first... Then restart FCPx to check if the problem is gone. After than PUT BACK the contents.
    IF you have had FCPx create high quality media for you, then after relinking you MUST CREATE it again(If you were relinking original media). Unless the file you are re-linking to is PR 422.
    3) If other problems arise > Select the Event and from the File Menu "Delete Event Render Files" ALL
    I had one instance where my employee had stabilized a few clips in After Effects... He knew no better and saved all his After Effects files i.e. MVI_9889.aep (Which is merely the project) into "Transcoded Media/High Quality Media"  after doing so... FCPx thought that those .aep were movies (Even though he never added them to the event library) and displayed them with a RED icon stating that FCPx did not have the necessary plug-in to playback the movie....
    Just one example of weird stuff going on with the media management....
    Rule of thum.... DONT (unless no way out) mess witht ANYTHING inside the Projects or Events from the Finder.... ALWAYS do SUCH from within FCPx.
    And if you find any anomalies - report step by step to FCPx Feedback what happens... So that we can get rid of those bugs
    PS - another problem is when FCPx has created High Quality Media for you.... When you select YOUR clip in the event browser. You are actually selecting a PR422 files that FCPx created for you. If you re-link THAT file to another file, FCPx wont actully delete the PR422 file. And I have had numerous issues where it (FCPx) would get confused afterwards. And still USE the original PR422 file.. Just because it was there. I had to quit FCPx and physically delete the file via the Finder for FCPx to actully use the clip I had re-linked to....
    I take that FCPx uses UUID (Unique User IDs) for each file... Becuase if you quit FCPx and swap one file that it is using with an exact copy of itself, FCPx will still throw a "Missing Media" icon. UUIDs are great in some scenarios and killers in others.

  • Xcode 3.1 from Xcode 2.4 - Symbols not found even though library is linked?

    Hello all,
    I apologize in advance for what seem like a rather noobish question, but my Google-fu has failed me for a few hours now.
    I have inherited an Xcode project that was developed 3 years ago for OS 10.3. It needs to be slightly updated and made to run on OS 10.4 and up (PPC and x86), but I can't get the project to compile; I am getting 18 errors about symbols not being found. The symbols in question are contained in a static library, and their function definitions are contained within header files that are included. I am using GCC-4.0 and am linking against the 10.4 SDK. I have included the proper search path for the library in my build settings, added it to my Libraries group and "Link Binary with Library" build phase multiple times, and confirmed that the proper header files are included.
    I am unsure what my next step should be here; any advice or links would be most appreciated!

    Okay, after running file on my library I get:
    [code]
    my_library.a: current ar archive random library
    [code]
    Does this imply that my library is not usable on both architectures? If so, how can I find out which architectures it will work on? I don't think I can get the original source for the static library to recompile.
    Thanks so much!

  • Ringtone not found even though I can find it

    There's an exclamation point next to my purshaced ringtone.  However, I can look it up and play the ringtone from my dashboard.  How do I get iTunes to find it?  Probably an easy fix but I can't figure it out.

    Very little can be done to force an "uploaded" song to "match." The process is not 100% accurate and just because a song in the iTunes library is available in the iTunes Store does not mean it will match, for a variety of reasons.

  • Trying to move itunes to another pc. now cant sync, files not found even though theyre showing in itunes

    Ive tried to move my itunes to another pc. I copied all onto and external harddrive and transfered to the other laptop. It all shows up in the itunes libruary and i can play them but when i try and sync to my iphone it comes with an exclamation mark and says the original file cannot be found and nothing goes on my phone. Totally stuck and confused!!

    Then something did not transfer correctly.
    What exactly did you copy?  Was it the ENTIRE iTunes folder?  If not... start over and copy the ENTIRE iTunes folder.

  • LibGL not found even though nvidia-libGL installed

    Hi,
    This is on a fresh install. I'm trying to get LXQT and sddm going, but after I've enabled sddm I just boot to a black screen. I can switch to TTYs. I tried to see if LXQT was working, so I disabled sddm and used exec startlxqt, and libGL.so.1 cannot be found flashes on a screen before it logs me out (I actually had to use a video camera to see what it said). I installed xorg and xorg-xinit and nvidia and nvidia-libgl and nvidia-utils. The journalctl log for sddm says 'Auth: sddm-helper exited with 127'.
    Thanks in advance for the help! I apologize for not posing logs and such directly, but I have to type this up on my phone.

    when i go to open it tell me that my iTunes folder cannot be found or created and that it should be located in My Music folder.
    The best place to start with that one is with the following document:
    iTunes for Windows: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
    … but if you run into the complication where “My Music” doesn’t appear as an option in TweakUI, perhaps try the alternate procedure from the following Nigel Carpenter post:
    Nigel Carpenter: re: Itunes problem

  • I am trying to restore my ipad mini it gets to so far then says device not found even though it is on itunes

    trying to restore my ipad mini it gets to itunes so far then says can not find device

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • HT2953 i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • BB Curve 8350 quit email function. Can't load address for email setup..."blank entry not valid" even though info entered

    HELP!!  My BB quit sending/receiving emails 6 weeks ago.  I tried to do the setup again, but error message says "Blank entry not valid" even though the info has been entered (Email & password)   I tried to get help from Sprint but as they aren't supporting BB anymore, they just want me to upgrade. 
    I swapped devices this AM (8350 Black for 8350 Red) and the same issue on this device.  Any assistance is welcome!!!
    Thank you!

    If they cannot resolve your issue ask them to escalate your case to RIM. it is what they are SUPPOSED to do when they cannot resolve a BlackBerry issue. Whoever you have been on the phone with does not know what they are doing.
    This forum is not an official support channel but rather a peer-to-peer support forum community where other users just like yourself help each other out with their BlackBerry device.
    Some things can only be solved by RIM, however, and the only channel to their support is through your carrier.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Function not found in library when I compile .so file in linux

    I am trying to get a driver for a california instruments power supply
    working under Linux. The drivers called DLLs compiled under windows I
    think. When I use those, the DLL could not be opened, so I compiled the
    DLL source under Linux. When I use the nm -g on the .so file, I get a
    list of all of the external functions including the ones I am trying to
    call from Labview, but when I try to run I get "function not found in
    library when I compile .so file in linux" even though I can see the
    function using nm. Is there something special I need to do to this .so
    file so Labview can read it?
    Any help would be greatly appreciated.
    Steiner

    Hello Steve,
    I'm not sure if simply recompiling the source code of the dll will be enough to create a Linux driver. I'm assuming the DLL makes some windows specific calls that are not supported in linux. How were you able to compile it in linux BTW? Did you have to change the code around to make it work?
    Your best bet would be to probably try to find a linux version of the driver from the manufactrurer itself.
    Regards,
    Jack J.
    Applications Engineer
    National Instruments

  • Call library function node - function not found

    When creating a DLL I get a the Labview error "Call Library Function Node "LabviewReceiverDLL.dll:readDataJ1939Data' Function not found. Everything looks correct to me and this used to work, though I've changed computers since then.
    This is the beginning of my C++ code just to show my function name. I've also attached the Call Library Function Window to show my setup.
    Thank you in advance for your help.
    #include"StdAfx.h"
    #include<iostream>
    /* Call Library source file */
    extern"C"__declspec(dllexport)unsignedint readDataJ1939Data(unsignedint, unsignedint, unsignedchar, unsignedchar* canData, unsignedchar* path);
    unsigned int readDataJ1939Data(unsignedint ulTimeStamp, unsignedint ulIdentifier, unsignedchar uiDataCount, unsigned char* canData, constchar* path)
    Solved!
    Go to Solution.
    Attachments:
    Call Library Function.png ‏192 KB

    You mention that you have changed computers and that it used to work before.
    Could it be that there is another (older) copy of the DLL on this computer, and LabVIEW is loading the wrong one?
    The simplest way to check is to close your VI and delete the one you are expecting it to use.  Then open the VI again; if LabVIEW doesn't ask you where the DLL is, it is loading it from somewhere else.
    Batya

  • After upgrading to Lion Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    After upgrading to Lion, Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    Ouch, if it is indeed damaged, then sadly you need to restore the whole danged huge OS!
    Didn't used to be this way before Lion/10.7.
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • I made a movie in iMovie then deleted the clips in it. I have reimported the clips in an event with the same name as previously and some clips in the movie are still saying source slip missing even though they are there. What can I do?

    I made a movie in iMovie then deleted the clips in it. I have reimported the clips in an event with the same name as previously and some clips in the movie are still saying source slip missing even though they are there. Some clips are fine in the movie, but most are just black and when I hover over them, it says source clip missing. How to I fix this? Thank You

    I did that too, then I did a migration assistant to a new Mac and ALL of my movies have Source Clip Missing now, even though the original clips are still in the iPhoto Videos.  I can stand to re edit one or two projects, but not ALL.

  • I just got my iPod touch, I updated m iTunes and my iPod is still not showing up on iTunes, its giving me the iPod can't be used because the required software is not installed even though my iTunes is up to date

    I just got my iPod touch, I updated my iTunes and my iPod is still not showing up in iTunes. It is telling me the required software is not installed even though my iTunes is up to date

    http://support.apple.com/kb/TS1369
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

Maybe you are looking for

  • Contacts synced only partially

    After turning off iCloud ('cause it doubled all of my calendar entries, contacts etc) i encounter the following problem: Many of my contacts in the Address Book are missing some information. Most commonly them don't have the picture next to their nam

  • Problem while sync iPhone with itunes (with cable)

    hello guys i am using iPhone 3GS version 5.1.1, whilie i am syncing my iPhone with itunes 11 using cable (or perivious version), a message appears as "itune is stop working, please close itune" this message appears when itunes is "BACKING UP" the dat

  • How to insert image in the title bar?

    Hi experts, how to insert the image or icon in the title bar of a screen, similar to the screen below. Att., Luiz.

  • Precautions for switch on Nav. Attr in DSO

    Hi experts, I don't know what are the detail steps if I have a requirement like below: User wants to see the information of Char. e.g. CHARB. CHARB is a nav. attri of Material, Material now is in an DSO, but in the DSO CHARB is not switched on. So it

  • Triger issue

    Hai all, I have a "BEFORE INSERT OR DELETE ON" row level trigger on one table t1, in that trigger I am doing update statement on tha same table and that work fine. My requierment is to make an insert on that table, but that is not possible with this