Unexpected exception with file: java.lang.NullPointerException

Hi :)
Still a Newbee
Geting the message Unexpected exception with file: java.lang.NullPointerException
Have traced the error down with the use of System.out.println(a sequential number); but having got it down to bReader.close();, I think, I'm not understanding why. I think it has something to do with the line while (text != null){
Don't fully understand yet as a newbee, but one can only learn. Like my other error (I once spent six hours on a pair of {}!!!! we all learn) I've spent two evenings now resarching and trying to solve this, so a bit of help would be very much appreciated.
Error occurs after System.out.println(7);
Code
private void initialiseData()
String text;
int size;
try
File file = new File("needleData.txt");
FileReader fReader = new FileReader(file);
BufferedReader bReader = new BufferedReader(fReader);
text = bReader.readLine(); // Read the first line to get the number of needles stored
size = Integer.parseInt(text);
while (text != null){
String type;
double length;
double thickestDiameter;
int donationYear;
String construction;
boolean isStraight;
boolean hasEye;
boolean wasMachineMade;
boolean isExhibited;
text = bReader.readLine();
type = text;
//System.out.println("type " + type);
text = bReader.readLine();
length = Double.parseDouble(text);
//System.out.println("length " + length);
text = bReader.readLine();
thickestDiameter = Double.parseDouble(text);
//System.out.println("thickestDiameter " + thickestDiameter);
text = bReader.readLine();
donationYear = Integer.parseInt(text);
//System.out.println("donationYear " + donationYear);
text = bReader.readLine();
construction = text;
//System.out.println("construction " + construction);
text = bReader.readLine();
isStraight = text.equalsIgnoreCase("true")? true: false;
//System.out.println("isStraight " + isStraight);
text = bReader.readLine();
hasEye = text.equalsIgnoreCase("true")? true: false;
//System.out.println("hasEye " + hasEye);
text = bReader.readLine();
wasMachineMade = text.equalsIgnoreCase("true")? true: false;
//System.out.println("wasMachineMade " + wasMachineMade);
text = bReader.readLine();
isExhibited = text.equalsIgnoreCase("true")? true: false;
//System.out.println("isExhibited " + isExhibited);
int i=0;
needles = new Needle [9];
needles[i] = new Needle("type", length, thickestDiameter, donationYear, "construction",isStraight, hasEye, wasMachineMade, isExhibited);
size ++;
i ++;
System.out.println(7);
bReader.close();
System.out.println(8);
fReader.close();
System.out.println(9);
} catch(FileNotFoundException e){
System.out.println("File not found : " + e);
} catch(IOException e){
System.out.println("I/O exception reading file: "+ e);
} catch(Exception e){
System.out.println("Unexpected exception with file: " + e);
Thanks :(

Re-post (Formated) if i understand the formating correctly.
private void initialiseData()
String text;
int size;
try
File file = new File("needleData.txt");
FileReader fReader = new FileReader(file);
BufferedReader bReader = new BufferedReader(fReader);
text = bReader.readLine(); // Read the first line to get the number of needles stored
size = Integer.parseInt(text);
[while (text != null){
String type;
double length;
double thickestDiameter;
int donationYear;
String construction;
boolean isStraight;
boolean hasEye;
boolean wasMachineMade;
boolean isExhibited;
text = bReader.readLine();
type = text;
//System.out.println("type " + type);
text = bReader.readLine();
length = Double.parseDouble(text);
//System.out.println("length " + length);
text = bReader.readLine();
thickestDiameter = Double.parseDouble(text);
//System.out.println("thickestDiameter " + thickestDiameter);
text = bReader.readLine();
donationYear = Integer.parseInt(text);
//System.out.println("donationYear " + donationYear);
text = bReader.readLine();
construction = text;
//System.out.println("construction " + construction);
text = bReader.readLine();
isStraight = text.equalsIgnoreCase("true")? true: false;
//System.out.println("isStraight " + isStraight);
text = bReader.readLine();
hasEye = text.equalsIgnoreCase("true")? true: false;
//System.out.println("hasEye " + hasEye);
text = bReader.readLine();
wasMachineMade = text.equalsIgnoreCase("true")? true: false;
//System.out.println("wasMachineMade " + wasMachineMade);
text = bReader.readLine();
isExhibited = text.equalsIgnoreCase("true")? true: false;
//System.out.println("isExhibited " + isExhibited);
int i=0;
needles = new Needle [9];
needles = new Needle("type", length, thickestDiameter, donationYear, "construction",isStraight, hasEye, wasMachineMade, isExhibited);
size ++;
i ++;
System.out.println(7);
bReader.close();
System.out.println(8);
fReader.close();
System.out.println(9);
} catch(FileNotFoundException e){
System.out.println("File not found : " + e);
} catch(IOException e){
System.out.println("I/O exception reading file: "+ e);
} catch(Exception e){
System.out.println("Unexpected exception with file: " + e);

Similar Messages

  • Problem with debug java.lang.NullPointerException

    Hi All,
    i am having a very strage issue with Flash Builder 4.5.1.
    If I create a Flex Mobile Application, i am able to debug the app with no problems.
    if I create a Flex Mobile and PHP Project, and then connect to a data service, i am not able to debug the app. i am having the following error:
    An internal error occurred during: "Launching Main_App".
    java.lang.NullPointerException
    SO: Windows 7
    Flash Builder 4.5.1
    Any ideas on this?
    Thanks a lot,
    Joe

    Hi Steven,
    I turned on debugger on oracle.jheadstart.controller.strutsadf.JhsRequestProcessor.
    The exception is rised in method :
    processActionPerform
    at statement :
    ActionForward forward = super.processActionPerform(request, response, action, form, mapping);
    I hope it is helpful.
    Cezary

  • Exception during validateTree(): java.lang.NullPointerException

    what does that mean?
    ist a statement from the JBuilder7 Designer...

    thats exactly my problem
    as i said the message is from the designer and doesn't point to any line of code
    i can compile without errors and i dont have problems running my program
    but i get this message if i switch to designer view and that cant be normal...

  • Java.lang.NullPointerException ADF_FACES-60097 message ***WITH SOLUTION***

    Hi Everyone:
    We are on JDeveloper 11.1.2 & JHeadstart 11.1.2. When testing an application that had previously been written in 10g and migrated to 11g, then migrated again to 11.1.2 because our database has logical composite keys, we have found that if we manually inputted an invalid value into the inputtext box of a primary key that has an LOV on it, the following message came up.
    "java.lang.NullPointerException
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #"
    with a random number displayed. We wondered where the java.lang.NullPointerException was coming from and then on a whim, tried to see if it couldn't find the error messages that were previously found in ApplicationResources_en.properties file in 10g. So I manually copied all of the error messages found in the ApplicationResources_en.properties file in 10g, into the end of the ApplicationResources_en.properties file on 11.1.2. There were only about 100+ messages in the 11g version of the ApplicationResources_en.properties file when there were almost 3,000+ messages in the 10g version of the ApplicationResources_en.properties. I then re-ran the job, and the proper error message comes out with no java.lang.NullPointerException message when I input an invalid value into the primary key (+Artransactioncode with this TransCode does not exist).+
    Is this a known issue when converting from 10g to 11g?
    Mary
    UofW

    Hi Everyone:
               I have done some further testing.  We are using a re-usable Business Components .jar file to access our entities.  We import the .jar file into the project and create the ViewObjects and ViewLinks from that .jar file.
                It APPEARS that a test case using the HRSchema and using the Entities & Associates generates the constraint error messages, but when I use the .jar file of re-usable business components imported into the project, those constraint error messages are not created in the ApplicationResources_en.properties file.  I have created two testcases as well as the re-usable .jar file that I can send to you to show what I mean. 
                This behaviour seems to have shown up in 11.1.2 as there was no problem before this.
                 Please let me know where you'd like me to upload the testcases.
                 Thank you.
    Mary
    UofW

  • Catching java.lang.NullPointerException with cftry/cfcatch?

    I'm getting a java.lang.NullPointerException returned on an
    update function in a CFC:
    "The cause of this output exception was that:
    java.lang.NullPointerException."
    I want to find where it's generating this error so I can fix
    it. I've never really used CFTRY and CFCATCH, but figured now would
    be a good time to learn if this helped me track down the null. Can
    anyone provide an example of how to use these tags with the above
    NPE and output a message that give info on where it's faulting?
    I'm using a standard update query,
    <cfquery>
    UPDATE table
    SET columns = new values
    WHERE ID column = some ID
    </cfquery>

    That was a great tip Dan. Helped me find the line. Apparently
    a datatype "date" was given an incorrect null value. I figured the
    problem and the update works now :)
    Here's code incase someone wants to know:

  • Java.lang.NullPointerException at com.sun.mail.iap.Response.parse

    I am getting this error when I try to download a message using IMAP from exchange server
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
    This error occurs intermittantly. I placed one large mail (around 600 MB) and few normal size mails on exchange server. In few testing runs, this error occured while downloading the large mail as well as one normal mail. In one test run, all mails got downloaded successfully.
    Could anyone please suggest the cause and resolution?
    Thanks.

    I turned on the session debugging. I am running my application on Linux, so the debugging info was moved to a log file. This log file is very large (around 1GB) and I am unable to open it.
    One more thing: I am trying Message.writeTo() method to download the message. If an OutOfMemoryError occurs, I catch it and try to download the message using GetInputStream. NullPointerException is occuring in both the cases.
    Exception stack trace with writeTo():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:656)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:645)
         at com.sun.mail.imap.IMAPMessage.writeTo(IMAPMessage.java:536)
    Exception stack trace with getInputStream():
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:99)
         at com.sun.mail.iap.Response.<init>(Response.java:68)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
         at com.sun.mail.iap.Protocol.command(Protocol.java:215)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:653)
         at com.sun.mail.imap.protocol.IMAPProtocol.peekBody(IMAPProtocol.java:637)
         at com.sun.mail.imap.IMAPMessage.loadHeaders(IMAPMessage.java:1055)
         at com.sun.mail.imap.IMAPMessage.getAllHeaders(IMAPMessage.java:642)
    First I try to download the headers in case of an OutOfMemoryError. The above trace shows that.
    Could anyone point out the problem and help resolving it?

  • Java.lang.NullPointerException in Parser

    Hi,
    I appreciate any idea that can help me.
    I'm processing a sql sentence that can retrive 10.000 rows with XSU.
    I generate xml files with 1000 rows from the resultset and then I transform this xmls into xml files based of Onix Standard.
    I've nullpointer exception in random way, but I supose that there is a problem when the xml files are transformed.
    There are any limitation for user parser and tranformer. I supose that there is a memory problem with this because the class consume a lot of CPU memory.
    Thank in advance.

    Thank every body.
    I increase -mx stack to 200 but the NullPointerexception followed showed in my screen.
    In that moment I'm running the java program with jdk1.2.2, because Jdeveloper look like very hard.
    Some of random exception are here:
    Java.lang.NullPointerException
    void java.io.OutputStreamWriter.write(char[], int, int)
    void oracle.xml.parser.v2.XMLOutputStream.flush()
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Exception in thread main
    Se genero la excepcion al instanciar un Stylesheet
    java.lang.NullPointerException
    java.lang.String java.lang.String.intern()
    java.lang.String oracle.xml.parser.v2.XSLParseString.getQname()
    int oracle.xml.parser.v2.XSLParseString.nextToken()
    oracle.xml.parser.v2.XSLExprBase oracle.xml.parser.v2.XSLNodeSetExpr.parse(oracle.xml.parser.v2.XSLParseString, boolean, boolean)
    oracle.xml.parser.v2.XSLPatternInt oracle.xml.parser.v2.XSLExprBase.createPattern(java.lang.String, oracle.xml.parser.v2.NSResolver)
    void oracle.xml.parser.v2.XSLTemplate.<init>(oracle.xml.parser.v2.XMLElement, oracle.xml.parser.v2.XSLStylesheet, int, int)
    void oracle.xml.parser.v2.XSLStylesheet.updateStylesheet(oracle.xml.parser.v2.XMLDocument, int)
    void oracle.xml.parser.v2.XSLStylesheet.initStylesheet(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void oracle.xml.parser.v2.XSLStylesheet.<init>(oracle.xml.parser.v2.XMLDocument, java.net.URL)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero la excepcion al procesarse el xsl
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XSLProcessor.processXSL(oracle.xml.parser.v2.XSLStylesheet, oracle.xml.parser.v2.XMLDocument, java.io.OutputStream)
    void onix.XMLToFile.transform(oracle.xml.parser.v2.XMLDocument, java.lang.String, java.lang.String)
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Se genero onix_2000.xml
    java.lang.NullPointerException
    void java.lang.Runtime.gc()
    void java.lang.System.gc()
    void onix.IsbnXmlGenerator.main(java.lang.String[])
    Exception in thread main
    java.lang.NullPointerException
    java.lang.String java.lang.StringBuffer.toString()
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    java.lang.NullPointerException
    void oracle.xml.parser.v2.XMLPrintDriver.printEndTag(oracle.xml.parser.v2.XMLElement, boolean)
    void oracle.xml.parser.v2.XMLPrintDriver.printEl ement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLPrintDriver.printElement(oracle.xml.parser.v2.XMLElement)
    void oracle.xml.parser.v2.XMLPrintDriver.printChildNodes(oracle.xml.parser.v2.XMLNode)
    void oracle.xml.parser.v2.XMLDocument.print(oracle.xml.parser.v2.PrintDriver)
    void oracle.xml.parser.v2.XMLDocument.print(java.io.OutputStream)
    void onix.IsbnXmlGenerator.setGenerator(java.lang.String)
    void onix.IsbnXmlGenerator.<init>(java.lang.String)
    void onix.IsbnXmlProcessor.main(java.lang.String[])
    Somebody Know how can I use OracleXMLQuery getSAX method....I appreciate an examples.
    null

  • Java Web Start - java.lang.NullPointerException (XI 3.0, SP9)

    Hi all -
    whenever I try to execute the Integration Builder Directory or Configuration by Java Web Start, I get the following exception after completly donwnloading the .jnlp files:
    java.lang.NullPointerException at com.sap.plaf.frog.FrogScrollPaneUI$1.propertyChange(FrogScrollPaneUI.java:113)
    I already tried a variety of Web Start versions, e.g.
    1.4.2_6.
    TIA
    - Stefan

    Thanks to all -
    The problem was caused by having also installed JDK 1.5 on my machine.
    Although, I attached the .jnlp file name suffix with Web Start 1.4 both in Windows Explorer and Internet Explorer, Java Web Start 1.5 was excecuted.
    I had to de-activate the "users" in Web Start 1.5:
    - started javaws in ${jdk1.5}\jre\bin
    - edit - preferences - JAVA
    - in Runtime environoment: de-activate all 1.5 users
    (sorry for any incorrect terms, I've German on my machine)

  • Deployment problems - faultstring java.lang.NullPointerException /faultstr

    I am fairly new to JDDEV, but have been successfully working on a project using pl/sql web services. Everything has been working great until today. When I deploy a new version of my web services all looks good.
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 89be090571294c0b27350d54e06a0c98648307c0c09
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=89be090571294c0b27350d54e06a0c98648307c0c09
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=89be090571294c0b27350d54e06a0c98648307c0c09
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 21 seconds
    ---- Deployment finished. ---- Aug 22, 2006 8:05:34 AM
    But when trying to execute any procedure in the package that is exposed as a web service I now get the following error:
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/TAS-TAS_WEBSERVICE-context-root/TAS_WebService1</faultactor>
    </SOAP-ENV:Fault>
    As far as I can tell nothing has changed. These are procecures that have been working for months now that generate this error. I am using JDEV 9052 to deploy to our OAS 10g.
    Any ideas? I am at a loss

    I have it working again. I deployed from a different machine with JDEV installed and everything works again! Not sure why it doesn't work anymore from my original machine where I have been developing from for months.

  • Java.lang.NullPointerException in RFC Receiver Adapter

    Hi Experts,
    i have configured SQL Sender Adapter and this works fine, i can see the payload. and at the receiver adapter i have configured RFC Receiver Adapter this is throwing NullPointerException as mentioned below.. can someone help me out to fix this issue..
    Error Description:
    Error     Exception caught by adapter framework: null
    Success     MP: Processing local module localejbs/AF_Modules/RequestResponseBean
    Error     MP: Exception caught with cause java.lang.NullPointerException
    Error     Delivery of the message to the application using connection   
                    RFC_http://sap.com/xi/XI/System failed, due to:
                    com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException.
    Success     The message status set to WAIT.
    Thanks,
    Srikanth

    Hi Srikanth,
    This error Occurs because of incomplete configuration in the reciever communication channel.Please check all the required configurations in the reciever communication channel and then activate the channel.
    Regards,
    Naveen

  • Error: java.lang.NullPointerException  in BI Broadcasting

    I am having this issue when I am trying Email broadcasting form SAP BI Query and set the filter navigation for one of the characteristic value. Any Idea???
    When I execute the Information broadcasting it gives following message
    Error: java.lang.NullPointerException
    Thanks,
    Addy

    Hi Janine,
    The query works in Java Web and in BEx Excel analyzer. This query even works in the BI email broadcasting for different filter value for the same characteristic in the filter navigation tab setting in broadcasting.
    The same filter value works in Broadcasting when I am broadcasting the query as Excel attachment but does not work when I try to do a PDF report.
    The popup error message is this:
    Execution of Broadcast Setting
       Setting Z_ORD_PTYP_SM_INT_YN_WK were started from the BEx Broadcaster
            Processing for user USERID, language EN
              Processing setting Z_ORD_PTYP_SM_INT_YN_WK
                Error: java.lang.NullPointerException
    When I checked the log file here is the Java Log
    #1.5#0023AEFCB3200030000001F4000003D000047DAE57A2B7C0#1264087654806#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#adadsena#13065##sap-bip_BIP_4188451##0a4b90f006a111dfad9f0023aefcb320#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/Applications/BI#Plain###A message was generated:
    ERROR
    Error while processing the control query
    Message: Error while processing the control query
    Stack trace: com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while processing the control query
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:559)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.run(PrecPageAssembler.java:186)
                    at com.sap.ip.bi.broadcasting.runtime.impl.ProducerPrecalculation.produce(ProducerPrecalculation.java:409)
                    at com.sap.ip.bi.broadcasting.runtime.RfcListenerRSRD_X_PRODUCE.handleRequest(RfcListenerRSRD_X_PRODUCE.java:130)
                    at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:239)
                    at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:247)
                    at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:345)
                    at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
                    at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
                    at sun.reflect.GeneratedMethodAccessor851.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
                    at $Proxy129.processFunction(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
                    at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
                    at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 180596 msec
                    at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
                    at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
                    at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
                    at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
                    at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
                    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.createExportResult(PageExport.java:212)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getPdfForPage(PageExport.java:236)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getExports(PageExport.java:253)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processPage(PrecPageAssembler.java:260)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:556)
                    ... 24 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
                    java.net.SocketTimeoutException: Read timed out
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)
                    at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:648)
                    ... 34 more
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
                    java.net.SocketTimeoutException: Read timed out
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
                    ... 36 more
    Caused by: java.net.SocketTimeoutException: Read timed out
                    at java.net.SocketInputStream.socketRead0(Native Method)
                    at java.net.SocketInputStream.read(SocketInputStream.java:129)
                    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:889)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:375)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:284)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:415)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:563)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1444)
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
                    ... 38 more
    com.sap.ip.bi.broadcasting.runtime.BroadcastingException ErrProcessControlQuery#
    #1.5#0023AEFCB320000E000000000000028800047DAECCE1F4B6#1264089621987#com.sap.security.core.persistence##com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.LDAPMasterCheck][md=checkAvailability][cl=57038]#######SAPEngine_System_Thread[impl:5]_67##0#0#Error##Plain###Main server available again#
    #1.5#0023AEFCB320000F000000000000028800047DAECCEB0B7D#1264089622581#com.sap.security.core.umap.imp.UserMappingUtils##com.sap.security.core.umap.imp.UserMappingUtils.getMasterSystem()#######SAPEngine_System_Thread[impl:5]_30##0#0#Error##Plain###Cannot provide the current ABAP master system because the responsible system landscape is currently not available.#
    #1.5#0023AEFCB3200010000000000000028800047DAECCF17BBE#1264089623003#com.sap.caf.um.metadata.imp.MetaDataTools##com.sap.caf.um.metadata.imp.MetaDataTools.MetaDataTools()#######SAPEngine_System_Thread[impl:5]_53##0#0#Info#1#/System/Server#Plain###sap.com caf/um/metadata/imp MAIN_APL70VAL_C 1528581#
    #1.5#0023AEFCB3200011000000010000028800047DAECCF2B562#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() {#
    #1.5#0023AEFCB3200011000000030000028800047DAECCF2C102#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() } OK#
    #1.5#0023AEFCB3200012000000000000028800047DAECCF4D943#1264089623222#com.sap.caf.um.relgroups.imp.persistence.DataSource##com.sap.caf.um.relgroups.imp.persistence.DataSource.DataSource()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
    #1.5#0023AEFCB3200013000000000000028800047DAECCF4E368#1264089623222#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Starting Configuration util service...#
    #1.5#0023AEFCB3200013000000010000028800047DAECCF617AD#1264089623300#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Configuration util service started successfully.#
    #1.5#0023AEFCB3200012000000010000028800047DAECCF9715F#1264089623519#com.sap.caf.um.relgroups.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactory.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
    #1.5#0023AEFCB3200014000000000000028800047DAECCFA84EF#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
    #1.5#0023AEFCB3200014000000010000028800047DAECCFA999F#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)#
    #1.5#0023AEFCB3200014000000020000028800047DAECCFAA3AE#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
    #1.5#0023AEFCB3200014000000030000028800047DAECCFAA48A#1264089623612#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)#
    #1.5#0023AEFCB3200015000000000000028800047DAECDDEEF82#1264089638566#System.err##System.err####n/a##1e36f46006a611dfa01a0023aefcb320#Thread[Thread-64,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###com.sap.security.core.server.userstore.UserstoreException: Could not get user dfrench
                    at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:198)
                    at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:102)
                    at com.sap.engine.services.security.server.AuthorizationContextImpl.getUserFromRole(AuthorizatiMessage: Error: java.lang.NullPointerException
    Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: java.lang.NullPointerException
                    at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:277)

  • Java.lang.NullPointerException when connect to the J2EE engine

    I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console.  Please help me ! Thank you !!  The full error exception like this:
    java.lang.NullPointerException
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio
    n(LoginTask.java:191)
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas
    k.java:79)
            at java.lang.Thread.run(Thread.java:534)

    Hi:
    The whole errror message like this:(deploy aborted error message)
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 10.138.6.10
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    The Log infomation is like this:
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>
    <!PATTERN[sdmcl20090427005331.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[MS950]/>
    <!LOGHEADER[END]/>
    Apr 27, 2009 8:53:32 AM  Info: -
    Starting deployment -
    Apr 27, 2009 8:53:32 AM  Info: Error handling strategy: OnErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Update strategy: UpdateAllVersions
    Apr 27, 2009 8:53:32 AM  Info: Starting deployment prerequisites:
    Apr 27, 2009 8:53:36 AM  Info: Loading selected archives...
    Apr 27, 2009 8:53:36 AM  Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'
    Apr 27, 2009 8:53:37 AM  Info: Selected archives successfully loaded.
    Apr 27, 2009 8:53:37 AM  Info: Actions per selected component:
    Apr 27, 2009 8:53:37 AM  Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:37 AM  Info: Ending deployment prerequisites. All items are correct.
    Apr 27, 2009 8:53:39 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:39 AM  Info: Saved current Engine state.
    Apr 27, 2009 8:53:39 AM  Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:39 AM  Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear
    Apr 27, 2009 8:53:39 AM  Info: Software type of SDA: J2EE
    Apr 27, 2009 8:53:40 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:43 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:44 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:44 AM  Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Apr 27, 2009 8:53:44 AM  Info: Starting to save the repository
    Apr 27, 2009 8:53:44 AM  Info: Finished saving the repository
    Apr 27, 2009 8:53:44 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Apr 27, 2009 8:53:44 AM  Error: -
    At least one of the Deployments failed -
    Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM

  • [Oracle AS, Datasource Pool]: java.lang.NullPointerException (Soap)

    I found below error on my applications that are on Oracle AS (data source pool). After I killed some processes on Oracle Database.
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:(/faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/BBContent/BBWebService</faultactor>
    </SOAP-ENV:Fault>

    1 . I created Soap Application by use
    /oracle/product/10.1.3/OracleAS/jdk/bin/java -jar $ORACLE_HOME/webservices/lib/WebServicesAssembler.jar -config config.xml
    and deploy from ear file to AS
    2. I edit data-sources.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <data-sources>
    <managed-data-source login-timeout="1800" connection-pool-name="PoolVCMGR-COW2" jndi-name="jdbc/OracleDSw4SAP" name="DataSourcew4SAP"/>
    <connection-pool name="PoolVCMGR-COW2">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="user" password="password" url="jdbc:oracle:thin:@//127.0.0.1:1521/DB"/>
    </connection-pool>
    </data-sources>
    When I killed session on Database or restarted Database.
    My application can't work. when we debug, we found
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:(/faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/BBContent/BBWebService</faultactor>
    </SOAP-ENV:Fault>
    So We restarted this serverics, that worked.
    I don't known why we kill session on Database or restart Database.
    Our Application seem, that can't communicate Database.
    Help me, How can we resolve this problem?

  • faultstring java.lang.NullPointerException /faultstring problem

    Have been successfully working on a project using pl/sql web services. Everything has been working great until today. When I deploy a new version of my web services all looks good.
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 89be090571294c0b27350d54e06a0c98648307c0c09
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=89be090571294c0b27350d54e06a0c98648307c0c09
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=89be090571294c0b27350d54e06a0c98648307c0c09
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 21 seconds
    ---- Deployment finished. ---- Aug 22, 2006 8:05:34 AM
    But when trying to execute any procedure in the package that is exposed as a web service I now get the following error:
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <faultactor>/TAS-TAS_WEBSERVICE-context-root/TAS_WebService1</faultactor>
    </SOAP-ENV:Fault>
    As far as I can tell nothing has changed. These are procecures that have been working for months now that generate this error. I am using JDEV 9052 to deploy to our OAS 10g.
    Any ideas? I am at a loss

    I have fixed the problem, but still not sure what caused it. I redeployed the app from a different machine and it all works again. Not sure what caused it to stop working when deployed from the original machine.

  • Frustrating java.lang.NullPointerException

    Hello,
    I'm having trouble with the java.lang.NullPointerException runtime error. I'm new to java programming and hope someone may be able to help. I get the error when i attempt to delete a element from a list.
    Here are two portions of the code that i believe are contributing to the error:
    // Here i delete element 0 off the list if conditions are met.
    if (command == word1Command) {
    // write pre-action user code here
    // write post-action user code here
    if (stringWord1.getLayout() ==(Item.LAYOUT_CENTER))
    stringWord1.setLayout(Item.LAYOUT_LEFT);
    wordList.delete(0); // <---- This is when i get the error
    tPlayer1++;
    oPlayer1++;
    // Here's the code for the list which comes after the previous code segment
    public List getWordList() {
    if (wordList == null) {
    // write pre-init user code here
    wordList = new List("Ataddin", Choice.IMPLICIT);
    wordList.append(Word1, null);
    wordList.append(Word2, null);
    wordList.append(Word3, null);
    wordList.append(Word4, null);
    wordList.append(Word5, null);
    wordList.append(Word6, null);
    wordList.append(Word7, null);
    wordList.append(Word8, null);
    wordList.append(Word9, null);
    wordList.append(Word10, null);
    wordList.setCommandListener(this);
    wordList.setSelectedFlags(new boolean[] { false, false, false, false, false, false, false, false, false, false });
    // write post-init user code here
    return wordList;
    Thanks in advance and any questions just ask as i'm getting so frustrated at the mo.
    Thank you.

    darkcyelde wrote:
    ok here it goes.Im so sorry that i post this thing inside this topic because i dont know and i cant see wheres the 'New Topic' button that available.Please look again. This is inappropriate place to place a question and will only make you look foolish.
    Ok my problem is actually quiet simple.Do anyone of you know,have,or ever deal with a java program that can extract a word,then count the amount of each word in .doc documents?
    Please i really need the code as that will help me further with my plan.Im not very good at java so i really hope someone can help me..And asking for "the code" makes you look lazy. Two strikes in one post. Good show.

Maybe you are looking for

  • Help with calculating fractions in a program...

    I'm supposed to declare to fractions and then add, subtract, mulitply, and divide them. (3, 4) (2, 3) The outcome is supposed to look like this... Number 1 is 3/4 Number 2 is 2/3 Reciprocal of 3/4 is 4/3 Reciprocal of 2/3 is 3/2 3/4 + 2/3 is 17/12 3/

  • Can we put INDEXES on Views if not Is there any way to make it Index bas

    Hi I am running a query in which there are several views involved in the join condition Can we put INDEXES on Views in ORACLE 9i if not Is there any way to make it Index based views beacuse the result that i am getting is very slow and is eating like

  • Gnome-Do result window doesn't appear

    Hi, I've just finished my first Arch installation and there's one last hiccup that's bugging me. Whenever I have Metacity composite turned on, the result window in Gnome Do doesn't show up when I press the down arrow, as it should. Even if I mark "Al

  • Can't delete non-syncd podcasts in iTunes 7

    I stopped syncing podcasts on my ipod a long time ago because i transfer from several different computers. In the old iTunes, these unsynced podcasts were easy to move and delete because they just appeared in the normal music list with genre "podcast

  • Drilldown on line chart w/3 series to 3 different pie charts w/ DV

    Hello experts,     My situation is the following. I have a Line chart representing sales on 3 different series(actual, budget and last year) along the 12 months. Then 3 different pie chart that link the office sales of each serie and each month. I su