Extra jar fetched but not loaded ?

Hi there !
I have a very strange issue. I have planned to use JNLP to "deploy" a Java application via HTTP, but I ran into some issues I was able to reproduce even using very simple projects (e.g. a Blank desktop app).
The problem I have is that even though the JNLP file and all the resources are fetched correctly via HTTP (see Apache logs extracts below), the Java Console tells me it couldn't load a class although the jar file containing it is loaded correctly.
Here is the JNLP file (even with such a basic JNLP it fails) :
<jnlp codebase="http://lt087/dev/TestValidation/" href="launch.jnlp" spec="1.0+">
<information>
<title>ValidationApp for example purposes</title>
</information>
<update check="background"/>
<resources>
<j2se version="1.5+"/>
<jar href="TestValidation.jar" main="true"/>
<jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
</resources>
<application-desc main-class="validationapp.TestValidationMainApp" />
<security>
<all-permissions/>
</security>
</jnlp>
Here are the apache logs to confirm the files are fetched correctly :
172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/launch.jnlp HTTP/1.1" 200 677 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/TestValidation.jar HTTP/1.1" 200 119374 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/lib/swing-worker-1.1.jar HTTP/1.1" 200 13258 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/lib/appframework-1.0.3.jar HTTP/1.1" 200 272709 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
And here is the exception I'm getting (after the dialog asking me to trust the editor) :
java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClassCond(Unknown Source)
     at java.lang.ClassLoader.defineClass(Unknown Source)
     at java.security.SecureClassLoader.defineClass(Unknown Source)
     at java.net.URLClassLoader.defineClass(Unknown Source)
     at java.net.URLClassLoader.access$000(Unknown Source)
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
     at java.net.URLClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(Unknown Source)
     at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     ... 16 more
I have tried running it from a stock VM running a standard 1.6.22 JRE but I had the same issue, does anyone have an idea why it fails ?

So you are saying that JaNeLA showed no red errors at the end of the changes?
As an aside, please use the code tags for code, XML/HTML or input/output. How to do it is described on the sticky post at the top of the forum listing. Here is how the code tags make XML appear..
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
<jnlp spec="6.0+" codebase="http://lt087/dev/TestValidation/" href="launch.jnlp">
<information>
<title>ValidationApp</title>
<vendor>Example Inc</vendor>
<homepage href="http://www.example.com"/>
<description>Application de test pour validation</description>
<description kind="short">Validation App for example purposes</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check="always" policy="always" />
<resources>
<java version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
<jar href="TestValidation.jar" main="true"/>
<jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
<jar href="lib/sqljdbc4.jar"/>
</resources>
<application-desc main-class="validationApp.TestValidationApp" />
</jnlp>Ahh.. and now I see it formatted, I note you have raised the minimum Java to 1.6, yet still include the swing-worker-1.1.jar. It would seem unnecessary.
What is the output of ?..
prompt> jar -tf appframework-1.0.3.jar

