CaptureDeviceManager.getDeviceList(null);  Returns no devices!

Hello,
Just installed JMF on Fedora Core 5. All works okay, jmfinit and jmfregistry can find my capture devices and list them also. Jmstudio also works fine when issuing the following command: java -Dawt.toolkit=sun.awt.motif.MToolkit JMStudio
However when i try to get my capture device(Bt484,bttv) from code i won't work.
Vector devices = CaptureDeviceManager.getDeviceList(null);
returns an empty list.
and
CaptureDeviceInfo di = (CaptureDeviceInfo) devices.elementAt(0);
of course returns an: java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
There is no way i can approach my devices.....My classpath, jmf_home and permisssions are set right.
Anyone has an solution?
Thanks, and with kind regards,
Olly

private static void getList() {
          // TODO Auto-generated method stub
          Vector devices =
               (Vector) CaptureDeviceManager.getDeviceList(null).clone();
          Enumeration enum = devices.elements();
          while (enum.hasMoreElements()) {
               CaptureDeviceInfo cdi = (CaptureDeviceInfo) enum.nextElement();
               String name = cdi.getName();
               Format[] fmts = cdi.getFormats();
               System.out.println(name);
               for (int i = 0; i < fmts.length; i++) {
                    //System.out.println(fmts);
               if (name.startsWith("vfw:")){
               System.out.println(fmts[i]);
                    //CaptureDeviceManager.removeDevice(cdi);

Similar Messages

  • Cannot get capture device with CaptureDeviceManager.getDeviceList(null)

    Hi friends, I am facing the problem and I still don't know how to solve the problem.
    I try to get microphone for cpture audio but it not work.
    My java code is
    Vector captureList = CaptureDeviceManager.getDeviceList(null);
    System.out.println("Number of Capture Devices Found: " +captureList.size());
    The result is
    Number of Capture Devices Found: 0
    but I have tried with javax.sound for get microphone it work.
    AudioFormat audioFormat = getAudioFormat();
    DataLine.Info dataLineInfo = new DataLine.Info(TargetDataLine.class, audioFormat);
    TargetDataLine targetDataLine = (TargetDataLine)AudioSystem.getLine(dataLineInfo);
    If anybody knows how to solve this problem, please help me.
    Thank you very much.
    Regards,
    TheX

    Hi friends, I am facing the problem and I still don't know how to solve the problem.
    I try to get microphone for cpture audio but it not work.
    My java code is
    Vector captureList = CaptureDeviceManager.getDeviceList(null);
    System.out.println("Number of Capture Devices Found: " +captureList.size());
    The result is
    Number of Capture Devices Found: 01- Check your classpath, whether it contains JMF path or not.
    2- Check whether JMF is installed correctly or not i.e. are you able to capture using JMStudio? and does JMStudio lists your capture devices?
    3- If you are using a jar in Vista, then there is almost NO solution, you will always get 0, check the following threads:
    [http://forums.sun.com/thread.jspa?threadID=5340752]
    [http://forums.sun.com/thread.jspa?threadID=5340810]
    Thanks!

  • CaptureDeviceManager.getDeviceList(null)

    Hello everyone,
           Vector list=CaptureDeviceManager.getDeviceList(null);I have a problem capturing the devices in my application (it is a desktop application not an applet). This code generates "list.size()==0" no matter what I tried. So I went on a Google hunt, and found out that my problem is, as far as all the threads I read pointed out, that I don't have the JMF installed on my machine, and that my application can't find the jmf.properties file.
    So the obvious solution: Install JMF and add the containing folder to the build path.
    Problem, My client does not want his clients to have the need for an extra external installation process, in other words, he would like them to install his application only.
    so I'm here asking for advice, if you have any idea, please do share, I've been reading stuff through the night and got no where.
    I could speculate on a few method to over come this, but they would be baseless, since I never dealt with this before, and I would like to know what you pro's think.
    Thanks in advance,
    Adam Zehavi.

    sure, no problem, I was at it for hours to solve this.
    first, I installed the JMF but didn't add it to the build path (the entire point of my problem was I didn't want to install JMF and still use its abilities), or anywhere, and I tested before and after and got the same results, nothing happened, no devices were found. so I took the native dll files and located them in a folder that was pointed by the system path and bingo... it worked(or so I thought), for a while, then I wanted to put these files in another folder, and found out that with eclipse for some reason, I could not point no matter what I did to that folder, and even if I added manually to the system path it didn't work see post, and moreover if I export this project I cannot use the files, so I exported the jar and located the files from the installation in the same folder, and it worked
    as for the running on the IDE, the only thing that worked was to add the library of the dll's as native resource for the JMF jar file
    hope this is clear enough...
    Adam.

  • CaptureDeviceManager.getDeviceList(null) problem

    Hello all,
    I'm trying to create application under Eclipse 3.1. I want to print list of devices that are attached to my computer, making a call:
    CaptureDeviceManager.getDeviceList(null)My problem is that under Eclipse all the time I have that the list of available devices is empty. This is really strange because under JCreator everything works fine.
    Of course I'm able to see 2 audio devices under JRegistry.
    JMF_HOME=C:\Program Files\JMF2.1.1e
    Who can help me with this?

    sure, no problem, I was at it for hours to solve this.
    first, I installed the JMF but didn't add it to the build path (the entire point of my problem was I didn't want to install JMF and still use its abilities), or anywhere, and I tested before and after and got the same results, nothing happened, no devices were found. so I took the native dll files and located them in a folder that was pointed by the system path and bingo... it worked(or so I thought), for a while, then I wanted to put these files in another folder, and found out that with eclipse for some reason, I could not point no matter what I did to that folder, and even if I added manually to the system path it didn't work see post, and moreover if I export this project I cannot use the files, so I exported the jar and located the files from the installation in the same folder, and it worked
    as for the running on the IDE, the only thing that worked was to add the library of the dll's as native resource for the JMF jar file
    hope this is clear enough...
    Adam.

  • CaptureDeviceManager.getDeviceList  returns no devices

    Hello,
    I have succesfully installed (I think) the logitech web cam pro on my system -- I can use logitech software to see video...and I can also use the following code to get a valid MediaLocator (mediaLocator =new MediaLocator("vfw://0")) , which I can display video in my java program, however the code: (devices = CaptureDeviceManager.getDeviceList ( null );) doesn't return ANY devices!!! (I have also used the JMFRegistry program to "Detect Capture Devices", and it shows up in the list).
    Does anyone have any suggestions for me to look into?
    Thanks,
    Joel

    private static void getList() {
              // TODO Auto-generated method stub
              Vector devices =
                   (Vector) CaptureDeviceManager.getDeviceList(null).clone();
              Enumeration enum = devices.elements();
              while (enum.hasMoreElements()) {
                   CaptureDeviceInfo cdi = (CaptureDeviceInfo) enum.nextElement();
                   String name = cdi.getName();
                   Format[] fmts = cdi.getFormats();
                   System.out.println(name);
                   for (int i = 0; i < fmts.length; i++) {
                        //System.out.println(fmts);
                   if (name.startsWith("vfw:")){
                   System.out.println(fmts[i]);
                        //CaptureDeviceManager.removeDevice(cdi);

  • CaptureDeviceManager.getDeviceList

    Hi all
    Currently I'm experimenting with capture images from webcam and turning captured image data into encode/compressed video format.
    My problem is (and many others it appears) is the part where I should find the webcam to be used - CaptureDeviceManager.getDeviceList returns nothing. That part has already been achieved with Flex/Flash since it is very easy to recognize a webcam and I must say that I'm a bit stunned that Java is not able to handle this.
    There has been written a lot about this subject and many suggestions has come up - but not applicable to me.
    I have been testing on windows 2000 and Vista and CaptureDeviceManager.getDeviceList always returns nothing.
    Any ideas?

    Thanks for replying...
    Could be that a missing DLL is the problem... but what about the Java platform independence? I would like to apply this webcam capturing in an Applet... it should not be necesarry to ask all users to install a missing DLL to their system right?

  • Why can't CaptureDeviceManager.getDeviceList() get capture device?

    My laptop can capture sound from microphone. But CaptureDeviceManager.getDeviceList(new AudioFormat(...)) can't get any device from my system.

    Try deleting it from MAX and then adding it again.
    Or resetting your MAX configuration and then rebooting.
    Lastly, dry reinstalling MAX.
    Since so many pieces of software depend on MAX, you'll probably have to reinstall other NI software if you go this route.
    Casey B.
    Applications Engineer
    National Instruments

  • How to trap null return values from getters when using Method.invoke()?

    Hi,
    I am using Method.invoke() to access getters in an Object. I need to know which getters return a value and which return null. However, irrespective of the actual return value, I am always getting non-null return value when using Method.invoke().
    Unfortunately, the API documentation of Method.invoke() does not specify how it treats null return values.
    Can someone help?
    Thanks

    What do you get as a result?I think I know what the problem is.
    I tested this using following and it worked fine:
    public class TestMethodInvoke {
    public String getName() {
    return null;
    public static void main(String args[]) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException {
    Object o = new TestMethodInvoke();
    Class cls = o.getClass();
    Method m = cls.getMethod("getName", (Class[]) null);
    Object result = m.invoke(o, (Object[])null);
    if (result == null) {
    System.err.println("OK: Return value was null as expected");
    else {
    System.err.println("FAILED: Return value was NOT null as expected");
    However, when I use the same technique with an EJB 3.0 Entity class, the null return value is not returned. Instead, I get a String() object. Clearly, the problem is the the EJB 3.0 implementation (Glassfish/Toplink) which is manipulating the getters.
    Regards
    Dibyendu

  • CaptureDeviceManager.getDeviceList  is not working in Windows VISTA.When

    CaptureDeviceManager.getDeviceList is not working in Windows VISTA.When I run the Application from vista using a jar file.But it is running if i run it from class file without use the jar file.

    This pretty much says it all:
    No connection could be made because the target machine actively refused it.What version of Vista?
    What version of the agent? ... 10g is not a version number it is a marketing label
    Did you check to see if the agent is compatible with your operating system?
    My recommendation would be to get a real operating system: Either Oracle Linux or XP.

  • Q: NULL return REF CURSOR from a PL/SQL function

    I was told that PL/SQL does not handle properly NULL REF CURSORS.
    Here's my implementation in a PL/SQL package
    PACKAGE SPEC:
    TYPE z_rec IS RECORD (
    TYPE z_cur IS REF CUR RETURN z_rec;
    FUNCTION some_function(
    p_msg OUT VARCHAR2)
    RETURN z_cur;
    PACKAGE BODY:
    FUNCTION some_function(
    p_msg OUT VARCHAR2)
    RETURN z_cur
    IS
    retval z_cur;
    OPEN retval FOR
    SELECT ...
    -- Successfull data retrieval
    p_msg := NULL;
    RETURN retval;
    EXCEPTION
    WHEN OTHERS THEN
    p_msg := SUBSTR( SQLERRM, 1, 255 );
    RETURN NULL;
    END some_function;
    I am expecting that a user of this function would call it and test p_msg (output parameter)
    1. IS NULL p_msg it means there were no errors encounetered. The returned cursor can be NULL though (i.e. no records retrieved)
    2. IS NOT NULL p_msg, it means that there were errors and the returned cursor is not usable.
    My question is:
    what are the pitfalls of this approach?
    Thanks a lot.

    user10817976 wrote:
    I asked and still waiting for the answer.
    retval z_cur;
    What I am afraid for is that
    OPEN retval FOR
    SELECT ...
    EXCEPTION
    retval := NULL;
    tries to open the cursor. What happens in case of error? Well, I imagine retval is still NULL. Do I need to (try) to close the cursor in the EXCEPTION section (in order not to misuse the number of cursors in the pool?) That's my worry.No.
    If there is an error opening the cursor the cursor will not be open and will not need closing.
    The code should simply be
    function some_function
        return z_cur
    is
        retval z_cur;
    begin
        open retval for
            select ...
        return retval;
    end some_function;        It is bad practice for a function to have output parameters.
    It is bad practice to turn exceptions into return codes.
    http://tkyte.blogspot.com/2008/06/when-others-then-null-redux.html
    Remember everyone, everyone remember, keep in mind:
    When others not followed by RAISE or RAISE_APPLICATION_ERROR is almost certainly, with 99.999999999% degree of accuracy, a bug in your developed code. Just say "no" to when others not followed by raise or raise_application_error!Read the links, it leads to problems over and over again.

  • Apex 4 Cascading LOV's how to set a child LOV back to null return value

    Hi,
    My problem is I am using the new Dynamic Actions to implement Cascading LOV functionality in Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes.
    What I am finding is that when you change the parent LOV value then the child LOV (which has a null return value) is not defaulting to the null return value (in my case no selection should return -1) if its list is filtered to a different set of values which doesnt have a valid selection. The child LOV is left without a selection when I need it to default back to the null return value (-1, representing all values).
    Also I was hoping to do this before the page is submitted so the filtering down the hierarchy of LOVs will work where the child is null (-1, meaning all values) and in turn its child LOV(s) will filter also from the null child value.
    Any help would be much appreciated.
    Thanks

    Hi 804641,
    I'm not sure if I get your problem and I tried to reproduce it.
    http://apex.oracle.com/pls/apex/f?p=2672:6 is my example with a cascading LOV where I have also defined a dynamic action which fires when P6_EMPNO changes and it shows the current selection.
    Maybe it helps if you setup an example on apex.oracle.com and provide the workspace/user/pwd so that I can have a look. I'm also not sure about your sentence "using the new Dynamic Actions to implement Cascading LOV functionality", because dynamic actions are not needed for cascading LOVs. It's a feature of the item types themselves where you just have to set the "Cascading LOV Parent Item(s)" attribute.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Getting null returned when working with Linked Lists

    Ok, i'm having the same problem with a couple of methods that deal with linked lists, and i was hoping someone could lend me a hand. First off, the specifications for one of the methods:
    An iterative procedure smallElements
    PARAMETERS: a ListItem reference, ls
    an integer n
    RETURN VALUE: a new list identical to the given list, except
    that it contains no occurrences of numbers greater than n.
    for example, given input list ( 3 2 6 3 4 ) and 3,
    the return value would be the list ( 3 2 3 )
    And here is my code:
    ListItem smallElements(ListItem ls, int n){
    ListItem small = null;
    ListItem result = small;
    if(ls == null)
    return null;
    else{
    while(ls!=null){
         if(ls.number <=n){
         result = new ListItem(ls.number, null );
         result = result.next;
         ls = ls.next;
    return small;
    Like the topic says, i keep getting null returned as a value. I have tried setting small= new ListItem(ls.number, null), and that actually returns the correct list, except that the first number is repeated twice. I would greatly appreciate any assistance.

    I am not sure I understand your code. What exactly are those ListItems? It seems to me that you are dealing with single List elements, while the specification says that you are supposed to return a List.
    But the main error is that you have two ListItem objects there, which seems to fill the same purpose - only that you use one, and return the other. 'small', which is the one you return, never get set to anything else than null.
    I think you should do something like this: make a new, empty list to return
    for element in parameterlist
        if number is smaller than n
            add this element to returnlist
    return returnlist

  • How do I return a device licence to my deployment pool?

    How do I return a device license to my deployment pool. I have created a package using CCP and deployed it to a test machine but now I need to return the license to my deployment pool. There is no obvious way of doing this via the deployed app or via the web interface (Team Management or My plan pages). The license is Creative Cloud for education (VIP), single app, for multiple devices.

    Hi Patty Xyans mom,
    You can remove your device from iCloud by following the steps in this article:
    iCloud: Remove your device from Find My iPhone
    http://support.apple.com/kb/PH2702
    Hope this helps ....
    - Judy

  • Target Unreachable, 'null' returned null

    Hello,
    I have an ADF application developed with JDeveloper 11.1.2.2 and now mi client is asking me to upgrade to ADF 12. I have make an test to evaluate if this version improve the previous and likes that yes, thus I have started to update it.
    I have created a new ADF ViewController Proyect and i have added the code of the old aplication and when I run the app this fail with this error.
    javax.el.PropertyNotFoundException: //C:/Users/migra3/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/SalesAnyWhere/NewSalesAnyWhereWebApp.war/pages/pedidos/entradPedidos/entradaPedidos.jsf @38,133 binding="#{backingBeanScope.backingEntradaPedido.idCliente}": Target Unreachable, 'null' returned null
      at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:133)
      at javax.faces.component.UIComponent.processEvent(UIComponent.java:2321)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$EventDeliverer.visit(LifecycleImpl.java:901)
      at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:151)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:539)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:445)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:423)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:703)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:566)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362)
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._deliverPostRestoreStateEvents(LifecycleImpl.java:852)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:791)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:397)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilterImpl.doFilter(AdfFacesCachingFilterImpl.java:125)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:64)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    It's like the adf controller can't find the managed beans and thus the aplication fails.
    Me JDeveloper version it's 12.1.2.0.0 and me java version is 1.7.0_15.
    Any suggestion?
    Thanks in advance.
    Marcos.

    Hi Timo,
    I haven't added the bean because this exist previously. But I have tried to removed it and add and doesn't work.
    Actually I have copied next files: java, jsf and configuration files but saving the 2.5 version for servlets in web.xml.
    But, previously I was copy the original workspace and open it with JDev 12c. When I make it, JDev does the migration but this doesn't work ...
    I don't know what is happening but I think that something of the bindings is not working fine. I can access to the home aplication but when I clic over any action, the fail shown.
    Thanks for your support because I'm very lost with this error.
    Marcos.

  • PropertyNotFoundException: Target Unreachable, 'null' returned null

    Is there a way to identify which propterty (which el) is not found?
    From the stack trace, it's hard to find out where is wrong on earth.
    javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'null' returned null
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:548)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:93)
    at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:167)
    at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:363)
    at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:154)
    at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:342)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1022)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:509)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:264)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:238)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:375)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:64)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)

    This is a truntime issue.
    The problem here is the log is not clear: "null" returned null, it should be "some_expression_or_property_name" returned null.
    Edited by: Leon Zeng on Mar 22, 2012 12:59 PM

Maybe you are looking for