Infinite calls to rowUpdated()

Hi,
I have created a table binding using a view object (say VO). There is a listener on that view object(VO) and in rowUpdated( ) method I called the executeQuery() of the view object(VO).
After I update any value in the table and press enter, it goes into infinite loop.
Following is the sample java client file --
package pro;
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import oracle.jbo.*;
import oracle.jbo.client.*;
import oracle.jbo.uicli.binding.*;
import oracle.jbo.uicli.jui.*;
public class Client extends JFrame
        private BorderLayout _mainLayout = new BorderLayout();
        private JPanel _panelCenter = new JPanel();
        private JUPanelBinding _panelBinding;
        private static String V_EMP = "VEmp";
        private ViewObject _vEmp = null;
        private JTable _table = new JTable();
        private String[] EMP_ATTRIBUTES = {"Empno", "Ename", "Job"};
        public Client()
                try
                        jbInit();
                } catch (Exception e)
                        e.printStackTrace();
        private void jbInit() throws Exception
                this.setSize(350, 210);
                this.setBounds( new Rectangle(100, 80, 400, 250));
                this.setTitle( "Frame Title" );
                ApplicationModule appModule =
                Configuration.createRootApplicationModule(
                "pro.AM12414", "AM12414Local");
                JUApplication app = new JUApplication(appModule);
                _panelBinding = new JUPanelBinding(app.getName(), null);
                _panelBinding.setApplication(app);
                _panelCenter.setLayout(_mainLayout);
                customJbInit();
                this.getContentPane().add("Center",_panelCenter);
                _panelBinding.executeIfNeeded();
        private void customJbInit()
                _vEmp = _panelBinding.getDataControl().getApplicationModule().findViewObject(V_EMP);
                _table.setModel(JUTableBinding.createAttributeListBinding(_panelBinding, _table, V_EMP, null, V_EMP + "IterBinding", EMP_ATTRIBUTES));
                JUIteratorBinding bankMutationIterBinding = _panelBinding.getRowIterBinding(V_EMP, null,V_EMP+"IterBinding");
                bankMutationIterBinding.getRowSetIterator().addListener(new EmpRowSetListener());
                _panelCenter.add(_table);
        public static void main(String[] args)
                Client frame = new Client();
                frame.addWindowListener(
                        new WindowAdapter()
                                public void windowClosing(WindowEvent evnt)
                                        System.exit(0);
                frame.setSize(new Dimension(400, 280));
                frame.pack();
                frame.setVisible(true);
        private class EmpRowSetListener implements RowSetListener {
                public void navigated(NavigationEvent e) {}
                public void rowInserted(InsertEvent e) {}
                public void rowDeleted(DeleteEvent e) {}
                public void rowUpdated(UpdateEvent e) {
                        _vEmp.executeQuery();
                public void rangeRefreshed(RangeRefreshEvent e) {}
                public void rangeScrolled(ScrollEvent e){}
}I think after calling the executeQuery() method of a view object, it should not invoke rowUpdated( ) method as the row does not get updated just by calling the executeQuery().
Can anyone please verify this?
Thanks.

Hi Frank,
This was just a prototype for reproducing the issue :)
The actual reason behind invoking the executeQuery() is --
We are updating the database table (which is underlying the VO) through database procedures in the rowUpdated() and to reflect those changes back again in the view object (VO) we need to call executeQuery().
You can consider the rowUpdated() method as follows:
public void rowUpdated(UpdateEvent e)
  // Call the database procedure
  dbProc.updateTable(); 
  _vEmp.executeQuery();
}Thanks.

