Error when inputting data using scanner

At one point in my program I use scanner to read the users keyboard input, after pressing enter I get this error:
NullPointerException:
at JerooProgram.makeRobotJeroos(JerooProgram.java:158)
at JerooProgram.main(JerooProgram.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Right after collecting the data I assign it to a String, I don't know if that matters or not.
Skeetles

Something at line 158 has a null value (and shouldn't)
NullPointerException:
at JerooProgram.makeRobotJeroos(JerooProgram.java:158)
Figure out what the error is (one way is to print out all values used in that line of code.)

Similar Messages

  • Can anyone list problems/errors when uploading data using BDC's and BAPI's?

    Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

    Hi,
    If you are actually creating a BDC to load data pls be more specific.
    Data format incorrect. Tab delimited/ etc
    Dates in wrong formats
    Currency incorrect formats
    Missing screens
    Wrong transaction code
    File not found,
    Missing Mandatory fields,
    Screen resoultion.
    You should always use refresh for your Bdcdata table.
    Loop at internal table.
    refresh Bdcdata.
    regards,
    sowjanya.

  • Error when importing data using DTW template

    Dear All gurus/experts,
    I have a problem when importing data into SBO system using DTW. The error message is "sort error, pls check the prepared data and delimeter. I use SBO 2004 SP 00 PL 41. I don't understand to cope with this problem, I have no idea anymore. I appreciate your answer. TIA
    Rgds,

    Tks for your reply. I have seen it and the error message relates to delimeter. I have tried to correct the error by recreate the file and save as tab delimeted. Right now I am trying to import the files.
    Rgds,

  • Error when extracting data using DB Connect from an Oracle database

    Hi All,
    We are on BI 3.5 and loading data from a non-SAP (Oracle 10g) database using DB Connect.
    I received the following error messages when trying to perform "Check DataSource" using the DB Connect setup in RSA1.
    Event with errors RSDL_META_UPLOAD in DataSource
    Message no. R8287
    Warning Messages;
    Message no. RSDL053
    Field name ReceiptID contains non-alpha-numeric characters
    Field name ActivityDate contains non-alpha-numeric characters
    Field name ReceiptDate contains non-alpha-numeric characters
    Field name ReceiptLineNumber must have between 000001 and 000016 digits
    etc...
    Views are created under the owner's user name. I have checked with DB personnel and they confirm that all the authorization and security access privileges have been correctly granted to the views.
    We are also able to extract the data by running a sql query statement from the views using SQL Plus
    Currently we also have a similar extraction process set up with an Oracle 9 database, which extracts the information without any issues.
    Thanks,
    Anthony

    Hi Mr Loh.
    I know that this thread has over a year ago but i was looking for something similar for over 2 weeks ago and i ialways found this thread...I want to share my experience even that maybe you already found the same solution or something similar (i saw that you check your own post as answered):
    I made a similar connection from BI 7 SP 18, but in my case was to a Microsoft SQL database 2005. When i "check the datasource" i receive like almost 150 warnings and 1 error and all the warnings and errors are the same ones as you describe above. What i did is create a custom view in the MSSQL database and convert all the column names to uppercase and the column names i limited to 16 characters at most. after doing that all the warnings and the error described disappear and i can view the database content when you made click in the "view content table" button.
    I hope that this will help somebody and best regards
    Martin Olmos

  • Error when loading data using transformation

    Hi,
    I load a text file into an application using Transformation file. The load failed with error "Enforced *DESTINATION cannot be empty". What does this error mean?
    Thanks

    Hi Liana,
    Do you have default logic turned on?
    When you validate and process the transformation file, select the file that you want to load at the first prompt.
    Do you get the same error?
    Thanks,
    John

  • Error when uploading data using generic

    Hi,
    I have created a gereic datasrc using view & i took the following fields
    MATNR     Material
    WERKS     Plant
    PBDNR     Req.plan number
    BDZEI     Reqmts pointer
    LAEDA     Last change
    MEINS     Base Unit
    FIXMG     Planned qty
    In the transfer rules of BW the system gave mapping only for LAEDA Last changewith the infoobj 0CH_ON,so I took 0mat infoobj formapping with  Matnr
    0plant for werks & created ZpBDNR,ZBDZEI for PBDNR  BDZEI & for FIXMG i mapped with the infoobj 0PRDPLN_QTY
    In the monitor screen it is showing me 0 records with status yellow then I went to the job overview it is giving me the following msg in job overview
    Date        Time      Message                                                                               
    24.12.2006  12:18:13  Job started                                                                            
    24.12.2006  12:18:13  Step 001 started (program SBIE0001, variant &0000000006181, user ID ALE_MASTER)        
    24.12.2006  12:18:13                                                                               
    24.12.2006  12:18:13  DATASOURCE = PLANEW                                                                    
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:13  *          Current Values for Selected Profile Parameters               *              
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:13  * abap/heap_area_nondia......... 2000000000                              *             
    24.12.2006  12:18:13  * abap/heap_area_total.......... 2000000000                              *             
    24.12.2006  12:18:13  * abap/heaplimit................ 40000000                                *             
    24.12.2006  12:18:13  * zcsa/installed_languages...... DE                                      *             
    24.12.2006  12:18:13  * zcsa/system_language.......... E                                       *             
    24.12.2006  12:18:13  * ztta/max_memreq_MB............ 250                                     *             
    24.12.2006  12:18:13  * ztta/roll_area................ 2000000                                 *             
    24.12.2006  12:18:13  * ztta/roll_extension........... 2000000000                              *             
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:14  Could not determine BW release of logical system 'QEMCLNT003'                          
    24.12.2006  12:18:14  Job cancelled after system exception ERROR_MESSAGE                                                                               
    Thanks,
    Maya

    Did you created Logical system also? If not you have to create logical system and assign it to ur source system.
    If u on BW3.5 system:
    Tcode SPRO->ref Img->SAP NetWeaver->SAP BI->Links to other systems->define logical system. (not sure abt path...but it must be somehow similar to this only)
    Check this link it may help you:
    http://www.erpgenie.com/sapgenie/docs/MySAP%20BW%20Cookbook%20Vol%202.pdf
    Message was edited by:
            KJ (Kamaljeet)

  • Error message when importing data using Import and export wizard

    Getting below error message when importing data using IMPORT and EXPORT WIZARD
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    <dir>
    <dir>
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'.
    Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
    (SQL Server Import and Export Wizard)
    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Destination - Buyer_.Inputs[Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Destination
    - Buyer_First_Qtr.Inputs[Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - Buyer" (28) failed with error code 0xC0209029 while processing input "Destination Input" (41). The
    identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information
    about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
    (SQL Server Import and Export Wizard)
    </dir>
    </dir>
    Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - Buyer_First_Qtr returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Smash126

    Hi Smash126,
    Based on the error message” Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting
    autogrowth on for existing files in the filegroup”, we can know that the issue is caused by the there is no sufficient disk space in filegroup 'PRIMARY' for the ‘REPORTING’ database.
    To fix this issue, we can add additional files to the filegroup by add a new file to the PRIMARY filegroup on Files page, or setting Autogrowth on for existing files in the filegroup to increase the necessary space.
    The following document about Add Data or Log Files to a Database is for your reference:
    http://msdn.microsoft.com/en-us/library/ms189253.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error message when attempting to use scanner Canon model MP610

    Error message when attempting to use scanner Canon model MP610, any one have any fixes, suggestions?

    Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, empty trash, reboot when complete.
    For the other problems...
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab of Activity Monitor, are there a lot of Pageouts?

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error when reading data from socket

    Hi,
    I am getting the error 'NiRawReadError: An error occured when reading data from socket.' when using the ABAP API  'mo_core_service->invoke_matching'.
    And I get this error only when I pass ABAP_TRUE to the paramter 'iv_wait_for_invocation' .
    Can anybody help me in correcting this?

    Hi Narasa,
    The following error is already in discussion in the below forum.Plz consult the forum link you will find the error solution.
    Problem in ABAP API - NiRawReadError: error when reading data from socket
    Rgds
    Ankit

  • Error when extracting data with extractor 2lis_04_matnr - NEED HELP ASAP !!

    Hi experts!
    Got an error when extracting data with extractor 2lis_04_matnr.
    System says (short dump):
    DUMP TEXT START----
    Runtime error:    CONNE_IMPORT_WRONG_COMP_TYPE
    Exception:   CX_SY_IMPORT_MISMATCH_ERROR
    Error when attempting to import object "MC04P_0MAT_TAB".
    The current ABAP program "SAPLMCEX" had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program. When attempting to import data, it was discovered that the data type of the stored data was not the same as that specified in the program.
    An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_IMPORT_MISMATCH_ERROR', was neither caught nor passed along using a RAISING clause, in the procedure  "MCEX_BW_LO_API" "(FUNCTION)".                                                                             
    Since the caller of the procedure could not have expected this exception      
    to occur, the running program was terminated.                                
    The reason for the exception is:  When importing the object "MC04P_0MAT_TAB", the component no. 5 in the dataset has a different type from the corresponding component of the target object in the program "SAPLMCEX". <b>The data type is "D" in the dataset, but "C" in the program.</b>
    DUMP TEXT END----
    Please, can someone explain me how to solve it? 
    Really need help ASAP!
    Thanks in advance,
    Jaume
    Message was edited by:
            Jaume Saumell
    Message was edited by:
            Jaume Saumell

    Hi,
    Check this note: 328181
    So you need to delete entries in SM13/LBWQ for application and also detup table content.
    And then refill teh set up table.
    If you are in production clear the entries by running collective run no of times for this application 04.
    With rgds,
    Anil Kumar Sharma .P

  • IR webclient: error when uncompressing data retrieved: *Data Error*!

    A small (?) number of IR webclient 931 installations we notice the next error when processing: " error when uncompressing data retrieved: *Data Error*! " It does not seem to be user or permission/provision related.
    Does anyone have an idea how to solve it. Reinstalling the IR webclient does not solve it.

    Hi there, I got to the point where I found the cause, but now I still need to solve it. perhaps anyone can give me a hint.
    931 bqy's are stored on server as zip files. (although they are renamed as *.1) On 832 they were stored as bqy files (although they were renamed to *.1 too).
    The clients which had the error message tried to open their 931 documents with the 832 plugin. Which does not have the capebility to uncompress the .1 file. In that perspective is the error message very obvious.
    We need to run both 832 intelligence plugin and the 931 webclient on the same client.
    How can we force that the corrcet version is used for openeing the docs?

  • Error when sending data request

    Hi All,
       i have scheduled info package for different type data sources in bi 7.0, for this i am getting the data from  ecc 6.0 . all of this schedule's showing  the status "error when sending data request" with the following details.
    status
    diagnosis
    the request idoc could not be sent to the source system using rfc
    system response
    there is an idoc in the warehouse outbox that did not arrive in the ale inbox of the source system
      in step by step analysis it is showing
       rfc to source system successful showing with ash status
       data selection successfully stated  and finished ? show with red status
    in that details tab
    request : showing with green status
    everything ok
    extraction :showing with red status
    missing messages
    transfer(idocs and trfc) : missing messeges
    processing(data packet) : no data
        it is showing technical status with red as processing overdue
                           processing step call to source system
       so it is showing error with 0 from 0 records.
    please any body could help me for solving this error.
    regards,
    naveen.

    Hi
    Seems you have connectivity issues between the Source system and Bi system.
    You need to check whether you have data on R/3 side via RSA3 with Full / Delta Update Modes with Target System as your BI system.
    RSA13--Source System -- Right click Connection parameters/check/Restore/Activate again Say Replicate All Data Sources (If Possible , provided if you have time because it consumes lot of time )
    You need to check the tRFC Queue SM58/59 for any Stucks and WE19/20 for IDocs.
    Much of BASIS Issue .
    Hope it helps and clear

  • Error when getting data (RSDRI_CUBE_READ) - RSCRM_BAPI

    Hello Gurus,
                I am getting a error when I try to create a extract using RSCRM_BAPI using Process Chain.
                I created a job and used that in the Process Chain, Once I run the Process Chain it is executing and
               the job is deleted and the extract gives me this error in the Monitor.
                Error Message - Error when getting data (RSDRI_CUBE_READ)
                If I run manually I am able to see the extracted records.
                Please help.
    Regards,
    Raj

    Hi,
    "Unknown error when executing MDX" is msg number BRAINOLAPAPI012.
    Check out these 3 SAP notes:
    1091523 MDX: System error in connection with named sets
    1252372 OLE DB for OLAP: Additional corrctions for new MDX parser  
    1282785 MDX: System error "Invalid MDX command with <internal>     
    Also test in transaction MDXTEST to see if your statements are syntactically correct.
    Rgds,
    Colum

  • EPM11.1.1.2:error when uncompressing data retrieved

    After I open a BQY in IR WEB client and click the "table",there is an error happened. The error message is "error when uncompressing data retrieved:*Data Error*". My IE has no google toolbar or any other toolbar. What's wrong?

    Hi there, I got to the point where I found the cause, but now I still need to solve it. perhaps anyone can give me a hint.
    931 bqy's are stored on server as zip files. (although they are renamed as *.1) On 832 they were stored as bqy files (although they were renamed to *.1 too).
    The clients which had the error message tried to open their 931 documents with the 832 plugin. Which does not have the capebility to uncompress the .1 file. In that perspective is the error message very obvious.
    We need to run both 832 intelligence plugin and the 931 webclient on the same client.
    How can we force that the corrcet version is used for openeing the docs?

Maybe you are looking for

  • PO information drop off from shopping cart

    Hi everyone, We have a problem, a shopping cart is created and got approved, followon document PO is created and automatically ordered. Now the PO line item is deleted and again ordered, and the status of the PO is approved, now when we look into the

  • Invoice not appearing properly in Polish lang. for Spool and PDF

    Hi, We have created an invoice layout in English with font HELVE and HELV_17, the same layout and style is being called for polish language. It is working fine for English; however the same font is not working for Polish language in Spool and PDF for

  • How to display Japanese text from an XML file

    Hiya, I have various adapted mp3 players [called playlists on my site] which retrieve the songs and song titles/artists from an XML file. One of them plays Japanese music. Most of the tracks are in English but I now have a couple of songs with Japane

  • My iPod Mini has absolutely no Audio

    I have tried everything (5 r's included) and no dice. Everything works fine but just no sound. I have tried 3 different headphones and also speakers. Any ideas???

  • Disable contact images in chat window? (Skype 7.0)

    The new bubble layout is already bulky and bloated enough, without having to shove the profile images in there, along with the sender's name. Is there a way to disable the profile images that appear next to the chat bubbles?