Java call terminated by uncaught Java exception: java.lang.NullPointerExcep

i have written this program of adding file items using wwsbr_api.add_item but,
1 declare
2 l_new_item_master_id number;
3 l_caid number := 53;
4 l_folder_id number := 50279;
5 begin
6 select c.id, f.id
7 into l_caid, l_folder_id
8 from portal.wwsbr_all_content_areas c,
9 portal.wwsbr_all_folders f
10 where c.id = f.caid and c.name = 'S_T_PAGE'
11 and f.name = 'S_PAGE';
12 --portal.wwctx_api_private.set_context('PORTAL');
13 l_new_item_master_id := portal.wwsbr_api.add_item(
14 p_caid => l_caid,
15 p_folder_id => l_folder_id,
16 p_display_name => 'simple file item',
17 p_type_id => portal.wwsbr_api.ITEM_TYPE_FILE,
18 p_type_caid => portal.wwsbr_api.SHARED_OBJECTS,
19 p_region_id => 4571,
20 p_file_filename => 'D:\ora\training\html\frame.html'
21 );
22 -- process cache invalidation messages
23 portal. wwpro_api_invalidation.execute_cache_invalidation;
24* end;
SQL> /
this program is showing the following exception. kindly give the solution urgently..........
declare
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
ORA-06512: at "PORTAL.WWSBR_API", line 37
ORA-06512: at "PORTAL.WWSBR_API", line 610
ORA-06512: at line 13

can any one of u please give me the reply to the above error,
urgently.............

