"main()" won't terminate after Naming.list

The code below will not terminate when executed - it displays the correct values and enters/exits. But just won't return to the command line? Anybody know why this happens? For now I'm using System.exit(0).
void main() {
print("Enter");
     for (String s : Naming.list("//machine"))
          System.out.println(s);
print("Exit");
}

You are talking about Pages 5?
This is aknown bug, not just after lists but elsewhere and also for Italics and underlining.
Apple has removed over 90 features from Pages 5.
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
Pages '09 should still be in your Applications/iWork folder.
Archive/trash Pages 5 and rate/review it in the App Store, then get back to work.
Peter

Similar Messages

  • Kill rmi server, but Naming.list still works

    Hi,
    i have built an rmi server program, which creates some remote objects and a program which lists them. However, the program still lists the objects after the server has shudown. Only as soon as i kill the rmiregistry, the listing stops. Why?
    import java.rmi.*;
    import java.rmi.server.*;
       This server program instantiates two remote objects,
       registers them with the naming service, and waits for
       clients to invoke methods on the remote objects.
    public class ProductServer2
       public static void main(String args[])
          try
             System.out.println
                ("Constructing server implementations...");
             ProductImpl p1
                = new ProductImpl("Blackwell Toaster");
             ProductImpl p2
                = new ProductImpl("ZapXpress Microwave Oven");
             System.out.println
                ("Binding server implementations to registry...");
             Naming.rebind("toaster2", p1);
             Naming.rebind("microwave2", p2);
             System.out.println
                ("Waiting for invocations from clients...");
          catch(Exception e)
             e.printStackTrace();
    }The following program lists the remote objects:
    import java.rmi.*;
    import java.rmi.server.*;
    public class ShowBindings
         public static void main(String[] args)
              try
                   String[] bindings= Naming.list("");
                   for (int i=0; i<bindings.length; i++)
                        System.out.println(bindings);               
              catch(Exception e)
                   e.printStackTrace();

    The RMI Registry holds references to remote objects. Your "list" goes against the Registry, not the remote objects.
    The Registry doesn't care what remote objects are alive or dead. That's not it's purpose.
    Use unbind() to remove references in the Registry before ending your server.

  • My iPad won't charge after plugging into my computer and after holding down the power and home button at same time for 10 seconds- Can anybody help? Has IOS7.0 but the most up-to-date version

    My iPad won't charge after plugging into my computer and after holding down the power and home button at same time for 10 seconds… Can anybody help? Has IOS7.0 but not the most up-to-date version

    It's just the battery sign - nothing else. I've tried to reboot by holding down both power and home key for 10+ seconds, waiting for the apple logo - but nothing happens. It's plugged into the imac at the moment. I tried to recharge it overnight using the normal charger - but no luck. It went dead during a Skype call with a friend - even though it was powered into the mains - albeit at a low battery level at the time

  • My apply tv won't play after it did a update

    My apply tv won't play after it did a update

    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • [SOLVED] Arch won't boot after I created a separate /var parition

    Arch won't boot after I created a separate /var parition on an existing installation.And let me confess: it was maybe stupid trying to do it on an existing install.
    I edited the fstab correctly, copied the files using rsync preserving permissions. Then I kept a backup of /var using tar. Then went on to delete everything under /var, ie /var/*, the /var folder is still there. All this I did from a live CD. After that I booted into my arch linux. Here I get messages about systemd successfully finishing fsck on each of my partitions, then the screen starts blinking. And there is no more output. Pressing Ctrl+Alt+Delete causes systemd to stop its services and reboot.
    Having realized I had borked my system, I removed the /var line from fstab and restored /var from the tar file I made earlier. Again I did this from a live cd. Rebooted into my arch system, and again similar issues, namely that after fsck and messages informing a few services had started, the screen keeps blinking.
    The live cd I used for reorganizing my partitions was elementary OS freya. They have GParted in there. I also have an arch install iso lying aroung from May 2013. If necessary, I can download the latest version. I am currently typing from a Windows installation I dual boot from.
    I don't know how to extract any boot logs as I am locked out of the system. Here is my fstab in any case:
    # Filesystem information
    # /dev/sda5 LABEL=fs_root
    UUID=b9d739cf-fd8c-46dd-a919-bd827dc47c66 / ext4 rw,noatime,data=ordered 0 1
    # /dev/sda9 LABEL=fs_var
    UUID=ec0f7a49-dccd-43ab-8651-9aa3fdb41cc7 /var ext4 rw,noatime,data=ordered 0 2
    # /dev/sda2 LABEL=fs_boot
    UUID=0e8ab31a-3bda-4b85-a901-a36f21b1583d /boot ext2 rw,noatime 0 2
    # /dev/sda6 LABEL=fs_home
    UUID=d9e63c47-274e-447f-ad01-0d97afe0fd34 /home ext4 rw,noatime,data=ordered 0 2
    # /dev/sda7 LABEL=fs_swap
    UUID=7301227c-e9f3-41b8-9d0f-4cf3c159491c none swap defaults 0 0
    # /dev/sda3 LABEL=fs_win
    UUID=12B639D1B639B5D7 /fs_win ntfs uid=1000,gid=1000,dmask=027,fmask=137,showexec,nofail,noauto,x-systemd.automount 0 0
    # /dev/sda3 LABEL=fs_share
    UUID=D272269772268079 /fs_share ntfs uid=1000,gid=1000,dmask=027,fmask=137,showexec,noauto,nofail,x-systemd.automount 0 0
    I would greatly appreciate any help.
    Last edited by richcocoa (2015-05-03 18:04:44)

    Have you moved everything from /var to /new_var (i named it for learning purpose)? You shoud copy content from /var but not on the fly but booting from arch iso cd, and than you shoud mount your / into arch-chroot environement, mount all of your mount points and than copy content from default /var to new /var. The copying should be done with this
    cp -rax
    and you can add -v switch to verbose output. I have my own /var moved the same way.
    The simples way is:
    -boot the arch iso cd
    -mount all of your mount point (i created here in this step /new_var to move /var to a new place, and this /new_var i put in /etc/fstab as /var later)
    -copy /var to /new_var with -rax or -vrax (recursive, archive, this filesystem or verbose, recursive, archive, this filesystem switches)
    -umount all of it
    -reboot.
    Last edited by firekage (2015-05-02 07:49:20)

  • HELP!!!! fone won't proceed after start up page

    hope u can help me. my bb won't proceed after the startup page. its just white w/ the blackberry logo in it.. what should i do?

    Do you have a good recent backup of the data on the device? If not, I HIGHLY suggest that you try make a back first with the device only at the startup screen, start the BlackBerry Desktop Software (do you have that installed on your PC?) and IF the device connects and appears in the Desktop Software, do that backup.
    Otherwise, proceed as below:
    1) Make sure you have Blackberry Desktop Manager installed.
    http://na.blackberry.com/eng/services/desktop/
    2) On your PC, go to Start > Run and copy and paste the following line exactly (meaning with the quotation marks):
    "c:\program files\common files\research in motion\apploader\loader.exe" /nojvm
    3) The Application Loader Wizard will appear -- click "Next."
    4) In the "Connection:" drop-down menu, you should see "USB-PIN: UNKNOWN". Click the "Next" button.
    5) You should then see a list of applications ready to be installed for your Blackberry. Hit Next and Finish and you are well on your way to getting your Blackberry back to life. Just don't disconnect anything and let the lengthy process finish completely.
    NOTE: If you do not see a list of applications mentioned in step 5 and instead see the message "The Blackberry Desktop Software does not have Blackberry Device Software for the device that you have connected to the computer. Contact your wireless service provider or system administrator," then you must download Blackberry's Operating System for your carrier and device.
    http://www.blackberryfaq.com/index.php/BlackBerry_Operating_System_Downloads
    Just select the appropriate carrier and network type, select your Blackberry model from the list and download the latest version. Install this download and follow the above steps again and you should be on the right path.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My illustrator won't open after I install

    my illustrator won't open after I install

    menya,
    I believe you may as well go straight to 6) on the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Pages won't open after I downloaded some of your updates. HELP

    Pages won't open after I downloaded some Apple Updates

    First, we are all just users like yourself so it's not "your" updates. Which updates have you applied & in what order?
    Quite a few users have had problems. From what I've read of those who have had success, this is what I suggest. It all depends on how you obtained Pages in the first place.
    If you bought Pages from the Mac App Store:
    Delete the Pages.app from your Applications folder. You will need to enter your password to do so.
    Launch Mac App Store  & click on Purchases. You should now see an INSTALL button. Click that, enter your password, if necessary, & you should now have the latest version.
    If you installed Pages from a retail box or purchased a license from the downloaded trial:
    First, you must make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. All three applications must be in the iWork '09 folder in Applications. That iWork folder must be named iWork '09. If it doesn't have the '09 Software Update won't find them & the updaters won't work.
    Now, choose Software Update from the Apple menu, from System Preferences or launch the Mac App Store & click Updates. You should get a window similar to this screenshot. Now click the Update button next to iWork 9.2.
    Alternatively, you can download the standalone update here. http://support.apple.com/kb/DL1563

  • IPhoto won't open after reinstalling

    iPhoto won't open after installing "bundled software only" from the Leopard cd. The thing is that I already had everything installed , I installed the bundled software thinking that it would install the bootcamp in my mac (I know , I'm stupid...It is because I never had a mac..
    What shoud I do?
    PS: other program are not working either , iWork and Garage Band.

    Welcome to the Apple Discussions.
    Start with the troubleshooting basics:
    1. Repair Permissions using Disk Utility
    2. Delete the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. You'll need to reset your User options afterwards.
    3. Create a new account (systempreferences -> accounts) and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
    Regards
    TD

  • My Robohelp html 8 project won't open after one warning and error message

    I'm currently using Robohelp HTML 8 and when I open my project  I first get the following message:
    After I click OK, I get this error message:
    The project won't open after that. When I look ate my files they seem to be intact even though the message says the folder is missing from
    Your help is greatly appreciated.
    Thank you,
    Joy

    Hi Joy
    Unless I'm mistaken, K would be a network drive, no?
    Unfortunately RoboHelp is only one of a host of applications that doesn't fare well if you try to make edits to a project while it resides on a network drive.
    Try copying the project to your local C drive. Perhaps create a folder named Projects and copy your project to a folder named Primo Intranet inside that folder so it looks like this:
    C:\Projects\Primo Intranet
    Once you do this, try opening your project again and you will likely have better luck.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • HI I have a problem with my Firefox, recently my fire fox won't start after I click on its Icon

    HI I have a problem with my Firefox, recently my fire fox won't start after I click on its Icon, when I see the process in task manager Firefox is there but after a second it will end processing automatically, I have tried ff7 and ff6 and have the same problem, even re installing the Firefox doesn't fix the problem, any one know the reason? I'm using a win7 64bit, and bitdefender internet security

    Hi All,
    This is not a virus . I used this website & I found it very useful & you can remove it through the following steps.ar.hao123.com 1- Then right-clicking on the icon Mozilla Firefox on the desktop, then choose "Properties", as shown in the picture: 2- Select Tab "shortcut", and then delete the text after. Exe in "target" as shown in the following picture, then press "Ok" 3- Open Firefox, and then choose "options" from the list of "tools" 4- Select the tab "general", and in the list "when Firefox starts" then select "show my homepage" and in the box "homepage" then enter any other link and then press "OK"
    you can visit [http://ar.hao123.com/report/ar-feedback.html Hao123] hao123
    ar.hao123.com

  • App updates won't clear after downloading on iPhone 4s ios7

    After updating a number of apps recently I have this ongoing list continuing in the App Update after successfully downloading. They all show 'open'. But the apps won't clear after reboot.

    Yes.
    They fall off the bottom after 2 weeks.

  • 23" momitor won't wake after sleep after installing Radeon AGP 128 dual dvi

    hello,
    My monitor won't wake after sleep mode. This is new after installing the radeon 128mb dual dvi card. I assumed it should be "ready to go" because I bought it at Tekserve, which sells and fixes Macs.
    And if I have my 17" acer display connected the desktop, upon wake-up, partially swithches to the 17" -minus the tool bar. And without the tool bar I cannot access the OS or preferences. I have to restart.
    Is there a driver to solve this dilemma? I can keep the computer on without sleep and turn off the monitors but that seems to be a poor solution.
    G5 dual processor circa 2005 Mac OS X (10.4.11) 6.5 gigs of ram

    How much free space on the startup disk?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you have a minimum of 15% free disk space.
    Check for Login Items 
    Open System Preferences/Accounts then select the Login Items tab. Delete any files or apps you have listed there.
    And go to /Library/Startup Items. Move any files in the Startup Items folder to the Trash
    If there's enough disk space and login items aren't an issue, launch Disk Utility. The startup disk may need repairing.
    Select MacintoshHD in the panel on the left then select the First Aid tab.
    Select: Verify Disk  (not Verify Disk Permissions).
    If the disk needs repairing >
    Using Disk Utility to verify or repair disks

  • ITunes won't open after OS update to Yosmite

    ITunes won't open after OS update, ITunes has been updated, it won't open or bounce. It will not allow me to move it to trash or reinstall it. I have already updated to OS X Yosmite two times as directed by apple, I have rebooted in safe made as well as Command/Option/P/R before start up. I have opened console/system log to see if there is anything going on but when I click on Itunes nothing happens, not even so much as half a line of script. I'm stumped. If I wanted someone to tell me to turn it off and on again I'd just watch IT Crowd. please help

    Thank you for using the Apple Support Communities
    If you head into your applications folder and locate iTunes. Right click iTunes and show package contents. In there there will be a contents folder --> MacOS --> double click on the iTunes terminal icon. This should force iTunes to open via a terminal window and at the very least it will tell you what it is getting stuck on.

  • Ipod classic won't mount after updating to itunes 11.0.2

    ipod classic won't mount after updating to itunes 11.0.2.
    I updated to itunes 11.0.2 today, after delaying it for a looong time (I have it @ work and don't like the new layout).
    Since then, none of my ipods will mount/show up/update. I've tried all USB ports, 3 ipods, 3 cords. Wondering if you know of any issues. I've restarted the mac about 15-20 times today since as soon as I hook up an ipod, itunes immediately spins the beach ball and won't let me click out of it.
    I've restarted the ipods 10+ times each.
    All of the ipods DO show up on my desktop though. Just not in itunes anywhere with 11.0.2.
    One more thing: It's not the cables or the ipods: they both mount fine when connected to my laptop (running old *** 10.4.11 and itunes 9.)
    Machine is a Mac Pro running 10.6.8.

    Finding this Post took some time but I thought it was me talking when I read it. I was having the exact same issue. I have a G3 I've been upgrading like mad, including a Sonnet G4-500 CPU a Maxtor 60gb & 80gb HDs 1gb of RAM a new LaCie Firewire800 PCI card Graphics card etc. the latest was installing Panther 10.3.9 on the new 80gb HD and also swapping out the old CD-ROM and replacing with the (Apple standard) Pioneer DVD-RW DVR-110D combo drive in it's place. got everything up and booted and poof! no burning. Toast worked read/write no problem. iTunes could read and import no problem, but wouldn't burn a CD.
    Downloaded "PatchBurn 3.1.3" installed, re-booted and all is OK in burner land again :>)
    I wanted to just post my additional thanks to the lead to Patchburner, and I'm going to donate to the cause. It's worth a $20 donation just for my joy of not throwing this computer out the window!!

Maybe you are looking for

  • Performance issues with Forms 10G 10.1.2.3.0

    Hi, we are on the way to change our application server back to a smaller machine. At the moment we run the AS on a XEON Quadcore machine running at ~2 GHz with 4 GB memory, let's say AS-Quad. This is the case because we needed an intermediate platfor

  • IPhone Update Software Failure

    Hi Folks, I am currently running iOS 4.3 on my iPhone 4. iOS 4.3.1 is available so I tried to update it, however once the 666Mb file has downloaded and iTunes starts to 'process' the file, iTunes displays an error advising my network connection has t

  • Safari 4 tabs do not display unread counts for GMail and Google Reader

    To reproduce this, do the following: 1. Create a bookmark for either GMail or Google Reader 2. Click on the bookmark under Safari to load either site (make sure it has at least on unread item) The text in the tab title will not display the unread cou

  • SQL Loader : Trim and Decode functions help please

    Hi, I have to load data from a flat file, for some columns i need to use TRIM and DECODE functions.It is a pipe delimited file. I get syntax errors (one is below) same error listed for TRIM. SQL*Loader-350: Syntax error at line xx. Expecting "," or "

  • Parse String in OBIEE Answers.

    Please can someone help me to know how to parse a string in obiee answers: Eg: 'Administrators;XMLP_ADMIN;319'. I can do this very easy in Java but not sure how to do it in OBIEE. Appreciate your help Regards.