GetResponseCode() returns -1,what does it mean

Hi ,
The HttpURLConnection class's getResponseCode() method returns -1.
getResponseMessage() returns null.i m accessing my servlet through a proxy.i know only about 1xx to 5xx codes.i dont know what does it mean by -1.But at server side the request is properly sent and processed and i m getting 200 and ok after processing at serverside. the object is sent to client also. but it is not received by the client.
Null object is returned.I think proxy is the culprit.If anyone can help me what -1 means,it will be really greatfull to diagnoise my issue in detail and solve my problem soon.
Your help will be greatfull.
Thanks
prakash

As it says perfectly clearly, right there in the API documentation for the method:
"Returns -1 if no code can be discerned from the response (i.e., the response is not valid HTTP)."

Similar Messages

  • NI Visa interface IO returns BFFF003D in red. what does this mean?

    Greetings,
    I'm attempting to communicate with a RAW device using NI-VISA USB.  Device connects okay.  When I attempt to use Interface IO, the response is BFFF003D.  What does this mean?  Why is it in red?
    Craig

    Craig,
    The code you have specified appears to be a VISA error: Invalid buffer mask specified.  You may want to check this link for more information on this error.
    http://digital.ni.com/public.nsf/websearch/AD03F1520934D67F86256D4B001DC2CE?OpenDocument
    If you have more questions, please post some more specifics about your application.
    Little A

  • My MacBook Pro says: iDisc not mounted, what does this mean???

    I'm trying to acess my iDisc and it's not working.  Message pops up that says "iDisc not mounted", what does this mean?  I can no longer download music or movies from itunes also, because it says startup disc is full.  I've tried to delete items from my computer, still not enough room.  I don't know what to do here.  Maybe I accidentally deleted the iDisc???  Also, the Mobile Me thing isn't working either...it says "an error was returned from the server. check back later."  Guurrrrhhhh!  Somebody please help me....

    Falling Rain wrote:
    I meant 'duh' to myself....
    Most of the movies r for my son...synced to his iPad 2....can I delete them off my MBP???  Will they remain in the cloud?  Or should I just copy my entire iTunes library to an external hard drive?  Can I add more memory to this MBP?
    You need a bigger Hard Drive, not More Memory (well, you may need that too but it has nothing to do with this problem)
    Buy and fit a bigger hard drive, post back if you need help with that.

  • Rookie question: what does "delegate" mean?

    in api explanation, it is sometimes mentioned that, 'A currently delegates to B",
    like "DefaultListModel" delegates to "Vector", what does it mean exactly? Forgive me, my English is really bad.
    is it saying that wherever A was previously used, use B instead now?
    thanks

    Basically when a request is made to Object A (for example a method is called), Object A forwards the request to Object B (the delegate). Object B then does some work to handle the request.
    public class A {
      private B delegate = new B();
      public int getSize() {
        return B.size();
    }This is actually not "true" delegation, rather "forwarding" since true delegation would require A to be forwarded to B as well as the request.

  • I have a pop up window that says "Sorry the operation could not be completed because an unexpected error occured (Error code -61). What does that mean?

    I am using a portable USB storage drive connected to my laptop.  I am trying to delete a file from the USB drive but it is not working. A pop up window appears that says "Sorry the operation could not be completed because an unexpected error occured (Error code -61)". What does that mean and how do I fix it?  Thank you.

    All I can tell you is that is a write permissions error. How is this drive formatted? Check the file's permissions. You can try:
    Open the Terminal application in the Utilities folder. At the prompt enter:
    sudo rm -rf
    Leave a space after "-rf" and drag the file into the Terminal window. Press RETURN. You will be prompted to enter your admin password which will not be echoed.

  • DL of podcast stopped with error of -3259  what does that mean?

    I'm trying to down load some podcasts and (besides it being incredibly slow at the moment)the downloads are crapping out a few min into the DL and returning an error msg of "err = -3259" what does that mean?
    and how do I get my podcasts?
    -Charlie

    Eventually the problem resolved itself. I live in Asia (Thailand) and I think the Problem had something to do with all the cut cables and the lag/latency/dropped packet/disconnects that were going on around the time where all the cables were on the fritz and the internet out here was at a crawl.
    Thanks for the tips though on having what ports open, very useful thanks!

  • What does it mean when I see the file with the question mark on my screen?

    What does it mean when I see a file with a question mark on the screen?

    Means no bootable system can be found or required system files are missing or damaged. Reinstall OS X.
    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • What does it mean by scratch disk full?

    Hi
    can someone help me with my photoshop
    every time i try to save something it tells me that my Scratch disk is full.
    what does that mean and how to do solve it?

    Use Photoshop menu Edit>Preferences>Performance add additional scratch space. Then stop and restart Photoshop.  It means the disk you have Photoshop scratch space on has filled up.  Photoshop can gobble lots of scratch disk when your using PS. When you close down the space will be returned to you system.

  • What does it mean when a file's preview icon turns black?

    So, I need some help with this one. I'm stumped. I noticed some of my file preview icons turn black. What does this mean? Is the file corrupt? When I try to open the file nothing appears other than a big black image. What's going on? I'm thinking I should reinstall Mac OS X because something might be screwed up. Need advice!

    Mountain Lion Recovery
    Boot up from your computer by holding down the command+r keys.  This will take you to the recovery drive.
    Select Disk Utility & hit Return. 
    In Disk Utility select the HD on the left & click on Repair Disk (bottom right).
    Repair permissions when you reach the desktop and restart your computer.  Preview icons still black?

  • Unicode convertible, what does it mean?

    TYPES: BEGIN OF zbficheentry_list2,
    FICHENO type zbficheentry-ficheno,
    LOGISTICSCENTER type zbficheentry-logisticscenter,
    KANTARNO type zbficheentry-kantarno,
    TRDATE type zbficheentry-trdate,
    TRHOUR type zbficheentry-trhour,  line_color(4) type c,
    END OF zbficheentry_list2.
    DATA: zbficheentry_list TYPE STANDARD TABLE OF zbficheentry_list2 WITH HEADER LINE,
          wa_ficheentry TYPE zbficheentry_list2.
    The program triggers the error:
    The type of the database table and work area (or internal table)          
    "WA_FICHEENTRY" are not Unicode-convertible . . . . . . . . . .          
    What does this mean?
    Please help.
    Thanks.

    Hello,
    U have to use like this :
    DATA: zbficheentry_list TYPE STANDARD TABLE OF zbficheentry_list2 WITH HEADER LINE,
    wa_ficheentry TYPE line of zbficheentry_list2.
    <b>WHAT is UNICODE ?</b>
    About brief idea about unicode
    In the past, SAP developers used various codes to encode characters of different alphabets, for example, ASCII, EBCDI, or double-byte code pages.
    ASCII (American Standard Code for Information Interchange) encodes each character using 1 byte = 8 bit. This makes it possible to represent a maximum of 28 = 256 characters to which the combinations [00000000, 11111111] are assigned. Common code pages are, for example, ISO88591 for West European or ISO88595 for Cyrillic fonts.
    EBCDI (Extended Binary Coded Decimal Interchange) also uses 1 byte to encode each character, which again makes it possible to represent 256 characters. EBCDIC 0697/0500 is an old IBM format that is used on AS/400 machines for West European fonts, for example.
    Double-byte code pages require 1 or 2 bytes for each character. This allows you to form 216 = 65536 combinations where usually only 10,000 - 15,000 characters are used. Double-byte code pages are, for example, SJIS for Japanese and BIG5 for traditional Chinese.
    Using these character sets, you can account for each language relevant to the SAP System. However, problems occur if you want to merge texts from different incompatible character sets in a central system. Equally, exchanging data between systems with incompatible character sets can result in unprecedented situations.
    One solution to this problem is to use a code comprising all characters used on earth. This code is called Unicode (ISO/IEC 10646) and consists of at least 16 bit = 2 bytes, alternatively of 32 bit = 4 bytes per character. Although the conversion effort for the R/3 kernel and applications is considerable, the migration to Unicode provides great benefits in the long run:
    The Internet and consequently also mySAP.com are entirely based on Unicode, which thus is a basic requirement for international competitiveness.
    Unicode allows all R/3 users to install a central R/3 System that covers all business processes worldwide.
    Companies using different distributed systems frequently want to aggregate their worldwide corporate data. Without Unicode, they would be able to do this only to a limited degree.
    With Unicode, you can use multiple languages simultaneously at a single frontend computer.
    Unicode is required for cross-application data exchange without loss of data due to incompatible character sets. One way to present documents in the World Wide Web (www) is XML, for example.
    ABAP programs must be modified wherever an explicit or implicit assumption is made with regard to the internal length of a character. As a result, a new level of abstraction is reached which makes it possible to run one and the same program both in conventional and in Unicode systems. In addition, if new characters are added to the Unicode character set, SAP can decide whether to represent these characters internally using 2 or 4 bytes.
    A Unicode-enabled ABAP program (UP) is a program in which all Unicode checks are effective. Such a program returns the same results in a non-Unicode system (NUS) as in a Unicode system (US). In order to perform the relevant syntax checks, you must activate the Unicode flag in the screens of the program and class attributes.
    In a US, you can only execute programs for which the Unicode flag is set. In future, the Unicode flag must be set for all SAP programs to enable them to run on a US. If the Unicode flag is set for a program, the syntax is checked and the program executed according to the rules described in this document, regardless of whether the system is a US or an NUS. From now on, the Unicode flag must be set for all new programs and classes that are created.
    If the Unicode flag is not set, a program can only be executed in an NUS. The syntactical and semantic changes described below do not apply to such programs. However, you can use all language extensions that have been introduced in the process of the conversion to Unicode.
    As a result of the modifications and restrictions associated with the Unicode flag, programs are executed in both Unicode and non-Unicode systems with the same semantics to a large degree. In rare cases, however, differences may occur. Programs that are designed to run on both systems therefore need to be tested on both platforms.
    You can also check out these official SAP locations on the SAP Service Marketplace:
    http://service.sap.com/unicode
    http://service.sap.com/unicode@SAP
    http://service.sap.com/i18n
    Regards,
    Deepu.K

  • This appears under my hard drive icon"]]]]]]]]]..]]]]]]]]".  What does this mean?

    These brackets appear under my hard drive icon on my desk top...."]]]]]]]]..]]]]]]]]]]"   what does this mean?  Can anyone help please?

    It just mean's it the name of your hard drive.  Just click once on the hard drive to highlight it then press your return key then type Macintosh HD. 

  • What does Apple mean by "For best battery performance, leave your device connected to a power source until the restore is complete."

    I just recently returned an IPad air and exchanged it for another. I first set up this new one as a new IPad but then deleted all content and settings right away (since I wasn't getting the progress I had made in apps and games) in order to restore it from my previous IPad Air. I then checked after on how to backup via icloud and saw this line under the subtitle of how to restore from a backup, "For best battery performance, leave your device connected to a power source until the restore is complete." What does Apple mean by "for best battery performance"? Im just a bit worried of issues.
    p.s. And yes I did have it connected to the power. And the ios is the default ios for new IPad Airs.

    Welcome to the Apple Community.
    It only means you should restore whilst it is connected to a power supply, so that your battery doesn't go flat during the process.

  • I got a notice saying either "Time Capsule is failing," or "Time Capsule Disks are failing". What does this mean? And what can I do about it?

    What does it mean when one gets a message that Time Capsule or its disks are failing?
    What can be done about it, if it's a reparable situation?

    Thanks for the info.
    I will look into buying a large external hard drive as an option. But given that I can't seem to back up anyway, is there another option other buying another Time Capsule? Do any of the external hard drives have embedded intelligence that allows them to work off my other router.
    This is the log file from my TC's last attempt at backing up:
    Starting standard backup
    Attempting to mount network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Mounted network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Failed to attach to image: /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle, DIHLDiskImageAttach returned: 35
    Failed to mount disk image /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle (DIHLDiskImageAttach returned: 35)
    Mount failed... waiting 60 seconds and trying again.
    Ejected Time Machine network volume.
    Attempting to mount network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Mounted network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Failed to attach to image: /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle, DIHLDiskImageAttach returned: 35
    Failed to mount disk image /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle (DIHLDiskImageAttach returned: 35)
    Mount failed... waiting 60 seconds and trying again.
    Ejected Time Machine network volume.
    Attempting to mount network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Mounted network destination using URL: afp://Xxx@Xxx._afpovertcp._tcp.local/Xxx's%20Tim
    Failed to attach to image: /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle, DIHLDiskImageAttach returned: 35
    Failed to mount disk image /Volumes/Xxx's Tim-1/Xxx’sMacBook Pro.sparsebundle (DIHLDiskImageAttach returned: 35)
    Giving up after 3 retries.
    Backup failed with error: 31
    Ejected Time Machine network volume.
    [End]
    As you can see, not a very happy outcome. I would appreciate any additional ideas you might have about resolving this.
    Regards,

  • I am getting a message. What does it means "We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. "

    I have tried getting service support information from Apple Support Service. When entered my serial no. got this
    I am getting a message."We're sorry, but this is a serial number for a product that has been replaced. Please check your information and re-enter your serial number. "
    What does it means???

    ashishtgb wrote:
    I dont have any idea . I brought out it new from the market.!
    Well, when you purchase from a non-official source you run the risk of getting who knows what from wherever. It appears this phone was replaced under warranty at some point, but not returned to Apple for refurbishment. Thus, the SN is no longer valid for warranty & service. If you can return it and get your money back, I'd suggest you do so.

  • What does it means when you turn on the macbook and a file with a "?" mark flashes?

    What does it means when you turn on the macbook and a file with a "?" mark flashes?

    It usually means some system files are missing or corrupted. Reinstalling OS X is the fix:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

Maybe you are looking for

  • IW37N - work order printing: Pop-up window deactivation

    Hi, If the user selects 50 order operations to print in IW37N, then pop-up keeps coming repeatedly for user to enter "OK" 50 times.  How to deactivate this pop-up window? Infact, this pop-up has started appearing recently while printing any SAP docum

  • Queue of arrays without dynamic memory allocation

    Hey folks, I'm working on optimizing a timing critical VI. This VI is the producer in a producer consumer architecture. I'm trying to populate a queue from file in a manner that is as efficient as possible. My current plan of attack is: - read block

  • Is it possible to change the 'accessibility' messages of a button?

    I have buttons that control navigation in a subform.  These buttons are one instance - then addInstance as related subforms are added. I would like to be able to control the accessibility message (since we use it more as a hover/mouseover) based on t

  • Linking one PDF to another

    Hi, I have Acrobat X1 Pro and am creating a couple of Fillable forms, at the bottom of the forms I will have two buttons Save and Send.  The document itself  will also have an accept and reject option but what I would like to do is if I click on sele

  • Download Email attachment?

    - What method or functions to be included in an APP so that the App could be visible (as an option) in the email when downloading an email attachment? For example, similar to pdf reader or drop box apps, our own App can also come up when we try to do