ICal in infinite loop adding events

I have truthfully never had much use for Ical.  I have found it's functionality, look and feel sadly lacking with other programs.
However, I now have ICAL in what appears to be an infinite loop of trying to add new events.   I suspect it has something to do with a link to Google Calendar.
I have nothing of value on ICal and I want to start over from scratch.
How to do?
OS X LION 10.7.5
Macbook Pro. Early 2008

Further investigation looks like it's adding every event ever from MEETUP.   Still want to NUKE iCAL and start ALL OVER>
Thanks in advance for the assistance.
Chuck

Similar Messages

  • Events firing in infinite loop

    Hello,
    I have two date fields (a start date and a due date) and a text field for the user to enter a duration between the two dates.  I've added separate event listeners for each component and the problem I'm having is when one field is updated, the event listener calculates the date for the other one as well and when the value changes, its event listener fires and changes the other date, causing an infinite loop.
    I've tried to remove the event listeners on the other components at the beginning of the listeners and adding them back at the end of the listeners, but the events still seem to fire when adding the listener.
    Is there an easy way to prevent event handlers from being run when you are changing one component's value from the event listener of another component?

    Try calling validateNow() on the controls before reattaching listeners
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Why does ical put a random time in front of added events when I print?

    How can I prevent ical from putting a random time in front of added events when I print?

    In Word go to File, Options, Display and uncheck the box to print document properties.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Triggering event FMRE-CREATED in an infinite loop

    Hi guys,
    Iu2019m having a big problem in Public Sector Management with Founds Management Government when I create a Found reservation Tcode FMX1.
    My problem is the triggering event FMRE-CREATED  (event to start the Workflow) because when the document is created, this event is generated by the system which is fine, but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How can I tell the system to donu2019t trigger this event when the status is changed?
    Thanks a lot
    Felipe Uribe.

    Hi,
    but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How you changing the status? Check any Function Module or BAPI to change the status.
    You have acheive it via Start Condition, check are you getting entry in the Table  SWFREVTLOG for Creation.
    If second time creating, check for the entry in the table, if found not allow it.
    Regards,
    Surjith

  • Paint() method is in infinite loop when focus is set to JTextPane

    Hi All,
    I am creating one JScrollPane, JPanel and JTextPane. JPanel is added to JScrollPane and JTextPane is added to JPanel. If I override paint() method in JPanel, its in infinite loop. I don't know why it is behaving like this. Can anyone solve my problem. Since, I am doing so much drawings in paint() method, its getting to slow.
    Here is the code what I wrote.
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TestTextPane1 extends JFrame {
         JPanel panel;
         JScrollPane pane;
         public TestTextPane1() {
              panel = new JPanel(new BorderLayout()) {
                   public void paint(Graphics g) {
                        super.paint(g);
                        System.out.println("inside paint");
              JTextPane textPane = new JTextPane();
              panel.add(textPane);
              pane = new JScrollPane(panel);
              getContentPane().add(pane);
              setSize(300, 200);
              setVisible(true);
         public static void main(String [] args) {
              new TestTextPane1();
    Any help will be useful for me.
    Regards
    Kishore.

    What are you trying to do? You are adding the textPane to the panel and then overriding the paint() method. The textPane will never be painted if you do this.
    In Swing, you should override the paintComponent() method, not the paint() method. See the Swing tutorial on Painting:
    http://java.sun.com/docs/books/tutorial/uiswing/overview/draw.html
    Don't forget to read the "Working With Graphics" link at the bottom.

  • ActionEvent/Setting gui text in an infinite loop

    Hi,
    I have set up a gui that contains ~ 100 JTextFields and one JTextButton
    Pressing the JTextButton on the gui triggers an action event that
    1.     establishes a socket connection w/ a server
    2.     reads input from the server in an infinite loop
    3.     should use the server data to dynamically setText in the various JTextFields found on the gui.
    for example, during one iteration of the infinite loop, the data may set the text of JTextField #1 to ?foo? and in a later iteration of the loop, the new data from the input stream may set the text of the same field to something else (e.g. ?bar?). Thus, the gui should show a dynamically changing collection of TextFields after the user presses the JTextButton.
    Problem: because of the infinite loop, NONE of the fields is ever updated (see pseudocode below). If I remove the infinite loop and simply have 1 iteration of the block of code within the actionPerformed method, the gui updates properly.
    How might I alter the code to a) maintain the server connection, b) continuously read from the input stream and c) have a dynamic update of the textfields w/in the gui?
    I've tried adding "this.paint(this.getGraphics());" within the infinite loop and it sort of works, but the updates to the gui are FAR SLOWER than the data that are streaming in from the server.
    Thanks for any help!
    The code looks something like this
    Public class abc extends JFrame
    Public abc()
         {initialize components}
    instantiate all textfields & button
    create various arrays
    public void initialize components
         (set up gui using gridbaglayout
         add actionListener to button)
    private actionperformed
    (establish socket connection w/ server
         read data from server in an infinite loop
         parse data and use information to setText on the gui)
    public static void main(blah blah)
         show abc();

    have the reading loop in a different class which will have its own Thread running aside from the main program's thread. This way your application will do both at once :)

  • Push-replication pattern does not work in activeactive mode - infinite loop

    Hi Gurus,
    I have encountered some problems while playing with the example of push-replication / active2active pattern, and tried to fix them. But there is still one which is now beyond my current knowledge:
    Issue 1: (fixed)
    After download the latest Incubator example from the official website and run the push-replication / active2active example directly following the [readme] file, exceptions related to serialization / deserialization occurred. I then added the mockito-all-1.8.5.jar to the Incubator-example’s lib directory and the problem gone.
    Issue 2: (fixed)
    Running the example, and found that [update events] triggered by the active-server1 can be propagated to active-server2, but not for vice versa (active-server2 -> active-server1). I inspected the cache configuration file of active-server2 (active2-cache-config.xml), and found there should be a typo in it, as:
    <event:remote-cluster-channel-scheme>
    <event:remote-invocation-service-name>remote-site1</event:remote-invocation-service-name>
    </event:remote-cluster-channel-scheme>
    <remote-invocation-scheme>
    <service-name>remote-sit1</service-name>
    </remote-invocation-scheme>
    This should be a typo, so I changed the remote-sit1 to remote-site1 and the problem gone as expected.
    Issue 3: (pending)
    After having the above 2 issues fixed, and re-run the example from scratch, this time I found the program can never end (infinite loop). From the log, I can see the update-count exceeds 5000 (expected value is 2000 which will trigger the program exit) and keep increasing????????
    Could you please so kind give some hint? Thank you in advance!
    Best regards
    Hysun He

    Hey Hysun He,
    Issues 1 and 2 are now resolved in Incubator 11.0.0
    Issue 3 looks to be a problem with the lack of a suitable base-case preventing eventual consistency between the sites.
    Note: That the Auction example, which is also "Active Active" does not have this problem.
    I've raise the following issue to track progress:
    http://java.net/jira/browse/COHINC-19
    Brian Oliver | Architect | Oracle Coherence 

  • Need help with an infinite loop please

    Can somebody please help me out with displaying text that's been imported from another file onto a JTextArea? this is the code i've been trying to get to work, and it does, but it is stuck in an infinite loop and i can't see why. I've tried adding a counter before the while loop, and displaying and incrementing it inside the loop. The counter gets to 32 (the last line of the file) then goes back to 1 and starts again. Any help, or explanations would be awesome, thanks.
    String line;
         while ((line=reader.readLine())!=null){
              System.out.println(num);
              append(line+" \n");
         }                              

    think you will have to post some more of the code, is that within any sort of loop itself , has it its own method ? is it an event handler ? ..btw the append sould be fine .. is this a subclass of a TextArea ? where is this bit of code ?
    Message was edited by:
    odd_function

  • SQL stored procedure Staging.GroomDwStagingData stuck in infinite loop, consuming excessive CPU

    Hello
    I'm hoping that someone here might be able to help or point me in the right direction. Apologies for the long post.
    Just to set the scene, I am a SQL Server DBA and have very limited experience with System Centre so please go easy on me.
    At the company I am currently working they are complaining about very poor performance when running reports (any).
    Quick look at the database server and CPU utilisation being a constant 90-95%, meant that you dont have to be Sherlock Holmes to realise there is a problem. The instance consuming the majority of the CPU is the instance hosting the datawarehouse and in particular
    a stored procedure in the DWStagingAndConfig database called Staging.GroomDwStagingData.
    This stored procedure executes continually for 2 hours performing 500,000,000 reads per execution before "timing out". It is then executed again for another 2 hours etc etc.
    After a bit of diagnosis it seems that the issue is either a bug or that there is something wrong with our data in that a stored procedure is stuck in an infinite loop
    System Center 2012 SP1 CU2 (5.0.7804.1300)
    Diagnosis details
    SQL connection details
    program name = SC DAL--GroomingWriteModule
    set quoted_identifier on
    set arithabort off
    set numeric_roundabort off
    set ansi_warnings on
    set ansi_padding on
    set ansi_nulls on
    set concat_null_yields_null on
    set cursor_close_on_commit off
    set implicit_transactions off
    set language us_english
    set dateformat mdy
    set datefirst 7
    set transaction isolation level read committed
    Store procedures executed
    1. dbo.p_GetDwStagingGroomingConfig (executes immediately)
    2. Staging.GroomDwStagingData (this is the procedure that executes in 2 hours before being cancelled)
    The 1st stored procedure seems to return a table with the "xml" / required parameters to execute Staging.GroomDwStagingData
    Sample xml below (cut right down)
    <Config>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    <Target>
    <ModuleName>TransformActivityDim</ModuleName>
    <WarehouseEntityName>ActivityDim</WarehouseEntityName>
    <RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName>
    <ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName>
    <Watermark>2015-01-30T08:59:14.397</Watermark>
    </Target>
    </Config>
    If you look carefully you will see that the 1st <target> is missing the ManagedTypeViewName, which when "shredded" by the Staging.GroomDwStagingData returns the following result set
    Example
    DECLARE @Config xml
    DECLARE @GroomingCriteria NVARCHAR(MAX)
    SET @GroomingCriteria = '<Config><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><Watermark>2015-01-30T08:59:14.397</Watermark></Target><Target><ModuleName>TransformActivityDim</ModuleName><WarehouseEntityName>ActivityDim</WarehouseEntityName><RequiredWarehouseEntityName>MTV_System$WorkItem$Activity</RequiredWarehouseEntityName><ManagedTypeViewName>MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity</ManagedTypeViewName><Watermark>2015-01-30T08:59:14.397</Watermark></Target></Config>'
    SET @Config = CONVERT(xml, @GroomingCriteria)
    SELECT
    ModuleName = p.value(N'child::ModuleName[1]', N'nvarchar(255)')
    ,WarehouseEntityName = p.value(N'child::WarehouseEntityName[1]', N'nvarchar(255)')
    ,RequiredWarehouseEntityName =p.value(N'child::RequiredWarehouseEntityName[1]', N'nvarchar(255)')
    ,ManagedTypeViewName = p.value(N'child::ManagedTypeViewName[1]', N'nvarchar(255)')
    ,Watermark = p.value(N'child::Watermark[1]', N'datetime')
    FROM @Config.nodes(N'/Config/*') Elem(p)
    /* RESULTS - NOTE THE NULL VALUE FOR ManagedTypeViewName
    ModuleName WarehouseEntityName RequiredWarehouseEntityName ManagedTypeViewName Watermark
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity NULL 2015-01-30 08:59:14.397
    TransformActivityDim ActivityDim MTV_System$WorkItem$Activity MTV_Microsoft$SystemCenter$Orchestrator$RunbookAutomationActivity 2015-01-30 08:59:14.397
    When the procedure enters the loop to build its dynamic SQL to delete relevant rows from the inbound schema tables it concatenates various options / variables into an executable string. However when adding a NULL value to a string the entire string becomes
    NULL which then gets executed.
    Whilst executing "EXEC(NULL)" would cause SQL to throw an error and be caught, executing the following doesnt
    DECLARE @null_string VARCHAR(100)
    SET @null_string = 'hello world ' + NULL
    EXEC(@null_string)
    SELECT @null_string
    So as it hasnt caused an error the next part of the procedure is to move to the next record and this is why its caught in an infinite loop
    DELETE @items WHERE ManagedTypeViewName = @View
    The value for the variable @View is the ManagedTypeViewName which is NULL, as ANSI_NULLS are set to ON in the connection and not overridded in the procedure then the above statement wont delete anything as it needs to handle NULL values differently (IS NULL),
    so we are now stuck in an infinite loop executing NULL for 2 hours until cancelled.
    I amended the stored procedure and added the following line before the loop statement which had the desired effect and "fixed" the performance issue for the time being
    DELETE @items WHERE ManagedTypeViewName IS NULL
    I also noticed that the following line in dbo.p_GetDwStagingGroomingConfig is commented out (no idea why as no notes in the procedure)
    --AND COALESCE(i.ManagedTypeViewName, j.RelationshipTypeViewName) IS NOT NULL
    There are obviously other ways to mitigate the dynamic SQL string being NULL, there's more than one way to skin a cat and thats not why I am asking this question, but what I am concerned about is that is there a reason that the xml / @GroomingCriteria is incomplete
    and / or that the procedures dont handle potential NULL values.
    I cant find any documentation, KBs, forum posts of anyone else having this issue which somewhat surprises me.
    Would be grateful of any help / advice that anyone can provide or if someone can look at their 2 stored procedures on a later version to see if it has already been fixed. Or is it simply that we have orphaned data, this is the bit that concerns most as I dont
    really want to be deleting / updating data when I have no idea what the knock on effect might be
    Many many thanks
    Andy

    First thing I would do is upgrade to 2012 R2 UR5. If you are running non-US dates you need the UR5 hotfix also.
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • ICal imports Palm all day events as 2 day events - easy to fix?

    Hi,
    I want to make the switch from Palm desktop 4 to using iCal 3 but I've run into a problem. When I import the vcal exported from Palm, the iCal makes all of the all (one) day events into 2 day events.
    Is there anyway to fix this so the all day event displays only on the day it was set for in Palm?
    I'm hoping I don't have to do all of these by going back to my oldest events and changing the dates by hand because I have almost 9 years of data in my Palm calendar.
    Thanks.

    Just to update what I've been trying without success.
    I exported the Palm datebook as .csv file. I then edited any entries that began and ended the same day without any times, i.e. the one day all day events, to begin at 12:01am and end at 11:59pm. Then after backing up my Palm user data and prefs, I erased my Palm data and reimported this .csv file into Palm desktop, then I reexported it to a vCal and imported that into iCal.
    It made a mess out of things because I discovered some of these all day events also repeated. I'm not sure what to do with repeating events.
    I tried going into iCal and manually changing the events but then I end up with many duplicates if they are repeating.
    I exported the iCal data and opened it in Text Wrangler. Then I exported the calendar from Sunbird. It seems like the iCal is adding an extra "end date" that isn't in the file when I import it into Sunbird.
    Any other suggestions would be appreciated.

  • Infinite loop error after using Java Sun Tutorial for Learning Swing

    I have been attempting to create a GUI following Sun's learning swing by example (example two): http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html
    In particular, the following lines were used almost word-for-word to avoid a non-static method call problem:
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);I believe that I am accidentally creating a new instance of the gui class repeatedly (since it shows new GUI's constantly and then crashes my computer), possibly because I am creating an instance in the main class, but creating another instance in the GUI itself. I am not sure how to avoid this, given that the tutorials I have seen do not deal with having a main class as well as the GUI. I have googled (a nice new verb) this problem and have been through the rest of the swing by example tutorials, although I am sure I am simply missing a website that details this problem. Any pointers on websites to study to avoid this problem would be appreciated.
    Thanks for your time-
    Danielle
    /** GUI for MicroMerger program
    * Created July/06 at IARC
    *@ author Danielle
    package micromerger;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.BufferedWriter;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.swing.JFileChooser;
    import java.lang.Object;
    public class MGui
         private static File inputFile1, inputFile2;
         private static File sfile1, sfile2;
         private static String file1Name, file2Name;
         private String currFile1, currFile2;
         private JButton enterFile1, enterFile2;
         private JLabel enterLabel1, enterLabel2;
         private static MGui app;
         public MGui()
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        System.out.println("About to run create GUI method");
                        app = new MGui();
                        System.out.println("declared a new MGui....");
                        createAndShowGUI();
         //initialize look and feel of program
         private static void initLookAndFeel() {
            String lookAndFeel = null;
         lookAndFeel = UIManager.getSystemLookAndFeelClassName();
         try
              UIManager.setLookAndFeel(lookAndFeel);
         catch (ClassNotFoundException e) {
                    System.err.println("Couldn't find class for specified look and feel:"
                                       + lookAndFeel);
                    System.err.println("Did you include the L&F library in the class path?");
                    System.err.println("Using the default look and feel.");
                } catch (UnsupportedLookAndFeelException e) {
                    System.err.println("Can't use the specified look and feel ("
                                       + lookAndFeel
                                       + ") on this platform.");
                    System.err.println("Using the default look and feel.");
                } catch (Exception e) {
                    System.err.println("Couldn't get specified look and feel ("
                                       + lookAndFeel
                                       + "), for some reason.");
                    System.err.println("Using the default look and feel.");
                    e.printStackTrace();
         // Make Components--
         private Component createLeftComponents()
              // Make panel-- grid layout
         JPanel pane = new JPanel(new GridLayout(0,1));
            //Add label
            JLabel welcomeLabel = new JLabel("Welcome to MicroMerger.  Please Enter your files.");
            pane.add(welcomeLabel);
         //Add buttons to enter files:
         enterFile1 = new JButton("Please click to enter the first file.");
         enterFile1.addActionListener(new enterFile1Action());
         pane.add(enterFile1);
         enterLabel1 = new JLabel("");
         pane.add(enterLabel1);
         enterFile2 = new JButton("Please click to enter the second file.");
         enterFile2.addActionListener(new enterFile2Action());
         pane.add(enterFile2);
         enterLabel2 = new JLabel("");
         pane.add(enterLabel2);
         return pane;
         /** Make GUI:
         private static void createAndShowGUI()
         System.out.println("Creating a gui...");
            JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
            JFrame frame = new JFrame("MicroMerger");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         //Add stuff to the frame
         //MGui app = new MGui();
         Component leftContents = app.createLeftComponents();
         frame.getContentPane().add(leftContents, BorderLayout.WEST);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
    private class enterFile1Action implements ActionListener
         public void actionPerformed(ActionEvent evt)
              JFileChooser chooser = new JFileChooser();
              int rVal = chooser.showOpenDialog(enterFile1);
              if(rVal == JFileChooser.APPROVE_OPTION)
                   inputFile1 = chooser.getSelectedFile();
                   PrintWriter outputStream;
                   file1Name = inputFile1.getName();
                   enterLabel1.setText(file1Name);
    private class enterFile2Action implements ActionListener
         public void actionPerformed(ActionEvent evt)
              JFileChooser chooser = new JFileChooser();
              int rVal = chooser.showOpenDialog(enterFile1);
              if(rVal == JFileChooser.APPROVE_OPTION)
                   inputFile2 = chooser.getSelectedFile();
                   PrintWriter outputStream;
                   file2Name = inputFile2.getName();
                   enterLabel2.setText(file2Name);
    } // end classAnd now the main class:
    * Main.java
    * Created on June 13, 2006, 2:29 PM
    * @author Danielle
    package micromerger;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class Main
        /** Creates a new instance of Main */
        public Main()
         * @param args the command line arguments
        public static void main(String[] args)
            MGui mainScreen = new MGui();
            //mainScreen.setVisible(true);
            /**Starting to get file choices and moving them into GPR Handler:
             System.out.println("into main method");
         String file1Name = new String("");
             file1Name = MGui.get1Name();
         System.out.println("good so far- have MGui.get1Name()");
        }// end main(String[] args)
    }// end class Main

    um, yeah, you definitely have a recursion problem, that's going to create an infinite loop. you will eventually end up an out of memory error, if you don't first get the OS telling you you have too many windows. interestingly, because you are deferring execution, you won't get a stack overflow error, which you expect in an infinite recursion.
    lets examine why this is happening:
    in main, you call new MGui().
    new MGui() creates a runnable object which will be run on the event dispatch thread. That method ALSO calls new MGui(), which in turn ALSO creates a new object which will be run on the event dispatch thead. That obejct ALSO calls new MGui(), which ...
    well, hopefully you get the picture.
    you should never unconditionally call a method from within itself. that code that you have put in the constructor for MGui should REALLY be in the main method, and the first time you create the MGui in the main method as it currently exists is unnecessary.
    here's what you do: get rid of the MGui constructor altogether. since it is the implicit constructor anyway, if it doesn't do anything, you don't need to provide it.
    now, your main method should actually look like this:
    public static void main( String [] args ) {
      SwingUtilities.invokeLater( new Runnable() {
        public void run() {
          MGui app = new MGui();
          app.createAndShowGUI();
    }// end mainyou could also declare app and call the constructor before creating the Runnable, as many prefer, because you would have access to it from outside of the Runnable object. The catch there, though, is that app would need to be declared final.
    - Adam

  • 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?

  • Integration Process: Infinite loop without correlation

    Hello,
    we have an IP which receives IDocs, maps them and makes SOAP-Calls to the destination synchron.
    We need no correlation. Mapping is complex an takes some time.
    Since this is an mass-interface, we can see the messages buffered for the IP in XBQO$PE_WS...
    In order overcome this performance lack we want to process let's say 3 Idocs simultaneously.
    According to "How To… Configure Inbound Processing in ccBPM" i need to bring the Receive
    Step into an infinite loop step, so that there is always an open Receive-Step:
    <Begin loop infinite>
       - Receive-IDoc
       - Transformation-Step
       - Send-Step (SOAP)
       - Check Result
       - ErrorMessage if neccessary
    <End loop>
    But in this case an correlation is obligatory?
    How can we implement sim. processing without correlation?
    Regards Gunnar.

    Gunnar, I don't think, you can yimprove this scenario and enable processing of more idocs simultanously. System processes the messages as fast, as it can.
    Once, we had some problems with IDoc processing in BPM - it was slow. So my friend just added some available processes (increased this number in system settings) and it started to work fine. So, I think, there is no improvement possible in BPM, by try some system settings. I'm sorry, I can't tell you, which setting it exactly was, cos' I don't know, but try to ask some BASIS guys.
    Peter

  • Extension Installer in infinite loop

    Hi,
    I'm trying to use an Extension Installer to install some extra files for my application. I've searched the forum for problems with the Extension Installer and I've seen a few posts, even the same problem I'm having. But none of the suggestions have helped.
    When I run the Extension Installer locally on my own machine it works just fine. However when I move the code to access over the internet the extension installer gets stuck in an infinite loop and my application will never start. And yes, my installer ends with eis.installSucceeded(false).
    Based on other messages in the forum, these are some of the things that I've tried, to no avail:
    1. Add System.exit(0) as the very last statement in my installer.
    2. I don't specify a port in my codebase in either the application jnlp or the extension jnlp.
    3. The webserver is running on the default port (80).
    4. Tried adding "javaws.cfg.forceUpdate=false" to my javaws.cfg file.
    I'm using JWS 1.0.1_02. My web server is IBM HTTP Server. The machine that I'm trying to install to is running W2K.
    Anyone have any suggestions?
    Thanks,
    Beth

    The funny thing is that with you it seems to happen
    during
    one JWS launch session.
    So I wonder why JWS will run k instances of your
    Extension
    installer.
    You don't have an <extension> tag in the jnlp file of
    your extension
    installer, creating an infinite recursion?
    Yes, I wonder why I get multiple instances of the Extension Installer. And also that it works fine if everything is running on my local computer. If I just change the codebase and run everything over the internet is when I get it an infinite loop. Any ideas would be greatly appreciated.
    If it will help, here are my .jnlp files:
    Extension:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SpellChecker Installer -->
    <jnlp     spec="1.0 1.0+"
         codebase="http://apsrv176.ctt.com/bethTest" >
         <information>
              <title>NGS SpellChecker Installer</title>
              <vendor>Vendor</vendor>
              <homepage href="docs/help.html"/>
              <description>SpellChecker Installer</description>
              <description kind="short">Install the SpellChecker files</description>
         </information>
    <security>
    <all-permissions />
    </security>
         <resources>
              <j2se version="1.2"/>
              <property name="ngs.root" value="NGS"/>
              <property name="spellchecker.home" value="SpellChecker"/>
              <jar href="SpellChecker/SpellCheckerInstaller.jar"/>
         </resources>
         <installer-desc main-class="com.ngs.spellcheckerinstaller.SpellCheckerInstaller" />
    </jnlp>
    Main:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for test application -->
    <jnlp     spec="1.0 1.0+"
         codebase="http://apsrv176.ctt.com/bethTest" >
         <information>
              <title>NGS Application</title>
              <vendor>Vendor</vendor>
              <homepage href="docs/help.html"/>
              <description>NGS</description>
              <description kind="short">NGS</description>
              <icon href="images/ngs.jpg"/>
         </information>
         <security>
              <all-permissions/>
         </security>
         <resources>
              <j2se version="1.2" initial-heap-size="64m" max-heap-size="64m"/>
              <property name="ngs.root" value="NGS"/>
              <property name="spellchecker.home" value="SpellChecker"/>
              <jar href="jars/NGSMainForm.jar"/>
    <snip... lots of other jars>
              <nativelib href="jars/bridge2java.jar" />
              <extension href="Third_Party_Jars.jnlp" />
         </resources>
         <resources>
              <extension
                   name="SpellCheckerInstaller"
                   href="SpellCheckerInstaller.jnlp">
              </extension>
         </resources>
         <application-desc main-class="NGSMainForm"/>
    </jnlp>

  • Still in infinite loop after recovery.  Battery still won't charge

    i I have read several discussions on this issue.  My iPad 2 ,64gb ios 7.1 turned off like the battery died.  I put it back on charger and after a few minutes it booted back up.  The next day the same thing happened. This time it ''twas caught in an infinite loop reboot.  I followed the apple support instruction on enters recovery mode.  I did that successfully but as '"activate your iPad" login screen came up on my MacBook.  The iPad died again. I tried connected charger to Ac charger but it keeps looping.  This time alternating between the battery screen, the apple, the spinning tick marks, then off.  Then it starts over.  I tried recovery again. Same result.  I can't fugure out how to get enough charge to finish recovery. It ha been connected to either the wall or the computer for 6 hours While working on a fix. I have tried the home/power reset multiple times as well as the power/volume up key. I can't seem to just turn it off. It keeps looping. It has never been jail broken. No new app has been added lately except for app updates. But that may have been a week ago. Any help would be greatly appreciated. I am on the road so I can't run it over to apple.

    Unfortunately, it sounds like you need a new battery. Do you live near an Apple store? (I think they can replace these things while you wait.) Otherwise, you've got to send it in--that's the HUGE drawback to iPods vs. other digital players that allow the owner to easily replace the battery.
    I know if you search online you can get instructions on how to do this yourself--but it's risky, you have to order the battery, and bottom line what are you gaining? You still can't immediately fix your iPod!
    I keep a cheap Shuffle on hand for exactly these moments--it fills the need while I wait for the more desired device to return.

Maybe you are looking for

  • Connecting iPhone to epson printer

    I'm trying to connect to an epson workforce printer using my iPhone via wifi. When I try to print an email says no printers found. Downloaded an epson icon named epson printer finder

  • HKEY_LOCAL_MACHINE/sofware/classes/QuickTimePL ayerLib.QuickTimePlayerApp/C

    Alright, so I got an nice, new iPod touch for Christmas, and have spent the last several hours tearing my hair out in frustration! I really hope someone here can help me out. I receive this as an error message: HKEYLOCALMACHINE/sofware/classes/QuickT

  • PF Status "PICK"

    hello this is continuation on my thread "Set PF Status and At User-Command & At Line Selection". What is the need and use of declaring PICK in the PF status when i use At Line-Selection and At User-Command in my report program. Wihtout PICK the secon

  • General Ledger Interface Table

    Does anybody know which field on the GL Interface Table will hold the description for a journal line?

  • IOS8: Bug in Hour:Minute format

    iOS8: bug in Norwegian language: Hour:Minute separated by "." not ":"