Similar Messages

  • PowerShell 3.0 stuck in infinite loop resolving members internally (is this a PS bug??)

    Sorry for long post... I have this scenario:
    - Issue is on PS3, PS2 works fine
    - I create a new object via "$myObj = New-Object PSObject"
    - I append a number of PSMembers to it via something similar to:
    "if (-not (Get-Member -InputObject $myObj -Name MyProperty))
     Add-Member -InputObject $myObj -MemberType ScriptProperty -Name MyProperty -Value { return MyFunction }
    I am seeing situations where what I believe is the call to "Get-Member" causes a huge number of invocations that appear to be calling the equivalent of the "MyFunction" in the above sample. I have debug statements in the MyFunction
    function and nested functions and can see they are called by what appears to be the PS framework itself. Even running a "Get-PSCallstack" call from one of these functions seems to also trigger the debug statements to be hit (midway through the callstack
    output??!) - bit confused by that but it's like PS is invoking the member in order to reflect it or something.
    I used Trace-Command and could see that the "MemberResolution" trace source is repeatedly/infinitely called with the output:
    MemberResolution Information: 0 :         Matching "*"
    MemberResolution Information: 0 :             Generating the total list of members
    MemberResolution Information: 0 :                 Type table members: 0.
    MemberResolution Information: 0 :                 Adapted members: 0.
    MemberResolution Information: 0 :             21 total matches.
    This appears to be in an infinite loop. Therefore I added "-ListenerOption Callstack" to the Trace-Command call and captured the following and more (notice the call to PSObject.ToStringEmptyBaseObject()):
    at System.Management.Automation.PSObject.AdapterGetMembersDelegate[T](PSObject msjObj)
       at System.Management.Automation.PSMemberInfoIntegratingCollection`1.GetIntegratedMembers(MshMemberMatchOptions matchOptions)
       at System.Management.Automation.PSMemberInfoIntegratingCollection`1.Match(String name, PSMemberTypes memberTypes, MshMemberMatchOptions matchOptions)
       at System.Management.Automation.PSObject.ToStringEmptyBaseObject(ExecutionContext context, PSObject mshObj, String separator, String format, IFormatProvider formatProvider)
       at System.Management.Automation.PSObject.ToString(ExecutionContext context, Object obj, String separator, String format, IFormatProvider formatProvider, Boolean recurse, Boolean unravelEnumeratorOnRecurse)
       at System.Management.Automation.PSObject.ToString()
       at System.String.Join(String separator, Object[] values)
       at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
    I then disassembled the relevant code in Reflector and could see that the ToString() method of PSObject has a check for "if obj.immediateBaseObjectIsEmpty" then to call the ToStringEmptyBaseObject() function. I could also see that the immediateBaseObjectIsEmpty
    field is set in the CommonInitialization internal method if "obj is PSCustomObject" (which is the actual object type you get when you New-Object PSObject).
    I then updated my code to create "$myObj = New-Object Object" (i.e. System.Object instead) and the issue goes away.
    Can anyone explain what I may have done wrong here or is this looking like a bug in PowerShell?
    Cheers!

    Hi Matt,
    I'm not sure if we are on the same page? Getting the list of (i.e. metadata of) the members shouldn't invoke the member.  I have used this technique in many places and it's never been an issue whereby you "wrap" a utility function with
    a ScriptProperty or ScriptMethod to provide OO semantics on a PS object. The member isn't invoked by Get-Member, only when it's called explicitly.
    Here's a small example:
    function TestFunction
     Write-Host "TestFunction called"
     return "TestFunction return value"
    $myObj = New-Object PSObject
    Add-Member -InputObject $myObj -MemberType ScriptProperty -Name TestScriptProperty -Value `
     Write-Host "TestScriptProperty called"
     return TestFunction
    Write-Host "Getting members"
    Get-Member -InputObject $myObj -Name TestScriptProperty | Select *
    Write-Host "Invoking property"
    $myObj.TestScriptProperty
    Here's the output (Get-Member output a bit mangled due to the text wrapping):
    Getting members
    TypeName                                   Name                                                                      
    MemberType Definition                               
    System.Management.Automation.PSCustomOb... TestScriptProperty                                                    
    ScriptProperty System.Object TestScriptProperty {get=...
    Invoking property
    TestScriptProperty called
    TestFunction called
    TestFunction return value
    Yup I see your point, but when you run your original code with this example object you can see there is no loop. There must either be a loop in the function or in the body of the script itself. This is very tough to troubleshoot without seeing the code you
    are actually running.
    You said you are adding several members to the custom object. Is this done in a loop?

  • RichEditableText textFlow problem with \n

    I cant say more right now, but I have found some strange problem. We have skin with RichEditableText and we bind text property with some data from server. If there is string with \n inside whole app froze, or CPU is very high. In profiler I have found infinite calls fro textFlow recreating. I need to find out more, but maybe someone has some idea, what's wrong.
    When I create some small test app with just 2 RichEditableText and just copy string with enters, it works, but debugger doest show \n, but just multilined string. So maybe it's something with encoding or something similar.
    Im suing flex sdk 14403...
    any idea? Can I use any characters inside, or is there any limitations?
    Thanks

    dear alzaeem i ran java in before this time when i installed it in memory card
    i dont know whay u say it doesnt run in memory card
    before this i installed every application of java and symbian in memory card with out any problem and after installation icon of them were in application list
    when i install java in memry card i dont have problem with installation and its complete installation and there is the name of that software java in installation list but my problem is that there is any icon of software in application list or every where to start or run it.

  • Java program run correctly under 1.3 and 1.2.2 but fail in 1.4

    The MixedExample.java in the following link can run correctly under 1.3 and 1.2.2. But when I run the program in 1.4, stack overflow error occurs.
    http://www2.gol.com/users/tame/swing/examples/SwingExamples.html
    Below is part of the error message
    Exception in thread "main" java.lang.StackOverflowError
    at javax.swing.table.DefaultTableModel.setColumnIdentifiers(DefaultTableModel.java:454)
    at AttributiveCellTableModel.setDataVector(AttributiveCellTableModel.java:55)
    at javax.swing.table.DefaultTableModel.setColumnIdentifiers(DefaultTableModel.java:454)
    at AttributiveCellTableModel.setDataVector(AttributiveCellTableModel.java:55)
    at javax.swing.table.DefaultTableModel.setColumnIdentifiers(DefaultTableModel.java:454)
    and so on.
    It seems that line 55 and line 454 infinitely call each other and finally cause stack overflow. I have tried to compile the program under 1.4, but the error still exists. Is it a bug in 1.4? Any solutions to this problem?
    Thanks
    Anson

    I haven't looked at the sample code, however maybe look at this:
    "As of Java 2 SDK 1.4.1, the compiler detects all cases of mutually recursive constructors. Previously, the compiler only detected a self-recursive constructor."
    (Excerpt from: http://java.sun.com/j2se/1.4.1/changes.html)

  • Update DataGrid using RemoteObject

    I am using a RemoteObject method call to populate an ArrayCollection used as a dataProvider in my DataGrid. I use the render() method on the datagrid to make sure the datagrid displays the updated data the RemoteObject method is returning everytime it is displayed. My problem is the datagrid displays the updated information but gets into an infinite call.
    What might be the appropriate way to get the updated data from the backend?
    -Thanks,
    Fauzia

    Hi Michael,
    Thanks for your reply. The AC I use is bindable, but it doesn't get update with an initialize() method, thats why I had to use render(). This is an outline of my code...
      <mx:RemoteObject id="historyService" result="onResultGetList(event)" showBusyCursor="true" fault="onFault(event)" destination="historyService">
         <mx:method name="getLrcFindDetailCltn" result="onResultGetList(event)" makeObjectsBindable="true" fault="onFault(event)"/>
       </mx:RemoteObject>
           [Bindable]
            private var ldsDetails:ArrayCollection;
              public function getList():void
                historyService.getLrcFindDetailCltn();
              public function onResultGetList(event:ResultEvent):void
                 ldsDetails = event.result as ArrayCollection;
    <mx:DataGrid id="usersDataGrid" dataProvider="{ldsDetails}" render="getList();">
    <mx:columns>......
    Thanks,
    Fauzia

  • JTree Printing Problem

    I am having a problem printing a JPanel that includes a JLabel, a JPanel, and a JTree. If I only add the JLabel and JPanel to the JPanel to be printed, everything works fine. But as soon as I add my JTree (which is small, and should fit on one page), the pageIndex stops being incremented and I end up with the print method being infinitely called. Has anyone run into this problem before? Why is the pageIndex not being incremented?
    Thanks for any help!
    andrewwi1

    Ok, after a whole lot of trial and error I think I answered my own question.
    It seems that adding the JTree to the Panel to be printed really caused the Print API to call the print method many many times on the same pageIndex. I had never seen it need to render the same page more than 4 or 5 times before now. I was running the code through debug (using VisualAge for Java), and was also causing the panel to be printed to the screen via JFrame. So after I'd get about 30 JFrames containing my print panel I'd assume something was wrong and kill the thread. Turns out it needs to render the same page 30+ times with a JTree (or at least with my JTree). After turning of the JFrame visibility (so I wouldn't see them pop up on my screen) and waiting for quite awhile, the page finally printed just fine.

  • Overriding Methods on JRadioButton and JButton

    public class CustomRadioButton extends JRadioButton {
        private final Color pressedForeground = Color.YELLOW;
        private final Color foreground = Color.WHITE;
        private final ImageIcon icon = new ImageIcon(getClass().getResource("/com/project/Graphics/Button_UP.gif"));
        private final ImageIcon pressedIcon = new ImageIcon(getClass().getResource("/com/project/Graphics/Button_DOWN.gif"));
        public CustomRadioButton() {
            setBorderPainted(false);
            setFocusPainted(false);
            setIcon(icon);
            setForeground(foreground);
            setSelectedIcon(pressedIcon);
            setContentAreaFilled(false);
            setHorizontalTextPosition(SwingConstants.CENTER);
            setFont(new Font("Arial", Font.BOLD, 12));
            setMargin(new Insets(0, 0, 0, 0));
            setMinimumSize(new Dimension(101,25));
            setMaximumSize(new Dimension(101,25));
            setPreferredSize(new Dimension(101,25));
            setBorder(null);
        @Override
        public Icon getIcon() {
            setForeground(foreground);
            return super.getIcon();
        @Override
        public Icon getSelectedIcon() {
            setForeground(pressedForeground);
            return super.getSelectedIcon();
    }Why does this code cause an infinite loop when it's in a selected state? I ran a profiler on my project and found that it infinitely calls painComponent(), getIcon(), and getSelectedIcon() when it's pressed. Yet when I create my object as a regular JRadioButton with all of these setting and an ActionListener to change the foreground color there is no infinite loop. Am I missing something here?

    A paintComponent override doen't seem to trigger the repaint loop.import java.awt.*;
    import javax.swing.*;
    public class SelectedForegroundRadioButtonTest {
       public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                new SelectedForegroundRadioButtonTest().makeUI();
       public void makeUI() {
          ButtonGroup group = new ButtonGroup();
          JPanel panel = new JPanel(new GridLayout(0, 1));
          for (int i = 0; i < 5; i++) {
             JRadioButton button = new SelectedForegroundRadioButton("Button " + i);
             panel.add(button);
             group.add(button);
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.add(panel);
          frame.pack();
          frame.setLocationRelativeTo(null);
          frame.setVisible(true);
    class SelectedForegroundRadioButton extends JRadioButton {
       private final Color pressedForeground = Color.ORANGE;
       private final Color defaultForeground = Color.BLUE;
       private final int iconSize = 16;
       public SelectedForegroundRadioButton(String text) {
          super(text);
          setIcon(new DefaultIcon());
          setPressedIcon(new PressedIcon());
          setSelectedIcon(new SelectedIcon());
       @Override
       public void paintComponent(Graphics g) {
          setForeground(isSelected() ? pressedForeground : defaultForeground);
          super.paintComponent(g);
       class DefaultIcon implements Icon {
          public void paintIcon(Component c, Graphics g, int x, int y) {
             g.setColor(isSelected() ? pressedForeground : defaultForeground);
             g.drawOval(0, 0, iconSize, iconSize);
             g.drawOval(1, 1, iconSize - 2, iconSize - 2);
          public int getIconWidth() {
             return iconSize;
          public int getIconHeight() {
             return iconSize;
       class PressedIcon extends DefaultIcon {
          @Override
          public void paintIcon(Component c, Graphics g, int x, int y) {
             super.paintIcon(c, g, x, y);
             g.setColor(Color.GREEN);
             g.fillOval(3, 3, iconSize - 6, iconSize - 6);
       class SelectedIcon extends PressedIcon {
          @Override
          public void paintIcon(Component c, Graphics g, int x, int y) {
             super.paintIcon(c, g, x, y);
             g.setColor(Color.RED);
             g.fillOval(5, 5, iconSize - 10, iconSize - 10);
    }db

  • Howto implement timeout

    Ok I have the following problem...
    I have multiple VI's. Most of these VI's contain a loop which can theoratically loop a infinit amount of time. Some VI's which can run infinitly call VI's which can run infinitly. Now my problem is how do I timeout them. 
    I got a few solutions but none that I like. 
    Currently I have the following (not wanted implementation). Each VI has a timeout input. Then inside the VI I check if the VI has timed out. Now this implementation is flawed because of the following. I have A.vi and B.vi. A.vi calls B.vi. A.vi and B.vi have a input timeout. I wire the timeout of A.vi to B.vi. Now the flaw in my current design is that the timeout is sort of relative. Before B.vi is called in A.vi already some time has passed. Thus when B.vi is called in A.vi with that timeout it is possible that while B.vi is running A.vi would have timeout... but this does not happen because B.vi is still running with the same timeout of A, hence gets extended, because the timeout is added with the time when the VI is called and then compared when running. I attachted a sample VI of my current implementation. 
    Now I want to be able to have a more abstract method. Something like a VI which holds the timeout. I was thinking of a functional global... however this would conflict when two VI's are running with different timeouts which both call that VI when they run in parallel. 
    Hopefully someone has a clever idea/solution.
    Attachments:
    A.vi ‏10 KB
    B.vi ‏9 KB

    If A.vi calls B.vi, and you expect B.vi to be done in 100 ms it's naturally impossible for A.vi to be done in 100 ms as well if B.vi times out. You can use the timed elapsed in B output and add it to the time elapsed in A to compare it with the timeout instead. However if B does time out A will still take a bit longer to time out.
    Hmmm wel that would not be possible of course because what when B will execute infinitly...
    If your current approach is as simple as the demo VIs you attached, you may very rarely run into a problem when the Tick Counter rolls over, giving you a much longer timeout than you expect.  (Of course, loops with no wait are also a problem).
    Sounds like what you want is to change your timeout inputs to "Timeout At" inputs, so that it times out at a given time.  Instead of comparing with the Tick Count, compare with Get Date/Time in Seconds (this also solves the rollover problem).  Then you can pass the same Timeout At value from A directly into B.  Alternatively, add the Timeout At input instead of replacing the Timeout, and set the initial value to NaN.  Check if the input is NaN - if so, get the current time in seconds, add the timeout value, and use that as the new Timeout At; otherwise, just use the Timeout At value that was passed in.
    Yes I actually came up with this solution also "Timeout At" idea. But I don't really like it, I was hoping for a more abstract/generic method. Where I could just use the tickcount. 
    The real issue lies in fact with the problem that I can't determine which VI's are going to be called and because they can be executed in parallel. If I could do this I could just create a notifier for that set of VI's which need a timeout check.

  • BW/ABAP- Function module is called infinitely by Datasource Extractor.

    Hi All,
    A quick ABAP question related to Function Modules and BW data source extractors.
    I’ve written a function module to select data from a database and simply output the data as a table. I then created a text Datasource using transaction rso2 and set it to Extraction by Function Module.
    When I test this using transaction rsa6, I can manipulate the number of calls to my function module using the Display Extra Calls field.
    However, when I test this using transaction rsa1, my function module seems to be called infinite times. So, the number of records being retrieved is increasing exponentially and finally ends with a dump.
    My question: Do I need to include something in my code such that the Function Module by itself will only be called once?
    Or is there some configuration for the Datasource that will limit my function module call to once only.
    Tried so far
    • Introducing a static variable in the function module that exits as soon as the value is greater than 1.
    o Is there another way out?
    Regards,
    Preethi.

    You need to raise the EXEPTION NO_MORE_DATA afte the last record is populated in the output table. Otherwise the program goes into an infinite loop.
    * From now on records get fetched from the database or gets read from the internal table
        FETCH NEXT CURSOR v_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE <internal table>
                   PACKAGE SIZE i_s_if-maxsize.
        IF sy-subrc <> 0.
          CLOSE CURSOR v_cursor.
          RAISE no_more_data.
        ENDIF.
    * Populate the Output Data Structure into table E_T_DATA and you need to raise the EXEPTION NO_MORE_DATA and close the cursor to avoid any memory leaks

  • Debugging SAPM07DR forms called from MIGO -  another "infinite loop" case?

    SAMP07DR is an SAP-delivered include pool that calls SAPscript forms for various purposes, e.g. printing of GR slips when goods receipts are posted.
    A few months ago, the customer decided to make a Z version ZAPm07DR of this pool to create a custom version ZM07DRSONof the include  M07DRSON.
    We have now have a sporadic problem with GR slips not printing.
    Based on discussions here:
    Ouch! Ugh! Never seen something as ugly and embarassing as this!
    I think I am going to have to code an infinite loop in ZM07DRSON in order to trap it in SM50 after posting a goods receipt in MIGO.  This is because even when the print process fails, the MIGO goods receipt finishes OK with the usual "new mblnr" notification at the bottom of the screen.  So this tells me that the (S/Z)APMO7DR includes are being called asynchonously and can't be seen even with the
    But does anyone else know how you else you could debug SAPM07DR when its includes are called while posting a goods receipt in MIGO?
    I would hate to use the "infinite loop/SM50" approach except as a last resort.
    Thanks
    djh

    Hi Rich  -<br><br>
    1) it's gotta be asynch/background because as I said:-<br><br>
    a) the MIGO goods receipt finishes perfectly normally with the new mblnr notification on the bottom of the screen;<br>
    c) the SM13s are generated even though MIGO finishes mornally-<br><br>
    2) Regarding the infinite loop itself - we may not be able to reproduce the error in D or Q and I hate introducing an infinite loop into a P client on general principles, even if I condition it on my sy-uname, which of course I would do.<br><br>
    Regards<br>
    djh

  • Memory requirement is continiously increased when i am running my application program in an infinite loop,after certain time it shows an error called low virtual memory

    memory requirement is continiously increased when i am running my application program in an infinite loop,after certain time it shows an error called low virtual memory

    What are you doing with your program. Lots of improper programming techniques can cause this - building arrays, concantanating strings, opening but not closing refrences, etc. Need more details or post your VI. Also, have you looked at "LabVIEW Performance and Memory Management"? It's part of the shipping documentation and available from Help>Search the LabVIEW Bookshelf.

  • Infinite keyRepeated() event calls after displaying TextField/TextBox

    I experienced something with WTK 2.5.2_01. This what was happening. I had an application that would display a Canvas, then when a user clicks the Canvas.FIRE
    button when the canvas is displaying, the canvas displays a TextBox with a command. when the user is done typing, they select a command and they are taken back to the canvas again. The problem now comes when the user presses any key after the canvas has been displayed. The WTK generates infinite keyRepeated()
    method calls on the canvas. When I run the system monitor, the problem seems to be traceable back to the
    com.sun.midp.lcdui.DefaultEventHandler$QueueEventHandler.run() method. Im using WTK2.5.2_01 on ubuntu 9.04.
    Could this be a bug on the emulator?

    Dear Pallavi,
    Very useful post!
    I am looking for similar accelerators for
    Software Inventory Accelerator
    Hardware Inventory Accelerator
    Interfaces Inventory
    Customization Assessment Accelerator
    Sizing Tool
    Which helps us to come up with the relevant Bill of Matetials for every area mentioned above, and the ones which I dont know...
    Request help on such accelerators... Any clues?
    Any reply, help is highly appreciated.
    Regards
    Manish Madhav

  • Infinite Beachball when Open/Place File Dialog is Called

    (Apologies on the novel below. If it helps a soul out there from a descent into madness, well, at least one of us got out okay.)
    I am having a heck of a morning that is bleeding over from last night (and it has nothing to do with Mardi Gras time in New Orleans). I have recently set up my laptop (a new MBP) with Yosemite and AICS 5.1 and 6 (haven't yet made the move to subscription CC). I use the laptop at my office, where we have a simple network (one router, a switch, and several NAS drives). All day yesterday I worked on the system and had no issues. I took the computer home (another simple network with router, switch, nas drive) and whenever I attempted to either Place a file into an existing document or Open a file from within Illustrator the file dialog window would open. However, even though the window would indicate the Desktop directory was being accessed, the list of files would not populate and, after a couple seconds, the cursor would beachball forever. Uncertain to its reason, I attempted several remedies (cleaning font cache, uninstalling a couple system preference panes, paring down font menu, removing sidebar items, deleting all preferences, making changes to Dropbox settings). The only thing that worked in getting the dialogs not to beachball was to install a temporary user account and load AI from there (not a practical solution, ultimately). Also, it is important to note, this Open/Place problem occurs in AICS5.1 as well as AICS6. Things that do work regarding file access: if I Save a file from within AI the file dialog comes up and no problem. If I double-click or otherwise open a file from the Finder or a search utility the document will open.
    This morning I brought my computer to work and attempted the Place command. The window opened and paused, and then a curious thing happened. I heard my NAS awaken. After several seconds, the dialog window populated, and all was righted. I could Open and Place files with no issue. The three network shares that I have at the office all reconnected (I had disconnected from all of them before quitting the network last night).
    At this point, my hypothesis is that AI was having some trouble with network shares and even though I had unmounted the shares AI was still remembering them (and having trouble letting go). To test this, I loaded AI with the shares mounted, quit AI, and then unmounted the shares. I then disconnected from the network and loaded AI. Attempting the Place command in a new document brought up the dialog window and directory file list (!). I then pressed [CMD] + D to get to the desktop files/shortcut folders and wham -- infinite beachball!
    My desktop has a bunch of helpful aliases for navigating local and network shares. There are links to my Dropbox folder, my client art folder, a screenshot folder, and four links to network shares. I made these shortcuts by mounting the share, going up a level in the root directory, and option-commanding the share over to the desktop. I don't know if this is a good or holy way to do it, but it's the way I've been doing it on 10.6.8. In any case, I took all of the icons on the desktop and threw them in a temp holding folder. I then loaded AI, new document, Place, go to Desktop directory -- no beachball. Open the temp folder, infinite beachball, force quit. Create a subfolder within the temp folder. Put all the network share aliases in there. AI, New, Place, Desktop directory (ok), temp directory (ok), subfolder (beachball party), force quit.
    Mind you, this is all with the network disconnected. When I get info any of the aliases the Finder beachballs!! After a few seconds, though, the Finder begrudgingly allows me to see the file information.
    So, there's something screwy with the way those aliases are behaving. When they are 'looked at' by the AI file dialog (or the Finder) the system wants to reach out and touch them, say hello. The Finder, although flummoxed, eventually regains composure and shakes off the hang. AI, however, can't break free.
    The temporary way forward, I suppose, is to remove those aliases from the Desktop and put them in a safe, out of the way place. I will probably create a few AppleScripts or Automator apps in their stead for mounting NAS shares, and assign to function keys. Hopefully someone out there with bigger lightbulbs over their head can shed some light on the problem and offer other suggestions for a more robust fix. In any case, it's probably a Yosemite problem, given the Finder's odd behavior.
    Cheers!
    -g-

    Open Finder, press Option key, select Go > Library, open Preferences and delete com.apple.desktop.plist

  • MoveRowAtIndexPath called in infinite loop, cancelCellReorder?

    Hi
    No doubt I've missed something obvious, hopefully someone can give me a hint. I've got a table view that comes up in a popup. Everything displays fine, scrolls fine, and deletes ok as well. However, when I drag a row to a new spot and let go, infinite loop time. Here is my move row code:
    -(void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)oldPath toIndexPath:(NSIndexPath *)newPath
    NSLog(@"moveRowAtIndexPath from %i to %i", oldPath.row, newPath.row);
    NSString *temp = [[self.items objectAtIndex:oldPath.row] retain];
    [self.items removeObjectAtIndex:oldPath.row];
    [self.items insertObject:temp atIndex:newPath.row];
    [temp release];
    [self.tableView reloadData];
    Moving row 8 to row 5 comes up in my console window as:
    moveRowAtIndexPath from 8 to 5
    moveRowAtIndexPath from 8 to 8
    moveRowAtIndexPath from 8 to 8
    moveRowAtIndexPath from 8 to 8
    moveRowAtIndexPath from 8 to 8
    This time the stack is some 7000 items deep, all repeating through this:
    [EditPortfolioViewController tableView:moveRowAtIndexPath:toIndexPath:]
    [UITableView(UITableViewInternal) _endReorderingForCell:wasCancelled:animated:]
    [UITableView(UITableViewInternal) _cancelCellReorder:]
    [UITableView reloadData]
    ... and those four entries just repeat endlessly
    The code is for an iPad (iOS 3.2.1) and this happens in both the simulator (XCode 3.2.3) as well as my iPad.
    Any thoughts?
    Thanks.
    Peter

    Aren't you supposed to:
    return YES;
    Whoops, sorry, I was looking at wrong method.
    Which brings up the question, what other UITableViewDataSource protocol methods have you implemented?
    Message was edited by: xnav

  • How to set infinite read timeout on web service call

    For JAX-WS JRF web services, I have a client that can set oracle.webservices.ClientConstants.HTTP_READ_TIMEOUT to any given value. I know that if you don't set this value, the default value is infinite. But how do I explicitly set the timeout to be infinite? Maybe 0? I will get something set up that I can experiment with, but someone might know off the top of their head. Thanks.

    Have found out that 0 is the default, which is infinite timeout.

Maybe you are looking for

  • Is it yet possible to upgrade the internal hard drive on a 13" Macbook Pro with Retina Display?

    Hi all, I have a MacBook Pro (Retina, 13-inch, Mid 2014) with a 2.6 GHz Intel Core i5 processor, a 8 GB 1600 MHz DDR3 memory and a 128GB built in flash storage drive. I do a lot of video and sound work requiring a lot of space however 128GB is just n

  • How to update PHP, MySQL or Apache

    The Mac OS X 10.6.2 system does not include the latest versions of PHP, MySQL or Apache. What is the recommended update procedure for PHP, MySQL or Apache: a) automatically by Mac OS X system (is this possible?) or b) manually by the administrator (a

  • Post install package installation on RHEL5

    Hi, Can I have some advise please. When I installed Oracle's RHEL5 Linux OS I failed to select quite a lot of packages that I needed (like Apache for example.) I've been double clicking on the RPM packages and getting lots of dependacy errors and sea

  • BOM Component and quantity like cs03

    Hi friends, I want  output like cs03 i want component list and its quantity  which r use for perticular material as like in CS03. Means I just give material no in  input for that perticular material number in output it display components which are us

  • Failed to send mail: java.lang.NullPointerException

    Hi @, I have configured my receiver mail adpter and while running it is throwing the following error in adapter engine and there is no trace availble to analyse the same Only the follwoing error : "failed to send mail: java.lang.NullPointerException"