Similar Messages

  • "ORA-29532: Java call terminated by uncaught Java exception

    Dear Oracle:
    I am trying to establish an HTTPS connection from a Java stored
    procedure that is wrapped in a PL/SQL procedure and loaded into a
    Package. We are running on Oracle 8.1.7.
    My Java code compiles and runs fine when run stand-alone outside
    Oracle; I can establish the connection to a secure server and talk to
    the server. However when I load this Java class (using the loadjava
    utility) this class can no longer run and I get a the following
    exception:
    "ORA-29532: Java call terminated by uncaught Java exception:
    javax.net.ssl.SSLException: SSL handshake failed:
    X509CertChainIncompleteErr"
    I have tried loading the JSSE from Sun and I still get the same error.
    Searching in the Discussing Forums I found the following link (which
    describes a procedure that logs into the UPS secure server site and
    grabs some XML) http://osi.oracle.com/~mbpierma/SSL_Java_DB.html .
    This code works ok if we try to connect to UPS server. However this
    code doesn't work if we try to log in to a different server (such as
    ???). If I modify this code slightly and try to log to any other
    sever server I get the same error as the one above. Investigation
    lead us to understand that the certificate at the UPS web site is a
    self-signed certificate -- not one generated by a major 'recognized'
    authority such as Verisign or Thawte.
    Further research pointed me to the following URL
    http://www.znow.com/sales/oracle/network.816/a76932/appf_ora.htm#619367
    This URL has the documentation for JAVA SSL for 8.1.6 which I figure
    I could read and try to make it work in 8.1.7.
    I looked at your Secure Hello World example, however the code is
    missing the most critical parts of the whole example, it does not
    specify where the certificate or any of the security settings come
    from (see the attached JavaCertExample.txt file).
    So, my questions are the following:
    1) What should I do to avoid the error mentioned above?
    2) Do you have a sample piece of code that describes how to make a
    HTTPS connection using a Java stored procedure?
    3) Can I make the HTTPS connection using a URL class and not using
    sockets directly?
    4) Do I need to load the JSEE provided by Sun?
    5) Will the solution be different for Oracle 9i?
    // SecureHelloClient.java
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.net.ssl.*;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import oracle.security.ssl.OracleSSLSocketFactory;
    import oracle.security.ssl.OracleSSLProtocolVersion;
    import oracle.security.ssl.OracleSSLSession;
    public class SecureHelloClient
    public static void main(String argv[])
    String hostName = "localhost";
    if(argv.length != 0)
    String hostName = argv[0];
    // Set the SSLSocketFactoryImpl class as follows:
    java.util.Properties prop = System.getProperties();
    prop.put("SSLSocketFactoryImplClass",
    "oracle.security.ssl.OracleSSLSocketFactoryImpl");
    try
    // Get the default socket factory
    OracleSSLSocketFactory sSocFactory
    = (OracleSSLSocketFactory)SSLSocketFactory.getDefault();
    sSocFactory.setSSLProtocolVersion(OracleSSLProtocolVersion.SSL_Version_3_0);
    OracleSSLCredential sslCredObj = new OracleSSLCredential();
    // Where did these values come from? caCert, userCert, trustedCert,
    // Set the certificate chain and private key if the
    // server requires client authentication
    sslCredObj.addCertChain(caCert)
    sslCredObj.addCertchain(userCert)
    sslCredObj.setPrivateKey(userPvtKey, userPassword)
    // Populate credential object
    sslCredObj.addTrustedCert(trustedCert);
    sSocFactory.setSSLCredentials(sslCredObj);
    // Create the socket using factory
    SSLSocket jsslSoc =
    (SSLSocket)sSocFactory.createSocket(hostName, 8443);
    String [] ciphers = jsslSoc.getSupportedCipherSuites() ;
    // Select the ciphers you want and put them.
    // Here we will put all availabel ciphers
    jsslSoc.setEnabledCipherSuites(ciphers);
    // We are creating socket in client mode
    jsslSoc.setUseClientMode(true);
    // Do SSL handshake
    jsslSoc.startHandshake();
    // Print negotiated cipher
    System.out.println("Negotiated Cipher Suite: "
    +jsslSoc.getSession().getCipherSuite());
    System.out.println("");
    X509Certificate[] peerCerts
    = ((javax.net.ssl.SSLSocket)jsslSoc).getSession().getPeerCertificateChain();
    if (peerCerts != null)
    System.out.println("Printing server information:");
    for(int i =0; i ? peerCerts.length; i++)
    System.out.println("Peer Certificate ["+i+"] Information:");
    System.out.println("- Subject: " + peerCerts.getSubjectDN().getName());
    System.out.println("- Issuer: " + peerCerts[i].getIssuerDN().getName());
    System.out.println("- Version: " + peerCerts[i].getVersion());
    System.out.println("- Start Time: " + peerCerts[i].getNotBefore().toString());
    System.out.println("- End Time: " + peerCerts[i].getNotAfter().toString());
    System.out.println("- Signature Algorithm: " + peerCerts[i].getSigAlgName());
    System.out.println("- Serial Number: " + peerCerts[i].getSerialNumber());
    else
    System.out.println("Failed to get peer certificates");
    // Now do data exchange with client
    OutputStream out = jsslSoc.getOutputStream();
    InputStream in = jsslSoc.getInputStream();
    String inputLine, outputLine;
    byte [] msg = new byte[1024];
    outputLine = "HELLO";
    out.write(outputLine.getBytes());
    int readLen = in.read(msg, 0, msg.length);
    if(readLen > 0)
    inputLine = new String(msg, 0, readLen);
    System.out.println("");
    System.out.println("Server Message:");
    System.out.println(inputLine );
    else
    System.out.println("Can't read data from client");
    // Close all sockets and streams
    out.close();
    in.close();
    jsslSoc.close();
    catch(SSLException e)
    System.out.println("SSL exception caught:");
    e.printStackTrace();
    catch(IOException e)
    System.out.println("IO exception caught:");
    e.printStackTrace();
    catch(Exception e)
    System.out.println("Exception caught:");
    e.printStackTrace();

    Hi,
    I have the same problem.
    Is some ORACLE guru that can help us ?
    We need to communicate with some servlet
    via POST method of https (SSL3)
    and with using private certificate on the client site.
    We need furthermore allow using of some proxy.
    Client site is realized as set of stored procedures within ORACLE 8.1.7
    In this time I am able to communicate with server without SSL and certificate
    using package utl_tcp
    (but with this solution without certificate is our customer not satisfied -:))
    ORACLE help us please !
    Pavel Pospisil
    [email protected]

  • Oracle BI 11.1.1.7.1: Calling BI webservices from Plsql Procedure: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError

    Hi,
         I have a requirement of calling BI webservices from Plsql stored procedure. I generated all my wsdl java classes and loaded them into the database. However, when I tried to call one of my java class using stored procedure, it is giving me"ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError".
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.
    But all my dependency classes are present in database as java class objects and are valid. Can some one help me out of this?

    Stiphane,
    You can look in USER_ERRORS to see if there's anything more specific reported by the compiler. But, it could also be the case that everything's OK (oddly enough). I loaded the JavaMail API in an 8.1.6 database and also got bytecode verifier errors, but it ran fine. Here are the errors I got when loading Sun's activation.jar, which ended up not being a problem:
    ORA-29552: verification warning: at offset 12 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):12 by a throw at offset 18 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):18 by a throw at offset 30 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):30 by a throw
    Hope this helps,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • Error: ORA-29532: Java call terminated by uncaught Java exception:

    Anyone have this similar problem of
    ORA-29532: Java call terminated by uncaught Java exception:
    javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request:
    deserialization error: XML reader error: unexpected character content:
    "A"
    The service is running fine in a browser and returns the date. When I run it using the PL/SQL it has the error mentioned above.
    I am running the following:
    CREATE OR REPLACE FUNCTION GetDate_wb( p_dummy IN VARCHAR2 )
    RETURN DATE
    AS
    l_service sys.UTL_DBWS.service;
    l_call sys.UTL_DBWS.call;
    l_result ANYDATA;
    l_wsdl_url VARCHAR2(1024);
    l_service_name VARCHAR2(200);
    l_operation_name VARCHAR2(200);
    l_input_params sys.UTL_DBWS.anydata_list;
    l_port sys.UTL_DBWS.qname := 8988;
    BEGIN
    l_wsdl_url := 'http://org-lblakisa1:8988/BPEL_OD-LoginWS-context-root/getDate1SoapHttpPort?WSDL';
    l_service_name := 'getDate1';
    l_operation_name := 'getDate';
    l_service := sys.UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_name);
    l_call := sys.UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => NULL,
    operation_name => l_operation_name);
    l_input_params(1) := ANYDATA.ConvertVarchar2(p_dummy);
    l_result := sys.UTL_DBWS.invoke (
    call_handle => l_call,
    input_params => l_input_params);
    sys.UTL_DBWS.release_call (call_handle => l_call);
    sys.UTL_DBWS.release_service (service_handle => l_service);
    RETURN ANYDATA.AccessDate(l_result);
    END;
    /

    Problem is resolved... We had a version issue in that 10.1.3 web service is not compatible. 10.1.2 worked.

  • Blob writing error      ORA-29532 Java call terminated Unsupported feature

    Hi there,
    I've got the following Java code which tries to write to a BLOB file. It's a version of some code to extract files from a zip archive, but with everything but the erroring call stripped out:
    create or replace and compile java source named zipunpack as
    package org.bristol.cyps;
    import oracle.sql.BLOB;
    import java.util.zip.*;
    public class ZipUnpack
    public static int unpack(BLOB ziparray[], String filename, BLOB filearray[])
    throws java.sql.SQLException, java.io.IOException
    BLOB file = filearray[0];
    java.io.OutputStream fileout = file.setBinaryStream(0L);
    return 1;
    This is published as follows:
    create or replace function zip_unpack (
    pio_zip in out nocopy blob
    , pi_filename in varchar2
    , pio_file in out nocopy blob
    ) return number as language java
    name 'org.bristol.cyps.ZipUnpack.unpack(oracle.sql.BLOB[], java.lang.String, oracle.sql.BLOB[]) return java.lang.Integer';
    And called like so:
    procedure send_zip_file (
    pi_zip in out nocopy blob
    , pi_filename in varchar2
    ) is
    file blob;
    completed integer;
    begin
    dbms_lob.createtemporary (
    lob_loc => file
    , cache => false
    , dur => dbms_lob.call
    completed := zip_unpack(pi_zip, pi_filename, file);
    if completed > 0 then
    bare_html.print_blob(file);
    else
    htp.print('File "' || pi_filename || '" not found');
    end if;
    end;
    This, as far as I can tell from the documentation, should work. Unfortunately, though, it generates an error:
    ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Unsupported feature
    The particular line which is causing the error is the "java.io.OutputStream fileout = file.setBinaryStream(0L);" If I remove this, it runs fine. I'm flumoxed as to why this might be causing an "Unsupported feature" exception when it's documented as being supported. Can anyone shed any light?
    Cheers,
    Robert
    Message was edited for more clarity

    Hi,
    It looks like you are not using 10g JDBC. java.sql.Blob.setBinaryStream is a JDBC 3.0 method. In 9iR2 we added support for jdk14 and added stub methods for JDBC 3.0 behavior without fully implementing them. 10gR1 was the first version where the JDBC3.0 methods were fully supported.
    The workaround is to use the Oracle proprietary method oracle.sql.BLOB.getBinaryOutputStream
    Kuassi, http://db360.blogspot.com

  • Receiving error: Terminating app due to uncaught exception 'MFSQLiteException', reason: 'inserting mailbox url' abort() called terminating with uncaught exception of type NSException

    Today, I received this error when I re-added two email accounts that are tied in to my domain. The error is: "Terminating app due to uncaught exception 'MFSQLiteException', reason: 'inserting mailbox url' abort() called terminating with uncaught exception of type NSException"
    Two days ago, at my wits end with email issues, I googled how to Reset Mail.app and followed the recommendation found here: https://discussions.apple.com/thread/2266399?tstart=0
    That's. all. I've. done.
    What should I do correct the error I'm receiving when adding my email accounts?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Error: uncaught servlet exception

    Hi All,
    I was wondering if anyone had any idea as to why I am getting the below error when attempting to access a (or any!) servlet via HTTP/URL. (An example of such a method is in Oracle9i XML Database Developer's Guide - Chapter 20: Writing Oracle XML DB Applications in Java)
    In the browser I get an 'internal 500 error' and checking the DB trace file, this is the message displayed:
    ========================================
    *** 2003-10-16 11:52:44.000
    *** SESSION ID:(17.15311) 2003-10-16 11:52:44.000
    XDB: Uncaught servlet exception (java.lang.ClassCastException)
    java.lang.ClassCastException
    at oracle.xdb.servlet.XDBServletContainer.initServlet(XDBServletContainer.java:67)
    at oracle.xdb.servlet.XDBServletContainer.handleRequest(XDBServletContainer.java:87)
    ========================================
    I have searched EVERYWHERE for info on this error but have come up with nothing.
    Here is an example of a servlet I've been trying to access:
    package oracle.otnsamples;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    public class testserv extends HttpServlet
    protected void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException
    ServletOutputStream sos = resp.getOutputStream();
    sos.println("Testing servlet invocation");
    sos.close();
    Any help would be greatly appreciated as I am desperate!!
    Thanks in advance,
    Ari

    Ari
    There's a bug with this at the moment. There may be a workaround, I'm checking with Development. In the mean time can you open an iTar with Oracle Support to we can ensure that you are notified when this gets fixed. What platform are you running the database on. PLease post the itar number here once it's open

  • 8350i uncaught exception java.lang.NullPointerException after hard reset

    basic info:
    8350i
    v4.6.1.204 (Platform 3.0.0.73)
    Desktop Manager 4.7
    everything is good except that i've been using two batteries, one in the phone and one in a charger. when the phone's battery is almost drained i swap it with the charged one which of course causes a hard reset.
    this procedure was working well for at least a week or two until last month when i swapped batteries - after the hard reset i got
    uncaught exception: java.lang.NullPointerException
    i could make calls but all other software seemed corrupted... virtually nothing else worked... icons missing etc.
    tried all sorts of solutions but the only thing that fixed it was a full on device software erase/reload, then a data restore from previous backup. at the time i figured it was just a random thing and was glad to learn how to do a complete software reload.
    then yesterday it happened again (again, immediately at the end of the security check after hard reset). now i'm afraid to swap batteries because it would appear that every time i hard reset there is a 10% (my guess) chance of software corruption and a complete reload takes a significant amount of time.
    has anybody else noticed this? does anybody have a solution?
    can i swap batteries without a hard reset; i.e. swap while plugged into power? i haven't tried this yet for fear of causing my BB harm.
    any help is appreciated,
    john d.
    Solved!
    Go to Solution.

    Hello, John.
    Make selective backup as it is described here:
    http://supportforums.blackberry.com/rim/board/message?board.id=8100&view=by_date_ascending&message.i...
    Backup only information that you need.
    There is described the purpose of every database you can observe when you're doing the selective backup:
    http://www.blackberry.com/btsc/KB03974
    When you have done selective backup do the following.
    On your device go to: Options - Security Options - General Settings
    Open menu and select "Wipe handheld"

  • BB not communicating with computer & an"Uncaught exception: java.lang.NullPointerException" issue

    I am stuck between a rock & a hard place.  I would really like some advice that will prevent me from losing all of my contacts data.
    Firstly, I have not backed up any of my data from my BB!  I have now very quickly tried to rectify this today, uploading the software and downing loading all updates.
    I have some corruption or other on the BB that has caused me to lose 4 of my 5 email accounts and also unable to access the unread emails in the remaining account or text/call out.
    One of the messages that I get on the BB is Uncaught exception: java.lang.NullPointerException (the other is longer and I cannot remember what it said, but it was similar).
    I have read that I need to backup, wipe then restore to get rid of the corruption.  My problem is that I cannot back up therefore if I go ahead and clean the BB then I will lose all of my data?
    Is there any way I can transfer the data to my SIM card - it isn't a lot at all, maybe 100 contacts............
    Looking forward to a solution, have spent all day mucking around with troublesome technology - when I had so many more important things to do......
    Thanks in anticipation.

    Hi and Welcome to the Forums!
    Reloading your OS is best done via this procedure:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    You can use any OS...you are not limited to your carriers. If you do use an OS from other than your home carrier, then insert, between steps 1 and 2 in the above, the deletion, on your PC, of a file named VENDOR.XML.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • MediaPlayer crashes with Uncaught Exception: java.lang.Errror: 137

    Hi,
    I have a media player running on JavaFX 1.2 Mobile using Netbeans 6.7.1 with DefaultFxPhone emulator using JDK 1.6 Update 14.
    When starting or stopping the media player (ie. calling mediaplayer.play() or mediaplayer.pause()) using a onKeyPressed or onMousePressed event it causes this error. If i call mediaplayer.play() anywhere else in my code the media plays fine.
    the complete error is:
    Uncaught exception: java.lang.Error: 137
    - net.demo.javafx.mobile.defaultmediaplayermobile.DefaultMediaControlComponentMobile$2.lambda(), bci=190
    - net.demo.javafx.mobile.defaultmediaplayermobile.DefaultMediaControlComponentMobile$2.invoke(), bci=2
    - net.demo.javafx.mobile.defaultmediaplayermobile.DefaultMediaControlComponentMobile$2.invoke(), bci=5
    - javafx.scene.Node$NodeInputListener.mouseClicked(), bci=114
    - com.sun.fxme.input.ReleaseEvent.dispatch(), bci=131
    - com.sun.fxme.input.MouseEventDispatcher.run(), bci=71
    - com.sun.fxme.runtime.RunnableQueue$Worker.run(), bci=222
    The event listener contains code like:
    onKeyPressed: function (e:KeyEvent){
    mediaPlayer.play();
    Also the exact same code works fine when run as a desktop application in netbeans (as opposed to mobile).
    Any help would be greatly appreciated,
    Dave.

    Thanks for the suggestion, but it doesn't quite solve the problem. It looks to me in the media browser tutorial the user has an icon on the screen to re-orientate it. I'd hoped the system could detect the screen orientation changing automatically - hence the need for the bind. I guess that the fact that the medial browser tutorial doesn't do this suggests its not currently supported functionality.

  • Cannot pair Bluetooth with 2008 BMW - 'Uncaught exception: java.lang.​Classcast Exception' message

    I have been trying to pair my 8100 with my new 2008 model BMW 135i built in car kit using Bluetooth set up. The phone finds the car kit and the two appear to pair (confirmation numbers entered etc) but then the Smartphone screen freezes and the following error message appears 'Uncaught exception: java.lang.Classcast Exception'. The phone cannot then receive or make calls (won't even turn off until battery removed). Have been through the whole process several times. The car will pair with other phones and my 8100 will pair OK with other devices. Can anyone help?
    Thanks, Paul.

    I have got aorund the problem by disabling address book transfer. I can now receive calls and make outgoing calls by either dialling on the blackberry itself or using the BMW idrive controller. It is better than nothing and my main use anyway is for incoming calls while driving. The whole idea of the integrated system was to be able to scroll through the address book on the steering wheel buttons and view the address book entries on the satnav screen.
    I have had similar problems in the past with an integrated system in a Porsche. The Blackberry never establised bluetooth contact with that system at all.

  • Uncaught Exception: java.lang.NullPointerException

    Hi,
    My BB 8220 flip has always had battery problems. Lately the battery dies after only 8 hours in standby mode. The last time it died was two days ago, and after four hours of charging it finally turned back on - only to have the error 'Uncaught Exception: java.lang.NullPointerException' showing on the screen.  I have noticed that now the Call Log does not work for Incoming, Outgoing and Missed calls.  The SMS has also mysteriously disappeared so I am unable to send and receive texts.  My address book is still intact.  I don't have a data plan so I do not have any extra applications on the phone, simply what it came with.  I have tried to reboot (removing battery) a few times, but the error has not fixed itself.
    Any simple ways to fix this error, or is my phone beyond repair?
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    Given your description, I advise an OS reload or upgrade. From a PC, you can install any OS package to a BB via this procedure:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload", it can be used to upgrade, downgrade, or reload -- it all depends on the OS package you download and install to your PC. You can even use a different carriers OS package by simply inserting, between steps 1 and 2, the deletion, on your PC, of a file named VENDOR.XML. Be sure that you remove, from your PC, any other BB device OS packages as having more than one installed to the PC can cause conflicts with this procedure.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Uncaught exception java.lang.nullpointerexception on 9300

    Help - please can some one help. I get the above msg (uncaught exception java.lang.nullpointerexception) when I try and access my emails or txt msg. I can make & recieve calls. Have tried removing battery and resetting, also removed the email and reinstalled, but still get the same error. I havent added any new Apps or downloaded any thing on the blackberry.
    Thank you in advance for your help

    Hi and Welcome to the Community!!
    There's pretty much no diagnosing those -- they are the equivalent of the random errors in Windows for which tracing the root cause is fruitless. Basically, these are the last out in the programming code -- some event occurred for which there is no handler in the code. The fix is a code update that handles the event...but, again, knowing what the event is is pretty much impossible. So, there are a few things to try:
    Sometimes, the code simply becomes corrupt and needs to be refreshed -- just like a reboot:
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    If it won't boot up cleanly, then you may need to try Safe Mode:
    KB17877 How to start a BlackBerry smartphone in safe mode
    There might be an updated code set from the carrier -- check them via this portal:
     http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    The toughest possible cause is a badly behaving app. To find it, there are a couple of options. One is to see if you can read the log file:
    Go to the home screen. Hold down the "alt" key and type 'lglg'. (You will not see anything while you type).This will bring up the log file. Scroll down (probably many pages) untill you see a line that says 'uncaught execption'. Click on this line. The name of the app will be in the info. Alternative methods for bringing up the logs are in this KB:
    KB05349How to enable, access, and extract the event logs on a BlackBerry smartphone
    The other method is to remove apps one at a time, waiting a while in between (I usually recommend a week), until the problem ceases...thereby discovering the offending app. Still another method is to reload the BB OS cleanly, leaving some time between adding other apps onto the BB so as to be able to determine exactly which one is the cause.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Uncaught exception java.lang.ArrayIndexOutOfBoundsException in J2ME

    hi all,
    i found a strange error (uncaught exception java.lang.ArrayIndexOutOfBoundsException) every time when i tried to developed a MIDlet and servlet to retrieve data from database. can anyone tell me why this error occur? this is example of MIDlet code:
    public void checkResult() {
    HttpConnection conn = null;
    InputStream is = null;
    OutputStream os = null;
    byte[] receivedData = null;
    String userid = "123";
    try {
    String url = getAppProperty("Result.URL");
    conn = (HttpConnection)Connector.open(url);
         byte postData [] = ("userid=" + userid).getBytes();
    conn.setRequestMethod(HttpConnection.POST);
    conn.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
    conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
         conn.setRequestProperty ( "Content-Length", Integer.toString (postData.length));
    conn.setRequestProperty("Connection", "close" );
    conn.setRequestProperty("Content-length",Integer.toString(postData.length));
         os = conn.openOutputStream();
         os.write(postData);
         os.close();
         is = conn.openInputStream();
         String contentType = conn.getType();
    int len = (int)conn.getLength();
    if (len > 0)
    receivedData = new byte[len];
    int nb = is.read(receivedData);
    else
    receivedData = new byte[1024];
    int ch;
    len = 0;
    while ((ch = is.read()) != -1)
    receivedData[len++] = (byte)ch;
    response.setText(new String(receivedData,0,len));
    display.setCurrent(outputForm);
    catch (IOException e) {
    System.out.println(e.getMessage());
    e.printStackTrace();
    finally {
    try {
    if (is != null) {
    is.close();
    if (os != null) {
    os.close();
    if (conn != null) {
    conn.close();
    catch (IOException e) {
    from alice

    That would be a point where I miss bounds checking on your part:
    receivedData = new byte[1024];
    int ch;
    len = 0;
    while ((ch = is.read()) != -1)
    receivedData[len++] = (byte)ch; // what happens if more than 1024 characters come along??
    }Otherwise the exact line of error, the stack trace or some context would be helpful.

  • "uncaught exception:​java.langE​rror"

    what does "uncaught exception:java.langError" mean? I keep getting this message
    Solved!
    Go to Solution.

    You have a third party application or theme that is causing issues. I primariliy see the error on devices on boot-up, and no real issues while using the device.
    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

Maybe you are looking for

  • How to call new window and text element without changing print program

    Hi Friends,    I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new

  • Download report into a flat file format

    Hi Friends, I would like to know your thoughts on what is the best practice most of you using to download a report into a flat file(NOT csv). In my application business users want a report to be downloaded into their local desktop (just like a .csv)

  • Mountain Lion Internet only available through Chrome

    I have a 17-inch, early 2009 MacBook Pro. 2.66 GHz Intel Core 2 Duo. After installing Mountain Lion everything was working fine for a couple of days, then suddenly I could no longer access the internet through Safari. At the same time Mail stopped co

  • Error during variable selection

    Hi Expert, BW server: BI 7.0 version and SP: 15. Sap Gui is 6.4 version Patch leve 24. I am in production support. User's are getting the following error, when they try to change the variable values after executing the query. Program error in class S

  • Transport requests from dev to prod

    Hello, It's possible to transport requests from a BW developing system with HP-UX IA 64 (with itanium processor) operating system, to a production system with HP-UX 11i v1(with risc processors) operating system. We installed BW 3.0 for developing on