DataSource null in ReceiveStream and NewReceiveStreamEvent never called

Hi,
in a ReceiveStreamListener.update(ReceiveStreamEvent evt) implementation, when evt is instanceof StreamMappedEvent, the receiveStream.getDataSource() return null. Why?
p.s.
StreamMappedEvent is the only evt type called. No NewReceiveStreamEvent

Thanks for input, but no solution yet.
If you haven't received a NewReceiveStreamEvent then I suspect you are setting the receive stream listener too late into your processing and thus missing that event.I don't think that's the cause, this is what I do:
1) Init server RTPManager
2) Add ReceiveStreamListener to client RTPManager
3) Init client RTPManager
4) Add server target to client
5) Add client target to server
6) Server createSendStream
The StreamMappedEvent occurs when there is an orphaned receive stream. In other words there are no participants in the receive stream. What can I do to verify that?
Are you getting the receive stream from the StreamMappedEvent.getReceiveStream() method and then looking for a DataSource -- or from the new Participant?I use receiveStream.getDataSource(), as used in AVReceive2
Documentation would suggest that the Participant be used to get the receive stream. However, I don't have any real world experience in doing this. participant.getStreams() is empty
If you have any other idea, please update.
bye
aldo

Similar Messages

  • ReadObject() and writeObjectO never called

    I have classes to transfer images through RMI. ImageDescriptor interface provides basic method to override:
    public interface ImageDescriptor extends Serializable
      public void paint(java.awt.Graphics g, int x, int y, int width, int height);
    }BinaryImageDescriptor is used for transferring binary data. It worked but byte[]->Image transform took some time (done once in the paint method, which caused a delay while painting for the first time) so I decided to move this routine to a method and call it when object is deserialized:
    import java.awt.*;
    import javax.imageio.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.awt.image.*;
    public class BinaryImageDescriptor
        implements ImageDescriptor, Serializable {
      private byte[] imageData = null;
      private transient Image image = null;
      private transient boolean updated = false;
      private transient ImageObserver observer = null;
      public BinaryImageDescriptor(byte[] imageData) {
        this.imageData = imageData;
        updated = false;
      public BinaryImageDescriptor(String fileLocation) {
        try {
          File file = new File(fileLocation);
          FileInputStream fis = new FileInputStream(file);
          FileChannel fc = fis.getChannel();
          int filelength = (int) file.length();
          MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0,
                                        filelength);
          this.imageData = new byte[filelength];
          mbb.get(this.imageData);
          System.out.println("Binary Image Success: " + fileLocation);
        catch (IOException ex) {
          System.out.println("Binary Image error: " + fileLocation);
          this.imageData = null;
      public void updateBinaryImage() {
        System.out.println("Update Binary");
        try {
          image = javax.imageio.ImageIO.read(new ByteArrayInputStream(imageData));
        catch (Exception ex) {
          image = null;
          ex.printStackTrace();
      public void paint(Graphics g, int x, int y, int width, int height) {
        // Previously I used to read Image here by calling updateBinaryImage() once
        if (image != null) {
          g.drawImage(image, x, y, width, height, null);
      public void setObserver(ImageObserver observer) {
        this.observer = observer;
      private void writeObject(java.io.ObjectOutputStream oos) throws IOException {
        //This method is never called
        System.out.println("Inside write Object");
        oos.defaultWriteObject();
      private void readObject(java.io.ObjectInputStream ois) throws
          ClassNotFoundException, IOException {
        //This method is never called too
        System.out.println("Inside readObject");
        ois.defaultReadObject();
        updateBinaryImage();
      public byte[] getImageData() {
        return imageData;
    }But the problem is, the readObject() and writeObject() (on the server side) are never called. So the Image remains null and nothing is painted.
    Could you help?
    ps: I do not obsfucate the code. Some package definitions are removed (due to propriarity) but the code compiles fine.

    silly mistake of me, fixed. error outside the code.
    ---CLOSED---

  • JButton pressed, but not released and actionperformed never called

    Hi,
    I have a simple JButton, with one action listener that does its thing (or at least should do because it is never called). I also added a mouse listener to trace the issue further.
    Here's what happen. I have another component (a JTextField) with a focus listener. If the compoent looses the focus, I want to have a chance to ask a quick confirmation question (JOptionPane) before continuing to do someting else (in that case, process the action on the button).
    So the focus is in the text field and I click on the button. Here's what happen:
    - The button gets a mouse pressed event
    - The text field looses the focus and the button gains it.
    - The text field's focus lost handler shows a JOptionPane => focus goes on the option pane
    - The option pane is confirmed, but the rest stops.
    I get NO mouse release event on my button, the action performed is also lost and my button remains "half pressed" (when i hover the mouse pointer over it, the button is rendered lowered ).
    My guess is that the option pane comes too quick and that the mouse release event is transfered to the option pane instead of the button I first clicked, causing the actionperformed to be ignored as a side effect.
    Any ideas or suggestions ?
    Thanks.

    I get NO mouse release event on my button, the action
    performed is also lost and my button remains "half
    pressed" (when i hover the mouse pointer over it, the
    button is rendered lowered ).
    basically that's a bug in the button's internal state handling.
    To get an idea about how to fix it, you might want to read my article "Make Buttons Respect InputVerifiers" at
    http://www.mycgiserver.com/~Kleopatra/swing/swingentry.html
    Though it's rather old the issue is not solved (until 1.5b2) It's only applicable if you have tight control over the L&F.
    Greetings
    Jeanette

  • SaveState and restoreState never called after upgrade to JSF2.1.1

    Hi,
    I upgraded my project to JSF2.1.1.
    For all my custom compontent the saveState and restoreState is never called.
    Are there any required changes due to JSF2.1.1 release?
    Thanks in advance,
    Pieter

    Most likely, this will fix your issue:
    1: http://docs.info.apple.com/article.html?artnum=93698
    Also clean up your temp files:
    (Empty your Temp directory and restart)
    2: http://docs.info.apple.com/article.html?artnum=93976
    If you get an error when uninstalling quicktime, go through article 1, then run the Microsoft Cleanup Utility to remove quicktime afterwards:
    3: http://support.microsoft.com/default.aspx?scid=kb;en-us;290301

  • Supervisor has never called me back

    I have been without phone service since June 6.  Verizon keeps telling me my repair problem will be fixed the next day and it never happens.  I have been uable to speak to any supervisor about this eventhough i leave my number and they never call me back.  today when i called again, i was told i needed to schedule a repairman to come to my house eventhough last week i was told it was an area cable outage.  no one has any idea what the real issue is or what it being done to repair it.

    Hi efb,
    You currently have a support case open for this issue.  Please continue to respond in that thread, as the support agents assisting you will be looking there for any updates from you.

  • [svn] 3937: FxContainer fix to make sure partRemoved/ partAdded are never called with a null instance.

    Revision: 3937
    Author: [email protected]
    Date: 2008-10-28 17:37:25 -0700 (Tue, 28 Oct 2008)
    Log Message:
    FxContainer fix to make sure partRemoved/partAdded are never called with a null instance. In this case, in clearSkinParts(), we would call partRemoved() on all parts, whether they were there or not. This was causing a Thermo bug.
    ASDoc fixes for Group, FxContainer, and FxDataContainer. Removing content property from ASDocs...this is not the recommended way to add items/remove items to Group/FxContainer. You should use the addItem/removeItem APIs. This is consistent with Flash Player and Halo. Under the hood someone can still set the content array, but it's discouraged because you could set two Groups to the same content array, which is hard to detect. Also, made currentContentGroup in FxContainer mx_internal...this is an implementation detail for us and something we may change later on. I also added some other ASDoc cleanups and fixes.
    QE Notes: Ran checkintests and Mustella tests for gumbo/core/ and gumbo/components/FxDataContainer. Joann is updatating the one test that failed. WHen verifying SDK-17750, please also verify Thermo bug SDK-17800.
    Doc Notes: This change includes ASDoc changes
    Bugs: SDK-17750, SDK-17741, SDK-17756
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17800
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17741
    http://bugs.adobe.com/jira/browse/SDK-17756
    Modified Paths:
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxDataContainer .as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/FxC omponent.as

    Revision: 3937
    Author: [email protected]
    Date: 2008-10-28 17:37:25 -0700 (Tue, 28 Oct 2008)
    Log Message:
    FxContainer fix to make sure partRemoved/partAdded are never called with a null instance. In this case, in clearSkinParts(), we would call partRemoved() on all parts, whether they were there or not. This was causing a Thermo bug.
    ASDoc fixes for Group, FxContainer, and FxDataContainer. Removing content property from ASDocs...this is not the recommended way to add items/remove items to Group/FxContainer. You should use the addItem/removeItem APIs. This is consistent with Flash Player and Halo. Under the hood someone can still set the content array, but it's discouraged because you could set two Groups to the same content array, which is hard to detect. Also, made currentContentGroup in FxContainer mx_internal...this is an implementation detail for us and something we may change later on. I also added some other ASDoc cleanups and fixes.
    QE Notes: Ran checkintests and Mustella tests for gumbo/core/ and gumbo/components/FxDataContainer. Joann is updatating the one test that failed. WHen verifying SDK-17750, please also verify Thermo bug SDK-17800.
    Doc Notes: This change includes ASDoc changes
    Bugs: SDK-17750, SDK-17741, SDK-17756
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17800
    http://bugs.adobe.com/jira/browse/SDK-17750
    http://bugs.adobe.com/jira/browse/SDK-17741
    http://bugs.adobe.com/jira/browse/SDK-17756
    Modified Paths:
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxContainer.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/FxDataContainer .as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/Group.as
    flex/sdk/branches/gumbo_alpha/frameworks/projects/flex4/src/mx/components/baseClasses/FxC omponent.as

  • PDImageSelectAlternate "is obsolete and never called in Acrobat 8". How switch to alternate images?

    PDImageSelectAlternate "is obsolete and never called in Acrobat 8". Then how can I switch to alternate images to display in Acrobat 8 and 9?

    The goal is to speed up screen redraw (using low resolution proxies). High-end prepress software usually provide option to generate alternate images while "normalizing" incoming PDFs. And (at least) Enfocus Pitstop can switch on/off their display in Acrobat 8 and later. The question is how they do it, if PDImageSelectAlternate "is never called". Well, I chose this subject as practice for my first plugin, because it seemed to me straightforward and simple. It looks like I was wrong.

  • My iPad Air always freezes during FaceTime calls using wifi. I switch to my iPhone 5c on the same wifi, and it never freezes while I'm sitting in the same location. Is there maybe a setting I have that is causes this? I am un to date on the OS also.

    My iPad Air always freezes during FaceTime calls using wifi. I switch to my iPhone 5c on the same wifi, and it never freezes while I'm sitting in the same location. Is there maybe a setting I have that is causes this? I am up to date on the OS 7.1.1. Video and audio is froze on my end, only video freezes on the other end. It doesn't make a difference who makes the call either.

    No, there isn't any setting that you are missing. Have you tried force closing FaceTime, and resetting your iPad?
    In order to close FaceTime, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that does not make a difference, you could try resetting all settings, if you reset all settings you will have to enter all of the device preferences again in the settings app. That takes some time to accomplish, but you will not lose my data, media, apps or anything like that. Settings>General>Reset>Reset all settings.
    If that doesn't help, the next step would be to restore the iOS software. Backup your iPad first, restore the iOS, then restore the backup.
    Use iTunes to restore your iOS device to factory settings

  • PL/SQL Call Back function is never called

    Hi, I have a AQ set to run a PL/SQL Call Back procedure, but the procedure is never called.
    Oracle version is 11.2.0.2 Standard Edition
    When I query aq$<queue>, the MSG_STATE column is always "ready".
    This is the queue creation script
    begin
      DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table => 'POLERMESSAGE',
                                      queue_payload_type => 'POLER_MESSAGE',
                                      multiple_consumers => TRUE );
      DBMS_AQADM.CREATE_QUEUE( queue_name => 'POLER_QUEUE',
                               queue_table => 'POLERMESSAGE');
      dbms_aqadm.add_subscriber( queue_name => 'POLER_QUEUE',
                                 subscriber => sys.aq$_agent( 'POLER_RECIPIENT', null, null ) );    
      dbms_aq.register ( sys.aq$_reg_info_list( sys.aq$_reg_info('POLER_QUEUE:POLER_RECIPIENT',
                                                                 dbms_aq.namespace_aq,
                                                                 'plsql://tr',
                                                                 HEXTORAW('FF')) ) ,
                           1 );    
      DBMS_AQADM.START_QUEUE(queue_name => 'POLER_QUEUE');    
    end;
    /This is the content of "tr" procedure
    create or replace
    procedure tr ( context raw,
                           reginfo sys.aq$_reg_info,
                           descr sys.aq$_descriptor,
                           payload raw,
                           payloadl number)
    as
      dequeue_options dbms_aq.dequeue_options_t;
      message_properties dbms_aq.message_properties_t;
      message_handle RAW(16);
      message poler_message;
    BEGIN
      dequeue_options.msgid := descr.msg_id;
      dequeue_options.consumer_name := descr.consumer_name;
      DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
                      dequeue_options => dequeue_options,
                      message_properties => message_properties,
                      payload => message,
                      msgid => message_handle);
      insert into lxtr values ( Nvl( To_Char(message.PolerMsgNro ), 'ooops' ), systimestamp ) ;
      commit ;
    end tr;If I query sys.reg$, I see it registered there:
    SQL> select subscription_name, location_name, status, state from sys.reg$;
    SUBSCRIPTION_NAME
    LOCATION_NAME
       STATUS     STATE
    "SPARCS"."POLER_QUEUE":"POLER_RECIPIENT"
    plsql://tr
            0         0I was working, until I re-compiled (don't ask...) the trigger that enqueue the message
    This is the section of the trigger (post insert for each row) that do the enqueuing. It seems to be working, since it is enqueuing. The issue is the dequeue.
    DECLARE
      enqueue_options dbms_aq.enqueue_options_t;
      message_properties dbms_aq.message_properties_t;
      message_handle RAW(16);
      message poler_message;
      err varchar2(2000);
    BEGIN
        message := poler_message(PolerMsgId,  PolerMsgNro );
        dbms_aq.enqueue(queue_name => 'POLER_QUEUE',
                        enqueue_options => enqueue_options,
                        message_properties => message_properties,
                        payload => message,
                        msgid => message_handle);
    END;If I run the code below, message is cleanly dequeued
    declare
      dequeue_options      dbms_aq.dequeue_options_t;
      message_properties   dbms_aq.message_properties_t;
      message_handle       RAW(16);
      message              poler_message;
    BEGIN
      dequeue_options.consumer_name := 'POLER_RECIPIENT' ;
      dbms_aq.dequeue( queue_name => 'POLER_QUEUE',
                       dequeue_options       => dequeue_options,
                       message_properties    => message_properties,
                       payload               => message,
                       msgid                 => message_handle);
      COMMIT;
    END ;Can anyone please give me any hints on what should I do next. There is nothing on the alert log...
    Thank you in advance,
    Tiago

    1) Very few PL/SQL programmers would consider it good form to have procedures with excessive numbers of parameters. In any language, though, it's possible to write poor code.
    2) Initially, you're right-- the performance of properly defined SQL statements via JDBC is little different than the performance of PL/SQL stored procedures. Frequently, however, SQL statements in Java applications do not take advantage of bind variables, which will significantly limit their scalability. Maintaining SQL statements in client applications makes it significantly more difficult on the support side-- if you find a bug in a stored procedure, you can fix the bug in one place-- if you find a bug in embedded SQL, you have to fix the code everywhere the client is deployed. Maintaining PL/SQL stored procedures also makes optimization easier-- frequently your DBA will be able to boil down a stored procedure to a couple of SQL statements and vastly improve performance (i.e. INSERT INTO <<table name>> SELECT <<column list>> from <<other table>> rather than looping over a cursor doing single-row inserts). Finally, PL/SQL stored procedures enable reuse-- when the next application wants to access the database, it doesn't have to rewrite your SQL.
    3) If the alternative to the bind variables (?'s) is a bunch of literals, I'll spend the extra time writing the code for the tremendous increase in scalability.
    4-6) You can certainly pass classes from Java to PL/SQL and back. You can also write Java stored procedures, rather than writing PL/SQL stored procedures). Oracle has been one of the leading proponents of Java.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • JMX NotificationListener is never called (Weblogic 10.3)

    Hi folks
    I'm trying to register a NotificationListener which gets called when the 'HeapSizeCurrent' attribute of the JVMRuntimeMBean has changed.
    I tried the following code, but the listener is never called. Any ideas?
    public class Test implements NotificationListener {
       * @param args
      public static void main(String[] args) throws Exception {
        NotificationListener listener = new Test();
        AttributeChangeNotificationFilter filter = new AttributeChangeNotificationFilter();
        filter.enableAttribute("HeapSizeCurrent");
        JMXServiceURL serviceURL = new JMXServiceURL("t3", "localhost", 7011, "/jndi/weblogic.management.mbeanservers.domainruntime");
        Map<String, Object> env = new HashMap<String, Object>();
        env.put(Context.SECURITY_PRINCIPAL, "weblogic");
        env.put(Context.SECURITY_CREDENTIALS, "weblogic");
        env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
        env.put("jmx.remote.x.request.waiting.timeout", new Long(10000));
        JMXConnector connector = JMXConnectorFactory.connect(serviceURL, env);
        MBeanServerConnection connection = connector.getMBeanServerConnection();
        ObjectName domainRuntimeServiceMBean = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
        ObjectName[] serverRuntimes = (ObjectName[]) connection.getAttribute(domainRuntimeServiceMBean, "ServerRuntimes");
        for (ObjectName serverRuntime : serverRuntimes) {
          ObjectName jvmRuntime = (ObjectName) connection.getAttribute(serverRuntime, "JVMRuntime");
          connection.addNotificationListener(jvmRuntime, listener, filter, null);
          System.out.println("added listener");
        System.in.read();
        connector.close();
      @Override
      public void handleNotification(Notification notification, Object handback) {
        if(notification instanceof AttributeChangeNotification) {
          AttributeChangeNotification attributeChange = (AttributeChangeNotification) notification;
          System.out.println("This notification is an AttributeChangeNotification");
          System.out.println("Observed Attribute: " + attributeChange.getAttributeName() );
          System.out.println("Old Value: " + attributeChange.getOldValue() );
          System.out.println("New Value: " + attributeChange.getNewValue() );
    }Thanks
    Edited by: 816587 on 29-Nov-2010 13:10

    Hi thanks for your reply. Very strangely without making any changes I left it alone for an hour or so and it seems to be ok after that!

  • TransportListener never called

    Hi,
    first I will describe the actual problem: I try to send two mails with attachment using commons-mail (in the end javax.mail.Transport.send() is called). This works not bad but only the attachment of the first mail is there. The second mail also arrives but without attachment. After trying with the debugger it worked so it seems to be a racing condition problem.
    Now I tried to register a TransportListener to Transport but this code does not work:
    p = mail.getMailSession().getProviders();
    for (int i = 0; i < p.length; i++)
         try
              mail.getMailSession().getTransport(p).addTransportListener(MyMailDispatcher.getInstance());
         catch (Exception e)
              System.out.println("TransportListener could not be added");
              e.printStackTrace();
         }I got 6 providers but only SMTP and SMTPS are available which seems to be ok. When I look with the debugger the transportListener member is still null after I added the listener als also it is never called.
    What can I do to get notified when the first mail is gone or be able to send both mails with attachments in a different way.
    Thanks,
    Markus                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    You have to register the listener on the Transport object that you're actually going to use.
    You're getting a new Transport object, registering the listener, and then throwing away the
    Transport object without using it.

  • ViewObjectImpl never called? NavigationListener HowTo?

    Hi,
    I try to implement add a navigation listener to a ViewObjectImpl but I noticed that the class is never called?
    JDev 10.1.2 + JClient
    I have a panel bound to the ViewObject.
    3 rows are retrieved
    I traced my program and when 3 rows are retrieved, the underlying EntityImpl and ViewRowImpl classes are called 3 times but the ViewObjectImpl class is never called?
    Is this normal?
    I checked the content of the Model.jpr file and all those classes are defined.
    Where get I activate my Navigation Listener if not in the ViewObjectImpl file?
    Here is my code:
    public class MyVOImpl extends ViewObjectImpl
    MyNavigationListener myNavigationListener = null; //new MyNavigationListener();
    * This is the default constructor (do not remove)
    public MyVOImpl()
    System.out.println(getClass().getName()+" MyVOImpl()");
    myNavigationListener = new MyNavigationListener();
    addListener(myNavigationListener);
    System.out.println(getClass().getName()+" LISTENER ADDED");
    protected class MyNavigationListener implements RowNavigationListener
    public void navigated(NavigationEvent event)
    System.out.println(getClass().getName()+".navigated() begin *************");
    Your help will be appreciated
    Frederic

    I didn't succeed to add a RowNavigationListener but adding a RowSetListener works.
    RowSetListener implementation:
    public class PhotolabVOImpl extends ViewObjectImpl
    PhotolabNavigationListener photolabNavigationListener = null; //new PhotolabNavigationListener();
    private Number previousPhotolabOtherLangId = null;
    * This is the default constructor (do not remove)
    public PhotolabVOImpl()
    System.out.println(getClass().getName()+" PhotolabVOImpl()");
    public void executeQuery()
    if (this.photolabNavigationListener == null)
    try
    photolabNavigationListener = new PhotolabNavigationListener();
    this.getRowSetIterator().addListener(photolabNavigationListener);
    System.out.println(getClass().getName()+" LISTENER ADDED");
    catch (Exception ex)
    ex.printStackTrace();
    this.photolabNavigationListener = null;
    super.executeQuery();
    public class PhotolabNavigationListener implements RowSetListener
    public void navigated(NavigationEvent event)
    System.out.println(getClass().getName()+".navigated() begin *************");
    public void rangeRefreshed(RangeRefreshEvent event)
    public void rangeScrolled(ScrollEvent event)
    public void rowInserted(InsertEvent event)
    public void rowDeleted(DeleteEvent event)
    public void rowUpdated(UpdateEvent event)
    RowNavigationListener that doesn't work:
    public class PhotolabVOImpl extends ViewObjectImpl
    PhotolabNavigationListener photolabNavigationListener = null; //new PhotolabNavigationListener();
    private Number previousPhotolabOtherLangId = null;
    * This is the default constructor (do not remove)
    public PhotolabVOImpl()
    System.out.println(getClass().getName()+" PhotolabVOImpl()");
    public void executeQuery()
    if (this.photolabNavigationListener == null)
    try
    photolabNavigationListener = new PhotolabNavigationListener();
    this.getRowSetIterator().addListener(photolabNavigationListener);
    System.out.println(getClass().getName()+" LISTENER ADDED");
    catch (Exception ex)
    ex.printStackTrace();
    this.photolabNavigationListener = null;
    super.executeQuery();
    public class PhotolabNavigationListener implements RowNavigationListener
    public void navigated(NavigationEvent event)
    System.out.println(getClass().getName()+".navigated() begin *************");
    Following Exception is caught:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=com.photoswing.model.lab.PhotolabVOImpl$PhotolabNavigationListener
         at oracle.jbo.JboException.<init>(JboException.java:343)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1439)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:2682)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:5361)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:638)
         at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:724)
         at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:168)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3362)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2631)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:689)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3361)
         at com.photoswing.model.lab.PhotolabVOImpl.executeQuery(PhotolabVOImpl.java:52)
         at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBindingIfNeeded(DCJboDataControl.java:803)
         at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:1587)
         at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:1544)
         at com.photoswing.view.lab.PanelPhotolabVO1.setBindingContext(PanelPhotolabVO1.java:184)
         at com.photoswing.view.start.PhotoWebshopDesktop.createPanelPhotolabToolBar(PhotoWebshopDesktop.java:589)
         at com.photoswing.view.start.PhotoWebshopDesktop.main(PhotoWebshopDesktop.java:276)
    ## Detail 0 ##
    java.lang.ClassCastException: com.photoswing.model.lab.PhotolabVOImpl$PhotolabNavigationListener
         at oracle.jbo.common.RowSetHelper.fireNavigationEvent(RowSetHelper.java:255)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3408)
         at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3192)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1431)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:2682)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:5361)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:638)
         at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:724)
         at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:168)
         at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3362)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2631)
         at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2850)
         at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:1941)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:689)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3361)
         at com.photoswing.model.lab.PhotolabVOImpl.executeQuery(PhotolabVOImpl.java:52)
         at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBindingIfNeeded(DCJboDataControl.java:803)
         at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:1587)
         at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:1544)
         at com.photoswing.view.lab.PanelPhotolabVO1.setBindingContext(PanelPhotolabVO1.java:184)
         at com.photoswing.view.start.PhotoWebshopDesktop.createPanelPhotolabToolBar(PhotoWebshopDesktop.java:589)
         at com.photoswing.view.start.PhotoWebshopDesktop.main(PhotoWebshopDesktop.java:276)
    I found a solution but I would appreciate if somebody could explain why my RowNavigationListener implementation was wrong?
    Thanks
    Frederic

  • I am so sick of Verizon ripping me off and when I call the agents they are so rude to me.

    I need help.  I know you say, it sounds like it, but I can't get the help from tech support, the agents that answer the phone or the supervisors.  My MINIFIED #G has not worked for over a year.  I finally realized that I could put it on suspend which I did and I can do it one more time.
    I have 2 lines that are due for upgrades and new contracts..  I want an phone 4S and see that this can happen at rthew Apple Store.  should I have the Apple Store get me into an iPhone 4S or not?  I will lose the NE2 which for the cell line is $35 and the data line is $50.  is it possible to use any of the phones like the iPhone 4S like I used the MiFI2200 for?  Can I get a phone these days and hook my MacBook Pro up to it and have the phone act like a Mobile HotSpot?
    If that is so there is no reason to gt a 4G mobile hotspot.
    what is the best smartphone to get that has the capability to be used as a mobile hot spot and is not too hard?
    does anybody else have trouble with this company?  do they treat you like you are a loser?  Iam promised by supervisors that they will call me and help me get set-up with the devices you need but I never get a call. I am only told "I called you but you did not answe the phone.
    what is the best cell carrier to use these days?
    what is the best smartphone for my data line that has the $50 NE2 hooked up to it?  Every phone I read about says the battery is crappy.  there is not one phone that I read about that has all good marks. Just at the beginning of summer there were tons of people saying I can't wait for fall when this comes out that will be the best time.
    I got one of the agents to document if any of my devices do not work they will not charge me restocking fees but I do not know if there are any devices worth the cost this company charges.  I have a MoTO phone that is 8 years old, can't do text messages and I have unlimited.  the data device and line is suspended and I pay $80/mo and I talk to friends with other carriers whohave complicated smartphones, unlimited calls and texts and data and they pay $90/mo.
    what does a person who does not know the phones do like me?  Are there any phones that are really worth going through a new plan and getting all set up, sign a new contract and have it be worth it?
    there has got to be som people here who can help an idiot like me.  I used to be satisfied with the MOTO basic cell phone and the MIFI2200 3G. it was awesome. I would go on a trip, take my MacBok Pro and HOOK IT UP TO THE MIFI AND JUST SURF THE INTERNET, FIND A HOTEL and that was it.
    I just need to know if this company is worth staying or should I go to a better carier like ATT
    what is the phone that allows a person to hook their laptop to and suf without ot depleating my data allowance for the month?
    I am in need of big help.  thanks for any help and Merry Christmas.  I won't be getting a phone under my tree because nobody in my family knows what ssmatphones are worth it.
    should I cancel the data line I saved for the $50 NE2 or save it and get one of the new data devices?  if I should then that means none of the decent phones will allow me to use the phone as a data mobile hotspot or are there good phons that will allow me to use the phone for this purpose?
    I thought the Androids were supposed to be the next best thing.  is the Droid a good phone?
    I need help big time and help with what is a good phone and if it is the iPhone 4S can I use that phone and have it be easy and use oitas a mobile hotspot.

    NotSure wrote:
    I need help.  I know you say, it sounds like it, but I can't get the help from tech support, the agents that answer the phone or the supervisors.  My MINIFIED #G has not worked for over a year.  I finally realized that I could put it on suspend which I did and I can do it one more time. If you suspended without billing, you are not completing your contract on that line.  Each month you suspend without billing adds one month to your contract period.
    I have 2 lines that are due for upgrades and new contracts..  I want an phone 4S and see that this can happen at rthew Apple Store.  should I have the Apple Store get me into an iPhone 4S or not?  Apple may not be able to access your New Every 2, otherwise, it won't make a difference. I will lose the NE2 which for the cell line is $35 and the data line is $50.  is it possible to use any of the phones like the iPhone 4S like I used the MiFI2200 for?    Can I get a phone these days and hook my MacBook Pro up to it and have the phone act like a Mobile HotSpot? Yes, you can get phones to use as a mobile hotspot, but you have to get a larger data plan.
    If that is so there is no reason to gt a 4G mobile hotspot. If you want a 3G phone (like the iPhone), then you'll only have 3G speeds.
    what is the best smartphone to get that has the capability to be used as a mobile hot spot and is not too hard? Look on Verizon's site, each phone listing specifies if it supports the mobile hotspot, and you can read reviews.
    does anybody else have trouble with this company? No.  do they treat you like you are a loser? Nope.  Iam promised by supervisors that they will call me and help me get set-up with the devices you need but I never get a call. I am only told "I called you but you did not answe the phone. Maybe they did.  Why don't you purchase your phone in-store and ask them for help setting up your phone if that is important to you.
    what is the best cell carrier to use these days? The one that provides adequate service in the areas you use your phone at a price you find to be a good value.  You need to do some research to determine that.
    what is the best smartphone for my data line that has the $50 NE2 hooked up to it? If you add a phone to your data line, you'll need a calling plan for that line.  Why do you want two smartphones?  Why not just cancel the data line after the contract expires if you plan to get a phone with a mobile hotspot to replace that functionality?  Every phone I read about says the battery is crappy. Smartphones do not have the 2-3 day battery life many people became accustomed to with basic phones, but many of them last through the day easily, you just have to charge them at night.  Again, read the reviews to determine the best phone for you.  there is not one phone that I read about that has all good marks. And there never will be, no one phone is great for everyone, nor is any phone free of flaws.  Just at the beginning of summer there were tons of people saying I can't wait for fall when this comes out that will be the best time. There's always something new around the corner...
    I got one of the agents to document if any of my devices do not work they will not charge me restocking fees but I do not know if there are any devices worth the cost this company charges. If you exchange a phone due to an issue covered by the warranty you will get a new phone in the first 14 days, and a refurbished unit after that.  As far as the cost, if you don't like Verizon's selection, then look at other carriers, or consider buying older phones used from eBay or the like. I have a MoTO phone that is 8 years old, can't do text messages and I have unlimited.  the data device and line is suspended and I pay $80/mo and I talk to friends with other carriers whohave complicated smartphones, unlimited calls and texts and data and they pay $90/mo. A basic one line plan with unlimited texting and 2GB of data on Verizon is $89.99 + taxes/fees.  I think the mobile hotspot capable data plans are $20/month more.
    what does a person who does not know the phones do like me? Research, and then play with the phones in store.  Also, buy your phone at a store with friendly staff who can help you get set up.  You may have to go to more than one. Are there any phones that are really worth going through a new plan and getting all set up, sign a new contract and have it be worth it? Maybe, how much do you care about the features and capabilities of a smartphone?  Enough to deal with some hassle and learning curve?  If not, a basic phone may be better for you?
    there has got to be som people here who can help an idiot like me.  I used to be satisfied with the MOTO basic cell phone and the MIFI2200 3G. it was awesome. I would go on a trip, take my MacBok Pro and HOOK IT UP TO THE MIFI AND JUST SURF THE INTERNET, FIND A HOTEL and that was it.
    I just need to know if this company is worth staying or should I go to a better carier like ATT Do some research about coverage and cost, and then make a decision.
    what is the phone that allows a person to hook their laptop to and suf without ot depleating my data allowance for the month? Any mobile hotspot use will come out of your data allowance.
    I am in need of big help.  thanks for any help and Merry Christmas.  I won't be getting a phone under my tree because nobody in my family knows what ssmatphones are worth it.
    should I cancel the data line I saved for the $50 NE2 or save it and get one of the new data devices?  if I should then that means none of the decent phones will allow me to use the phone as a data mobile hotspot or are there good phons that will allow me to use the phone for this purpose? I don't know if you would be better off with a basic phone + data device, or a smartphone with mobile hotspot.  There are advantages to both setups.  You can use Verizon's site to do some mock orders and see what the cost difference would be between the two options.
    I thought the Androids were supposed to be the next best thing.  is the Droid a good phone? There is a large selection of Android phones, and many people like them.  You'll need to read some reviews and play with a few to choose the one you may like.
    I need help big time and help with what is a good phone and if it is the iPhone 4S can I use that phone and have it be easy and use oitas a mobile hotspot.

  • I made an in app purchase and never received what I was supposed to. I contacted the producers of the app and they never got back to me. I then contacted apple and they said they would return my 25$ purchase. I still haven't gotten it. What do I do?

    I made an in app purchase and never received what I was supposed to. I contacted the producers of the app and they never got back to me. I then contacted apple and they said they would return my 25$ purchase. I still haven't gotten it. I am starting to feel like I just lost 25 dollars and both companies are sweeping it under the bus. I don't know what to do now. What should I do?!?!

    We are users like yourself. You are not speaking to Apple here. We are not able to help. Please call Apple to inquire.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

  • NamespaceContext.getPrefix() never called

    I am a newbie in the Java XML world.
    Here is my issue and the snippet of code is used to explain the problem:
    XPathVariableResolver jxvr = new JSTLXPathVariableResolver(pageContext);
    Node contextNode = adaptParamsForXalan(n, xpathString.trim(), jxvr);
    XPath xpath = XPathFactory.newInstance().newXPath();
    xpath.setNamespaceContext(jstlXPathNamespaceContext); //jstlXPathNamespaceContext is
    // initialized somewhere else
    xpath.setXPathVariableResolver(jxvr);
    Now when the xpath is evaluated using:
    xpath.evaluate(xpathString, contextNode);
    Under the debugger I can see that this call eventually calls the getNamespaceURI() method
    of JSTLXPathNamespaceContext (class for jstlXPathNamespaceContext) and then after that
    I land up at the resolveVariable(QName qname) call of JSTLXPathVariableResolver.
    What I notice in resolveVariable() call is that qname.getPrefix() is always an empty string. However, qname.getNamespaceURI() returns the proper URI string. In addition, prior to reaching resolveVariable() in JSTLXPathVariableResolver, I do see that the getNamespaceURI() method
    is being called in JSTLXPathNamespaceContext class. However, getPrefix() method of this
    class is never called. My instinct says that if this was called before resolveVariable() method is
    reached (during the creation of QName) I would get a valid prefix instead of an empty string.
    Could someone help with this. Is there something that I am doing wrong. Where does QName
    get created in resolveVariable() and why does it not call getPrefix()
    Please let me know if I can provide more info
    Thanks in advance
    -Dhiru

    The installer extension isn't removed with the application. It still can be found in Java Cache Viewer. When you remove this extension using Java Cache Viewer the uninstall method will be called.
    Is there a way to force the extension uninstallation when the main application is being removed? Removing the very application is user-friendly, you can do it from the Control Panel in Windows. It looks like JWS is missing a very important feature.
    I'm using Java 1.6.0_03 right now.

Maybe you are looking for

  • ERROR: No valid domain present

    While installing OATS in custom mode. getting the below error in deploy.log. kindly suggest as to what can be done. ERROR: No valid domain present And also Observed this in the "config_ds.log" file . Initializing WebLogic Scripting Tool (WLST) ... We

  • I have broken the screen on my ipad how much does it cost to replace?

    does the scrren have to be repaied by apple? my Ipad is only 3 months old and has warranty for the rest of it.

  • Bold in AppWorks  vs Pages

    We are attempting to convert our usage from Appleworks to Pages and have run into a problem. A document we converted has a font called Baker Signet in it. We could bold or italics to our heart's content. When we bring it into Pages we can only have p

  • Manual Price Change by Customer

    Dear all, I am a BI Consultant. I dont have much idea on SD tables. here is my reporting requirement: Need to track the number of manual intervention by Customer on the price during the order entry. In certain exceptional cases, the Customer can chan

  • How to change a case to decode

    how will u convert this case statement into a decode statement please help case when to_char(sysdate,'DD-MON-YYYY') - onhand.t_date< 30 then SUM (moh.transaction_quantity) end as '30days', case when to_char(sysdate,'DD-MON-YYYY') - onhand.t_date >= 3