Similar Messages

  • Certain songs will sync but not load?

    Certain songs in my recently added will sync to my iPhone but not load (i.e. titles are in gray, will not play when I click on them). How can I fix this? All of the songs are checked, I have tried with my iCloud on and off and it won't work either way.

    Have you tried restoring your iPod? For details on how to do that, see this article:
    Restoring iPod shuffle to factory settings
    If you are having problems with restoring the iPod, then you can try downloading the iPod Reset Utility 1.0, and basically restoring your iPod through there.
    To download it, go here:
    iPod Reset Utility for Windows - 1.0</font color</a>
    -Kylene

  • Help -- Trying to create JAR file but not working

    Hi everyone
    I have created a rather noddy Java program that consists of 4 JComboBox's and 1 JButton on a JFrame.
    When the button is clicked a text file is generate with the options that have been selected.
    There are severial files that the program uses for this:
    gcc.java
    OutToFile.java
    gccConfirm.java
    MyNewWindow.java
    main.java
    I am using Jcreator and so must use the command line to create the Jar file.
    I have never done a jar file before so I did an example with a hello world program and got it working now problem. I did the same for this program and the JAR file is generated without error. I double click on the JAR file to run the application, but nothing happens. I can see the application running in memory but nothing loads on the screen. However if I run it from the command line using Java -jar gcc.jar then everything is ok.
    can anyone help me here?
    thanks in advance

    If you run you .jar from the command line (a shell in unix speak) there
    already is a console where your java program can send it's System.out
    stuff. Right click on your .jar and select 'properties' (or similar). Note
    that your .jar is run by 'javaw'. This executable is similar to the 'java'
    executable except that it doesn't open a console for you. Change the
    'javaw' command to 'java' and voila, there's your console again.
    kind regards,
    Jos

  • Can connect to airport but not load internet page

    I can connect my PS3 and window based laptop to my airport network, as both show successful connection, but I can not load internet page on either the PS3 or the laptop. My airport network is not protected. My airport base station is about 7 years old.

    Well the symptoms now point to a number of issues that need to be eliminated and they are you need to check that you are logged onto the ISP. For always ON systems this is usually a function of the Router in which case you need to log onto the Router and check the appropriate settings for this function also release the lease on the IP address and reboot the Router. The other issue is that the Router may not have access to the ISP which may cabling problem [disconnected or accidently damaged cable] within your environment of a service problem within the ISP domain. Check with a neighbour who is subscribed to the same Exchange as you are to see if they have problems otherwise call your Service Provider they may have to perform a reset on their end of your connectivity. Good luck
    Message was edited by: adnixon

  • Jars Updated but not JNLP

    Has anyone else seen this problem? I just happened to notice it but it may have been happening for a while, I just never really checked before.
    I updated a JWS app which involved updated jar files as well as a minor change to the resources attribute of the JNLP file. The next time I launched the app (using the desktop shortcut) JWS downloaded the latest jar files but, if I look at the JNLP file in control panel, it is the old version. If I go back to the web page and launch the app from the hyperlink then everything updates correctly.
    Since I changed the JNLP file the timestamp should have changed. Is there something else JWS uses to determine if/when to update the file?
    I am using version 1.6.10 on XP

    I see the same: jnlp is not updated.
    Further, jars mentioned in a resource jnlp are not updated (probably due to jnlp not being updated).
    This worked with 1.6.0_13.
    This is the application jnlp accessed from the local filesystem:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp
      spec="6.0+"
      codebase="file:///D:/localsetup/"
      href="productionline_CURRENT_webstart.jnlp">
      <information>
        <title>title</title>
        <vendor>3Dfacto A/S</vendor>
        <description>description</description>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="always" policy="prompt-update"/>
      <resources>
        <java version="1.6+"/>
        <extension href="http://webstart:8080/virtubuild/configurator/current/ped/configurator.jnlp"/>
      </resources>
      <application-desc main-class="defacto.clientgui.Configurator">
        <argument>runbase=file:///D:/3dwork/ProductionLine_DEV/Classes/</argument>
      </application-desc>
    </jnlp>This is the component-desc jnlp mentioned in the application jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp
      spec="6.0+"
      codebase="$$codebase"
      href="$$name">
      <information>
        <title>Configurator</title>
        <vendor>3Dfacto A/S</vendor>
        <description>Latest Configurator</description>
      </information>
      <security>
        <all-permissions/>
      </security>
      <update check="always" policy="prompt-update"/>
      <resources>
        <java version="1.6+"/>
        <jar href="configurator.jar" main="true"/>
        <jar href="array6connector.jar"/>
        <jar href="ArrayRuntime6.jar"/>
        <jar href="calcscript.jar"/>
        <jar href="core.jar"/>
        <jar href="cortonajcwconnector.jar"/>
        <jar href="izmcomjni.jar"/>
        <jar href="jacozoomcortonajcw.jar"/>
        <jar href="log4j-1.2.15.jar"/>
        <jar href="tablefilter-v1.5.0.jar"/>
        <jar href="vbisclient.jar"/>
        <jar href="vbiscommon.jar"/>
      </resources>
      <resources os="Windows">
        <nativelib href="nativelib.jar"/>
      </resources>
      <component-desc/>
    </jnlp>The application-jnlp is executed from local filesystem.
    First execution with an empty cache produces these log entries on the server:
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/configurator.jnlp HTTP/1.1" 200 1058
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/configurator.jar HTTP/1.1" 200 712692
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/array6connector.jar HTTP/1.1" 200 20179
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/ArrayRuntime6.jar HTTP/1.1" 200 62792
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/calcscript.jar HTTP/1.1" 200 88210
    192.168.0.84 - - [18/Sep/2009:12:41:24 +0200] "GET /virtubuild/configurator/current/ped/core.jar HTTP/1.1" 200 1219705
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/cortonajcwconnector.jar HTTP/1.1" 200 21035
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/izmcomjni.jar HTTP/1.1" 200 586601
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/jacozoomcortonajcw.jar HTTP/1.1" 200 74308
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/log4j-1.2.15.jar HTTP/1.1" 200 415417
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/tablefilter-v1.5.0.jar HTTP/1.1" 200 116287
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/vbisclient.jar HTTP/1.1" 200 69409
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/vbiscommon.jar HTTP/1.1" 200 21404
    192.168.0.84 - - [18/Sep/2009:12:41:26 +0200] "GET /virtubuild/configurator/current/ped/nativelib.jar HTTP/1.1" 200 244187Next execution without any changes on the server produces the following.
    Note the strange order and that nativelib.jar is requested twice:
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/ArrayRuntime6.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/tablefilter-v1.5.0.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/cortonajcwconnector.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/array6connector.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/log4j-1.2.15.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/vbisclient.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/calcscript.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/jacozoomcortonajcw.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/nativelib.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/configurator.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/configurator.jnlp HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/izmcomjni.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/core.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:10 +0200] "GET /virtubuild/configurator/current/ped/vbiscommon.jar HTTP/1.1" 304 -
    192.168.0.84 - - [18/Sep/2009:12:42:12 +0200] "GET /virtubuild/configurator/current/ped/nativelib.jar HTTP/1.1" 304 -To be continued in the next message due to character limit!
    /Henrik

  • Connected to WiFi, but not loading in my house...

    Can anyone help? Not sure what to do here...
    I am able to connect onto a network (shows the small blue icon in the top left of the itouch). But when I try to use the applications the following are errors that I have been receiving.
    Safari – safari can’t open the page because it can’t find the server
    Yahooo email – yahoo account verfification failed. The imap server “imap.apple.mail.yahoo.com” is not responding. Check your network connection and that you entered the correct information in the “incoming mail server” field
    You tube – can’t connect to youtube
    Stocks – error retrieving chart
    Maps – driving directions could not be received
    Weather – update failed
    Is anyone able to help me? Thank you!!!
    HP Windows Vista
    neuroanatomist
    Posts: 4,596
    From: Boston
    Registered: May 2, 2006
    Re: Pages won't load....?
    Posted: Jun 26, 2008 7:16 AM in response to: sweetcandy53704 Helpful
    Reply Email
    I assume this is not a network you have in your house, but some other network. Problem is you are not actually connected to the internet, even though you are connected to the router. There is a proxy server, or some other authentication required. For some free hotspots (Panera, local library, etc.) you need to open Safari and go to a "common" url, e.g. google.com or cnn.com, and you'll be redirected to a page where you accept the providers terms of use, then you are online. Paid hotspots (hotels, Starbucks) also work like that - you are redirected to a page to enter payment info. If there's a proxy server needed and you don't know the server info, or if other authentication is required and you don't have it, you can't use that hotspot.
    17" CD MBP, iPodTouch Mac OS X (10.4.11)  since the ][e
    sweetcandy53704
    Posts: 6
    From: Madison, WI
    Registered: Jun 26, 2008
    Re: Pages won't load....?
    Posted: Jun 26, 2008 4:35 PM in response to: neuroanatomist Reply Email
    Actually I am having issues at my home, I have a wireless router & modem. We have 2 laptops that run wirelessly. Any other ideas for me to try? Thanks for your help!
    HP Windows Vista
    neuroanatomist
    Posts: 4,596
    From: Boston
    Registered: May 2, 2006
    Re: Pages won't load....?
    Posted: Jun 26, 2008 5:02 PM in response to: sweetcandy53704 Reply Email
    Try clicking the little arrow on the right of the network in Settings > Wi-Fi, then click Renew DHCP Lease.
    17" CD MBP, iPodTouch Mac OS X (10.4.11)  since the ][e
    CasperGemini
    Posts: 2,762
    Registered: Apr 30, 2006
    Re: Pages won't load....?
    Posted: Jun 26, 2008 5:47 PM in response to: sweetcandy53704 Reply Email
    Hello,
    Tap Settings > Wi Fi
    Click the blue circle with the white arrow in it after the name of your network
    Does your iPod's IP address begin with 169?
    If so, your iPod is not receiving a valid IP address from your router. Even though you have other devices/computers connected to your network, try power cycling your router and resetting the iPod's network settings, in this order:
    1. Turn of the router
    2. On the iPod: Settings > General > Reset > Reset Network Settings
    3. While the iPod restarts itself, turn the router back on
    4. Once the router's normal lights return, navigate to Settings > Wi Fi on the iPod and attempt to reconnect to your network
    5. Once the network indicates you are connected, see if you can use any of your applications that use the Wi Fi connection
    CG
    Black MacBook 2.16GHz / 2 GB / 160 GB HDD Mac OS X (10.4.11) 80GB Black iPod Video * Orange iPod Shuffle
    sweetcandy53704
    Posts: 6
    From: Madison, WI
    Registered: Jun 26, 2008
    Re: Pages won't load....?
    Posted: Jul 12, 2008 11:52 AM in response to: CasperGemini Reply Email
    I did as mentioned above, and I reconnected. It says that I have my wifi connection back, but still won't load pages. I went back to see what the ip address was and it is still showing 169...
    I was at my dad's house & I am able to log onto his wifi no problem, and his ip address is different. What else can i do? I would really love to get this itouch up & running. once again thank you!!
    HP Windows Vista
    margarine
    Posts: 2
    From: Ca-nah-dah
    Registered: Jul 11, 2008
    New! Re: Pages won't load....?
    Posted: Jul 12, 2008 12:09 PM in response to: sweetcandy53704 Reply Email
    hey guys
    i had the same problem all yesterday.. This is what i did:
    go to wifi
    connect to the network that wont work. then click the blue arrow that does preferences.. and then click Forget network..
    then turn off your wifi, turn it back on, and connect to the network again (you'll have to re-enter your password, if its passworded) and it should work.. this may not work for all of you but it worked for me
    Macbook Pro Mac OS X (10.5.4)

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar

  • Accounting Doc is created and it is in RSA3, but not loaded into BW side ?

    Hi all,
        One Accounting Document (of Credit Memo type) has been created with Tcode VF01 and this document exists in Extractor Checker (RSA3) and BSEG & BKPF tables and it has the corresponding Billing Document (VBELN) details in those tables. The Document with VA03 the Status for Sales Doc & Billing Doc is Cleared, but for the Accounting Doc is 'Not Cleared'. We have loaded the delta with 0FI_GL_4 Extractor in to an ODS, but this record is not coming into BW. Why it is missing ? Is it sitting somewhere and waiting for some other process, PLEASE ???
    Thanks in advance.
    Regards,
    Venkat.

    Hi Sam,
       There are no Selections in the InfoPackage.
       As you said, as default this extractor pulls records a day old. This record was created yesterday and it should be available today in RSA7, isn't it? But, it is NOT in RSA7. I thought that if it is in RSA7 then I could load the Delta again to get the records that were created yesterday. Does it require any other process to move them into RSA7, PLEASE?
    Thanks,
    Venkat.

  • Updated CCB records are extracted but not loaded into OBIU.

    This is OBIU version 2.3.2 and CCB version 2.3.1
    Records updated in CC&B are successfully added to the Change Log (CI_CHG_LOG). They are also extracted successfully by base extract program EXTACCT. However, when the data is loaded into OBIU (using OWB), the record update is not reflected into OBIU. This was tested for base object CD_ACCT.
    The OWB mapping object only creates CD_ACCT records for those accounts in the Change Log with Change Type of 'I' (or Insert). The OWB mapping object does not process those with Change Type of 'U' (or Update). How does one get this Change Type to be processed ?
    A new record (with a new effective date) should have been created that would have up-to-date values for its UDFs.
    The update procedure was able to update the End Date and Job Number of the old record correctly. However, without the creation of a new effective record, all new fact records related to the Account record will no longer have an account related to it.
    This makes the data inaccurate.
    This does not just apply to CD_ACCT, but to other base tables/entities as well. No changes have been done to the DB trigger and OWB metadata of CD_ACCT. The extract program has a user-exit that populates some of the UDFs.
    A custom user exit has been introduced to the extract program of CD_ACCT. DB trigger and OWB metadata have not been changed.
    EXPECTED BEHAVIOR
    The OWB mapping object is expected to process records with Change Type of 'U' (or Update). A new record (with a new effective date) should be created that would have up-to-date values for its UDFs.

    Hi,
    Problem becasue of missing  Industory sector setting in R/3 . This setting has to be done before filling the setuptable .For more information search the forums with BF11.
    Re: 0PUR_C01
    Re: Not getting data added to IC for 2LIS_12_VCITM
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

  • Files appended but not loaded

    Hi
    I have created a save function in my program to save new data and append it at the end of a single file. Here is the code.
    private void SaveActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SaveActionPerformed
           Vector<PointOnFret> vectorToSave = gPanel1.getFretPointsVector();
           String chordName = JOptionPane.showInputDialog("Enter chord name");
           Chord  chordToSave = new Chord();
           chordToSave.setName(chordName);
           chordToSave.setPositions(vectorToSave);
         try{
                FileOutputStream fis = new FileOutputStream(FILENAME,true);           
                ObjectOutputStream out = new ObjectOutputStream(fis);           
                out.writeObject(chordToSave);
                out.flush();
                out.close();
         catch(IOException ioException)
            JOptionPane.showMessageDialog(null, "Error opening File","Error",JOptionPane.ERROR_MESSAGE );
        }But I think the save works just fine...
    Probably the problem is in the loading of the vector that contains those records in the file.
    It loads the name of the first record of the file but does not open it...
    private String [] loadChordsVector()
            try
                FileInputStream fis = new FileInputStream(FILENAME);
                ObjectInputStream ins = new ObjectInputStream(fis);
                int records  = 0;
                boolean read = true;
                 Chord savedChord  = null;
                do
                     records++;
                     savedChord = (Chord)ins.readObject();
                     if(savedChord != null)
                         chords.add(savedChord);
                }while(savedChord == null);
                ins.close();
                System.out.println("Records "+ records);
                String [] chordNames = new String[chords.size()];
                for(int i = 0; i < chords.size(); i++)
                    Chord chord = chords.get(i);
                    chordNames[i] = chord.getName();
                return chordNames;
            catch (ClassNotFoundException ex) {
                Logger.getLogger(GFriendView.class.getName()).log(Level.SEVERE, null, ex);
                String[] dummy = {"Test"};
                return dummy;
            catch(IOException ioException)
                ioException.printStackTrace();
                JOptionPane.showMessageDialog(null, "Error opening File","Error",JOptionPane.ERROR_MESSAGE );
                String[] dummy = {"Test"};
                return dummy;
        }Can you pls tell me where do you see something wrong?
    I'm a bit confused

    I don't really understand your problem, but it seems to me your while condition is not logical.

  • Since I uploaded IOS6 I am not asked to sign into my apple ID when loading Apps. As a result the Apps are listed as 'waiting' but not loading... How can I get them to load?

    I don't seem to be able to see my account details Ono my iPad, can't sign in or out and can't load any Apps, they are. Just stuck waiting.... Which is annoying as I have a dissertation partner in Ireland who I now can't Skype as I selected upload for the upgrade to the App...

    Here is a list of things that you can try for the "waiting" downloads. These have worked for other users in the past, but YMMV. I'm not sure what account details that you want to see - but it is much more comprehensive using iTunes on your computer in order to view account details. You should be able to see the basic stuff in the Settings (iTunes & App Stores), or the App Store by tapping on your ID in the features tab and then tap View Apple ID, and enter your password.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • Connected to home wireless but not loading from web

    I've seen all the answers here, especially some excellent and thorough information from user "Linc" but nothing is working for me.
    We have Comcast internet and the wireless network 'all of  sudden' last week was very slow on my Mac mini. My wife has her Dell laptop which has experienced no difference in service over the same time. So for around 6 months, all has been well.
    My Mac mini is about two years old and I'm on OSX 10.6.8. I've not made any system os changes in the last 6 months nor have I added any software besides Sophos for virus scanning. However, as I mentioned, all has been well up until last week.
    Now, after restarting, google will come up and maybe 1 or two searches will work but then it just spins and spins. Nothing loads in either Safari, Firefox or Chrome. I tried using Firebug to see if I could get some message about the network but nope. Full strength on the signal and connecting to the actual network fine.
    First step I took was to reset the router; no difference. I also tried unplugging the router but again no difference on my Mac. Laptop still connected via wireless as usual.
    I then got rid of the /Library/Preferences/SystemConfiguration files restarted to generate new files; no difference.
    My Asus Transformer tablet can connect to the same network just fine so it's definitely something on the Mac mini.
    The last thing I tried was shutting down, unplugging the machine for 15 secs; pluggin it back in, waiting for 5 sec and turning back on. No change.
    Besides any suggestions, I'd also like thoughts as to what could cause this from a process pov. No OS changes have been made like upgrads or system components upgraded which I could see could cause something weird but what else is actually 'in the works' that could cause such a problem? It doesn't feel like "the xx file has become corrupted".... because, well... how? How do "xx files" become corrupted absent of crashes, power-outs, viruses or system upgrades?
    Thanks for insights!
    Kelly

    I uderstand that the other equipment works but they will use different software to access DNS etc, appreciate it should not make a difference but, sometimes it does.
    This is an article for flushing dns caches, it is useful to do if you have dns problems.
    http://support.apple.com/kb/ht5343
    I think I am correct that in SL the DNS resolver is different for web browsing or the terminal commands, one uses the newer mDNSresponder the other  resolver. If I am wrong someone will put me right.
    SL had a few problems with this system when first introduced, the main one seemed to the prefetch which was too high for some systems, that is why I suggested it as a possibility.
    No other ideas for now, see if anything comes to mind tomorrow.

  • [Solved] Syslinux boots but not loads completely

    Since my last update, 2 weeks ago, syslinux in my root partition doesn't completely loads. I've tried to mount the root partition and reinstall and edit again the syslinux but it didn't work. I don't know what to else to do to repair it.
    Last edited by Marvix (2014-02-02 09:34:11)

    Please provide much more detail.
    How far does it get in booting?  Do you see the syslinux menu, or does it not get that far?  Are there any error messages or output?  If so, post them.
    What do you mean you've mounted the root partition and editted "the syslinux"?  I assume you booted a live medium to do maintainance, but what did you reinstall (`pacman -S syslinux`, or `syslinux-install_update -i -a -m`?)  Did you also mount your boot partition when you were doing this maintainance?
    Also, if you can check your logs to see what you updated two weeks ago, that may help.  But if you only update every few weeks, it will likely be just about everything updated.
    Last edited by Trilby (2014-01-25 13:55:39)

  • I have one of my pages documents which is shown in the list with a loading bar but not loading, I even cannot delete it, what can I do with this?

    I have same effect on my (new) iPad and my iPhone.
    It looks like the doc is loading, but no progress at all...
    All other docs are fine.
    Any ideas?

    The people responding in this forum are just other Apple product users like you, not Apple itself.  Apple Support Communities is primarily an end-user to end-user (i.e., users like you helping other users) technical issue support feature.
    Try:
    Contact Us

  • Wireless Network Connected But Not Loading Anything

    Okay, so I'll be honest, I'm not exactly a pro when it comes to computers. I know my way around computers, but if you tell me something detailed and complicated, it takes a bit to figure it out. That being said, I'll jump right into my problem.
    A few months ago we got a wireless router and attempted to set it up. Well, that took a while to figure out and miraculously I managed to get internet from it. For the span of a few hours. After it was set up and I had internet for like three hours, it just stopped working. We kept trying to mess with it, but to no avail. So it was one of those things we just gave up messing with. Then recently we moved to our new house, and for the fun of it I was trying to mess with it again. Strangely, it shows up that I HAVE internet now, but it won't let me load a page. And I know for a fact that it's getting internet through that router for the fact that one of the sites I'm on regularly has an automatic cbox. So if someone posts in it, it automatically refreshes. So I"m on that site the other day and tried out the network, and it refreshes the cbox, but I can't move to any page without getting a page load error of some kind. It also refuses to let me log into MSN or YIM.
    So I'm wondering if anyone might know what's wrong and can possible help me fix it?

    What is the model no of the router..?
    Who is your Internet Service Provider..?
    What is the ip address you are getting from the router..?
    Try to reset the router for 45 seconds and reconfigure it once again.. 

  • OpenScript records functional tests, but not load tests on firefox

    Hi everyone
    I am recording some test with OpenScript 9.3.1.0, I have no problem recording functional tests with IE or FF, but when i try to record a load test just IE works, firefox opens the window and let me do everything normal, but it don't record anything; i'd try with FF 3.6 and 3.5, i'd run the diagnostig tool but it don't show me anything wrong. I hope someone can help me.
    Thanks
    Edited by: user8874599 on 08-jun-2012 13:45

    Hi
    When doing load testing OpenScript will change your browsers proxy to point to localhost 7777 as its the port that openscript internal proxy uses to record the navigations, can you check if when recording with FF the proxy settings is FF have changed?
    If not can you try to change them manually to point to localhost 7777 you will find the settings in Options -> Advanced -> Network -> Settings.
    If the proxy is already set, please check that there is nothing on the No proxy for: box
    Hope this helps
    Alex

Maybe you are looking for

  • VMware Fusion Performance: Bootcamp Partition or Virtual Machine?

    I'd like to run ArcGIS 9.3 in Windows XP using VMware Fusion. Can anyone comment on the virtues/drawbacks of using a bootcamp partition versus creating a VMware "Virtual Machine"? With bootcamp partition I can gradually increase the size of the parti

  • Fire Wire 800 for Hard Drive - not work

    I have a FW hub for FW 400. Recently added new Formac Hard drive. When connected with FW 400 via the hub into the back of my G5 - works ok. When I plug the FW 800 cable (that it came with) direct out of the other port on Hard Drive to the 800 port on

  • Updating softwere

    there is a problem to update softwere of my phone nokia 110.it says that, no softwere update provider.what can i do now to solve this problem.reply please.

  • TOP OF PAGE in ALV Grid Display in ECC 6.0

    Hi, I have an issue with top of page in Alv grid display in ECC 6.0. I searched  the forum for this, but couldnt fine any solution. I am using Reuse_alv_commentary_write to display the header. It's working fine in 4.7E but the same code is not workin

  • Downloads aren't working

    My email notifications say that I have tv shows to download, however, when I look under purchases or downloads nothing is there.