'Encountered error' in facebook code

I used the http://www.baskoro.web.id/facebook-connect-blackberry-HOWTO.html code in my application for the integration of facebook...

but get "Error occurred" error message can anyone solve this...

Please help me if any experience already using the code http://www.baskoro.web.id/facebook-connect-blackberry-HOWTO.html ...

Wat should be the reason to get this error...?

Why not scroll the code with the debugger, it runs and you'll see where it fails? Who will be the best way for this track.

My guess is that the exception is thrown somewhere in sendRequest. This is where the HTTP connection made (or not - it is my proposal to solve the problem). Otherwise, returns null sendRequest (perhaps because Facebook is not accept the request, which causes a JSONTokener null pointer exception.)

A problem with a code of Bellerose, it is that there is very poor error reporting. I suggest to change clauses «catch (System.exception...» ««catch (Throwable...» ', at least until you get this work. In this way, you may be able to print a stack trace. (On the BlackBerry, catch anything except Throwable eliminates the trace of the stack as a measure of effectiveness.) Another problem with its code that's report "deviceside = true" as a connection parameter. Who will fail if direct TCP is not available (and will require the correct APN settings even when it is).

Tags: BlackBerry Developers

Similar Questions

  • I tried for weeks install windows updates and get this message error (s) found: code 80070645 windows has encountered an unknown error. How can I solve this problem?

    Windows Update
    Error (s) found: code 80070645 windows has encountered an unknown error.
    I had before the shock of two antivirus this proven system restoration started but no help.
    Fix it to charge microsoft, but has not helped any.

    How can we if this problem, so I can install the updates I need?

    Hi Wyattsdaddy,

    Thanks for posting your question.

    Step 1: Check if Windows update-related services are set to automatic and started.

    Click Start, type services.msc in the start search box, right-click to services.msc, and then click Run as administrator.

    Check the above services below:
    (a) Background Intelligent Transfer Service
    (b) cryptographic service
    (c) Windows Update

    Step 2: Rename the Catroot2 folder

    To rename the Catroot2 folder, follow these steps:

    1. Click Start, type cmd in the search box and right-click on cmd.exe, and then click Run as administrator.
    2. at the command prompt, type the following commands and press ENTER after each line:

    net stop cryptsvc
    Ren %systemroot%\System32\Catroot2 oldcatroot2
    net start cryptsvc
    output

    3 remove all tmp*.cat to the following folder:

    % systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}

    If any of the files that begin with tmp exist in this folder, do not remove any other files. Files .cat in this folder are necessary for installing hotfixes and service packs.

    Important: Do not rename the folder C:\windows\system32\catroot. The Catroot2 folder is automatically recreated by Windows, but the C:\windows\system32\catroot folder is not recreated if is renamed the folder C:\windows\system32\catroot.

    Step 3: Reregister DLL files that are associated with Cryptographic Services

    To register .dll files that are associated with Cryptographic Services, follow these steps:

    1. Click Start, type cmd in the search box and right-click on cmd.exe, and then click Run as administrator.

    2. at the command prompt, type the following commands and press ENTER after each command:

    regsvr32 /u softpub.dll
    regsvr32 /u wintrust.dll
    regsvr32 /u initpki.dll
    regsvr32 /u dssenh.dll
    regsvr32 /u rsaenh.dll
    regsvr32 /u gpkcsp.dll
    regsvr32 /u sccbase.dll
    regsvr32 /u slbcsp.dll
    regsvr32 /u mssip32.dll
    regsvr32 /u cryptdlg.dll

    regsvr32 softpub.dll
    regsvr32 wintrust.dll
    regsvr32 initpki.dll
    regsvr32 dssenh.dll
    regsvr32 rsaenh.dll
    regsvr32 gpkcsp.dll
    regsvr32 sccbase.dll
    regsvr32 slbcsp.dll
    regsvr32 mssip32.dll
    regsvr32 cryptdlg.dll
    output

    Note: Click OK if prompted.

    Restart the computer.

    Step 4: Empty the software distribution folder

    1. Click Start, type services.msc in the search box, click services.msc, and then click Run as administrator.
    2. in the Services (Local) pane, click Automatic updates and then click on stop.
    3. reduce the Services (local) window.
    4. Select all the contents of the Windows distribution folder, and then delete them.

    Note: By default, the Windows distribution folder is located in the drive: \Windows\SoftwareDistribution folder. At this location, the drive is a placeholder for the drive where Windows is installed.
    5. make sure that the Windows distribution folder is empty, and then enlarge the Services (local) window.
    6. in the Services (Local) pane, click Automatic updates, and then click Start.
    7 restart the computer, and then run Windows Update again.

    Item appraised: http://support.Microsoft.com/default.aspx/KB/822798

    Step 5: Disable the security software
    Note: You can enable it later.
    Step 6: Scan Run SFC
    Please follow the steps below to the auditor of the filesystem as the first steps:

    1. Click Start and type cmd in the box start the search.
    2. in the area of results, right-click cmd.exe, and then click Run as administrator. You will be asked to type the password for an administrator account. If you are the administrator or type the administrator password, click on continue. Then click on continue.
    3. at the command prompt, type Sfc/scannow, and then press ENTER.

    Note: The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows Vista CD.
    http://support.Microsoft.com/kb/949104/

    Step 7: Components to reset Windows Update
    http://support.Microsoft.com/kb/971058

    Let us know if that helps.

    Kind regards
    Clement Kumar.

    Microsoft Answers Support Engineer. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error (s) found: Code 80244019 windows update has encountered a problem

    Original title:

    Error with windows update

    I have hp laptop pavilion g6, 8 single language 64-bit windows, when I'm trying to update my windows it shows "Error (s) found: Code 80244019 update windows encountered a problem".so what can I do to get rid of this problem? " Help, please...

    Discussion here: http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_update/windows-update-error-code-80244019/e0d348b6-3d50-4a98-857b-dce9d395222b

  • "Window could not find updates. Error (s) found: Code 80244018. Update the window has encountered a problem.

    Hello!

    I found the error in my system, "window 8.

    The message that is displayed when the search for updates,

    "Window could not find updates. Error (s) found: Code 80244018. Upgrade from window fell on a problem".

    To get help on this error, no feedback is provided by help and support section as well.

    Please help me solve this problem

    Concerning

    Generally attributed to a proxy server or a firewall.

    See the info here:

    http://answers.Microsoft.com/en-us/Office/Forum/officeversion_other-OneNote/i-cant-install-one-note-app-for-surface-RT-error/4737171e-6fce-48f6-88d1-8c44ac0e6ae0

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-windows_store/cannot-upgrade-to-Windows-81-error-0x80244018/56c64112-d374-40Cf-B1B1-8c4fd4924d69

    Discussion:

    http://social.msdn.Microsoft.com/forums/en-us/a8c813ab-5b18-482C-82c4-12f1cc57b460/what-issue-is-attributed-to-error-code-0x80244018

  • My Windows Vist shows error 8024402f update code, impossible to update windows. Help, please.

    My Windows Vist shows error 8024402f update code, impossible to update windows. Help, please.

    Hi you can try the following...

    Click on Start >
    Type in CMD > 
    Right-click on the result, and then click on run as administrator >
    Then type sfc/scannow , and then press ENTER.
    Reboot your PC and try it a few times.

    Download and install the update tool of the system for Vista (Windows Update hotfix)
    "This tool is being offered because an inconsistency was found in the maintenance shop windows which can prevent the installation of future updates and service packs software."

    Microsoft technical support suggestions:

    Configure the connection to obtain an IP address automatically

    1. Click on «Start», enter "NCPA. CPL"(without quotes) in the search bar and press"Enter. "
    2. Right-click on the network connection, and then click "Properties". If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    3. Click Select "IP Version 6 (TCP/IPv6)" and then click "Properties".
    4. Check "obtain an IP address automatically" and "Obtain DNS server address automatically".
    5. Click on 'OK '.
    6. Click Select 'Protocol Internet Version 4 (TCP/IPv4)' and then click 'properties '.
    7. Check "obtain an IP address automatically" and "Obtain DNS server address automatically".
    8. Click on 'OK '.
    9. Restart the computer.

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • An error occurred during the update error checking new Code 80072EFE

    An error occurred during the update error checking new Code 80072EFE

    error 80072EFE infected by a root

    Launch tdsskiller to find any rootkids, download and run from here

    http://support.Kaspersky.com/downloads/utils/TDSSKiller.exe

    your computer will restart automatelly and start up. Then run the updates.

  • Error (s) found: Code 800072EFE when installing an update

    Original title: KB71644 32-bit platform update

    Hey, I tried to download the update for my laptop, and whenever I did, it says: "error (s) found: Code 800072EFE.» And every time I ask for help, it has nothing to do with this code.
    So I decided to install the update myself on the internet, but I can't find anything, and when I do. That's all for the 64-bit platform. I can't use these that I am using the 32-bit platform. Could someone help me with this please?
    Thank you very much

    And I do not get updated in my Windows Update program.

    See this thread:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/87f54f1a-1175-4c63-8838-7a56b9f3f3b6 >

    05/26 / 1111:59: 14 am

  • Computer supported by rogue program who wants to buy it, can not access to programs on the Start Menu. Error: Windows Defender encountered error 0 x 80070424. Very slow performance

    Original title: I have a BIG problem!

    When I start my computer I is no longer able to enter my tab start. It is empty. When I shoot computer (search) it says that I have nothing. All files have been deleted!  A program called OnPay, Inc. (USA) check my computer using the recovery of files.  OnPay, Inc. says that it is a system utility.  It is capable of S.M.A.R.T. (so it says).  I used to have Microsoft Security Essentials, but my computer can't find it.  When I go on the Internet or in another file, a Service Manager window pops up saying that t8EXTPEx.dll is missing or still missing.  This program of OnPay, Inc. just wants me to buy their service - but won't give me their price.    Windows Security Center can't be started is another message that I get.  I also get the window that Windows Defender encountered error 0 x 80070424.  The specified server does not exist as an installed service.  Help!  My computer is very slow.  I have Internet through pdli.net (Pioneer).  My email address is: * address removed privacy e-mail. *

    I hope that I'm not a lost cause!  Thank you very much for your help!

    Jan Bornemann

    Address removed from electronic privacy. *

    Phone number removed for privacy protection *.

    Hello

    Method 1:

    I suggest to go through the steps from the link provided and check if it helps.

    Levonorgestrol error 0 x 80070424 when you use Windows Update, Microsoft Update, or Windows Firewall

    http://support.Microsoft.com/kb/968002

    I also suggest you to start the computer in safe mode with network and run a full scan using the Microsoft Safety Scanner and check.

    Method 2:

    Step 1:

    Start your computer in safe mode with networking;

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2:

    Scan the computer by visiting the link below:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: there is a risk of data loss if all the files are infected and which can be removed in the cleaning process.

    Hope this helps and keep us posted.

     

  • kb953691and all updates fail with Error 8007000 b code

    I have a compaq presario pc sr5507f, all of the updates fail with Error 8007000 b code, when I start it up, he tells me that he don't find, msvcp71.dll, it will download internet 9 error code3715, it will be not to download microsoft lifecam 3.5 error, kb9953691, help help

    Hello

    You can check this link:

    Windows Update Error 8007000 b

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Update-error-8007000b

  • When I try to extract from a CD, it begins to tear, but after about 20%, it is up to the error, but no code error

    original title: Help with Media Player

    I have problems with the Media Player.  When I try to extract from a CD, it begins to tear, but after about 20%, it is up to the error, but no code error.  Is it necessary to habve a network.  I have one and am wondering if I need or is it why extraction will not work?  I don't know where the network came, but if I need it how to remove it

    Hi Nanabarb,

    1. you have made no changes to the computer before the broadcast took place?
    2. What is the format of the files you are trying to extract?
    3. do you get an error message?
    4. the problem occurs with any particular drive?

    I suggest you to see the following links to make sure that the check-out settings correct. You don't have to be on the network.

    Open the troubleshooting Windows Media Player settings Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Extract music from a CD
    http://Windows.Microsoft.com/en-us/Windows-Vista/rip-music-from-a-CD

    Rip music: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/rip-music-frequently-asked-questions

  • Update for Windows Vista and receive error 80070490 & 643 codes; any ideas?

    Update for Windows Vista and receive error 80070490 & 643 codes; any ideas?

    80070490 = permission denied / [a problem initializing or using session variables] or item not found

    80070643 = ERROR_INSTALL_FAILURE

    http://support.Microsoft.com/kb/958044

  • Cannot access Yahoo Messenger, encounter error as Yahoo messenger does not work

    Cannot access Yahoo Messenger, encounter error as YAHOO MESSENGER NOT WORKING, CONTROL of WINDOWS.

    Cannot access Yahoo Messenger, encounter error as YAHOO MESSENGER NOT WORKING, CONTROL of WINDOWS.

    Who belongs to the instances of Yahoo Messenger
    http://www.bigblueball.com/forums/Yahoo-Messenger-support/

    http://YM.FF14.NET/forum/index.php

  • Error (s) found: Code C0000135

    Hi all

    I have windows Vista pack 2, when I try to update (Windows Live Essentials 2011 (KB2434419)

    It gives me this (error (s) found: Code C0000135)

    I went to the website to download this file (wlsetup - web.exe) updated otherwise, but when I try to run it, it gives me this meesage ([title = wlsetup - web.exe - Unable to locate component]-[body = this application has failed to start because wer.dll was not found])

    I downloaded this wer.dll file, but not the same error

    I tried to install all in a single file (wlsetup - all.exe), but the same error

    Please help and thank you all

    iemad

    Hello iemad,

    I suggest your run SFC/scannow to see if there is any corrupt system files.

    First of all, we run System File Checker to see if you have a corrupt file system.

    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: sfc/scannow

    This will check for any violation of the integrity and repair any damaged operating system files.

    Reboot your system.

    Now run the command chkdsk:
    1 disable any security software before you attempt to upgrade or do a clean install.
    2. make sure that your computer is updated (devices and applications)
    3. disconnect all external devices before installing.
    4. check your hard disk for errors:
    Click Start
    Type: CMD, according to the results, right-click CMD
    Click on "Run as Administrator"
    At the command prompt, type: chkdsk /f /r
    When you restart your system, your computer will be scanned for errors and will try to correct them.

    Please reply back and let us know if this can help.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Error with Facebook and other web pages; document. Body' is null or not an object

    Original title: error line: 19 tank: 23004 error line: 20 cha:124

    document. Body' is null or not an object line: 19 tank: 23004... object doesn't support this property or method line: 20 char: 124... I get these errors on facebook and other web pages help me please!

    Hello

    IE - Tools - Internet Options - Advanced tab - navigation on the article - check the BOTH Disable script
    boxes of debugging.

    Close and restart IE.

    ------------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ========================
    ========================

    Tips for solving problems with Internet Explorer
    http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-problems-with-Internet-Explorer

    ------------------------------------------

    Methods more troubleshooting for Facebook and other questions of the site, if needed:

    Try to add to your trusted sites in IE - Tools - Internet Options - Security - Trusted Sites.

    https://www.Facebook.com/

    http://www.Facebook.com/

    http://www.Facebook.com/login.php

    http://www.Facebook.com/Farmville

    What antivirus/antispyware/security products do you have on the machine? Be one you have
    EVER had on this machine, including those you have uninstalled (they leave leftovers behind which)
    may cause strange problems).

    If no joy there's something blocking perhaps.

    Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK

    Close and restart IE or IE with no addons

    not better?

    IE - tools - manage Addons (for sure disable SSV2 if she's here, it is no longer necessary but Java
    installs and it causes more questions - have you never update Java to go back in and turn it off again.) Search
    other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look
    right. Allowed are usually OK and "unauthorized" are not always bad. If doubt about a program
    ask about it here.

    Could not be a free - SpyBHOremover - BHO - standalone program, needs no installation, download.
    unzip and run - all are not bad, but some can cause your question (toolbars are BHO).
    http://securityxploded.com/bhoremover.php

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Also get Malwarebytes - free - use as scanner only.

    http://www.Malwarebytes.org/

    ------------------------------------------------------

    Maybe using Compatibility Mode will help you.

    Introduction of compatibility view
    http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx

    http://www.Microsoft.com/Windows/Internet-Explorer/features/easier.aspx

    Some Web sites are not displayed correctly or work correctly in Windows Internet
    Explorer 8
    http://support.Microsoft.com/kb/956197

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

Maybe you are looking for

  • Fuzzy characters on Tecra 9100 with low screen resolution

    When you use the standard Toshiba S3 for Windows XP video drivers I seem to be having problems with the display when the resolution is equal or less than 1024 x 768. Any text on the screen is blurry / weird quality.If I select a higher resolution, th

  • HP Photosmart 5524, printer all in one

    I have just bought a HP Pavilion 23 all in one touchscreen computers and have installed my printer HP which print a test document, and a page of test ok but it is not on the screen of the printer and peripheral.   How to show and make it the default

  • BlackBerry Storm Smartphones Calander

    I just got my new storm and when I went to enter the appointments in the calendar, I noticed that he was separated from 09:00 to 17:00, how to extend or modify the schedule to cover my early morning and late evening appointments?

  • Help with traffic VPN of PAT

    Hello I was wondering if you can help me on the following scenario please?I'm responsible for Site to Site (both ends using Cisco ASA5520) installation.site A has a flat 10, 10.0.0.0 address and site B has the address 10.20.90.0It's overlapping addre

  • En problemas con audio render Media encode

    Is.Cuando hago rendering of una composición of after effects cc2013 V13.5, con Adobe Media Encoder, este already loop of audio audio final al of the export, cuando el is Martin por el termino of este. Son only the unos segundos (2 o 3) what vuelve a