Error when assigning a value to a class

Hi,
Here's what I have:
package com.myprograms.tools1;
public class A
public long orderId;
public int nameId;
public int carId;
public int anId;
package com.myprograms.tools1;
public class B
public A classOfA;
//MAIN Program
import com.myprograms.tools1;
public class getClass
B b= new B();
b.classOfA.orderId = 10029292;
I get a Null Pointer Exception when I assign a value to the var.
Can anybody help point out the problem?
Thanks!

What exactly is the error message... i.e. line numbers and class names...
Example: Full thread dump Java HotSpot(TM) Client VM (1.5.0-beta2-b51 mixed mode, sharing
"SIGINT handler" daemon prio=10 tid=0x03264410 nid=0xea0 waiting for monitor ent
ry [0x080bf000..0x080bfa68]
        at java.lang.Shutdown.exit(Unknown Source)
        - waiting to lock <0x2b31a868> (a java.lang.Class)
        at java.lang.Terminator$1.handle(Unknown Source)
        at sun.misc.Signal$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)Okay, that was too funny... LOL...
This example error is courtesy of me being a complete... Well, let's just say, that was dumb...
It has almost been an hour since I launched off that little app...
You know you did something wrong when you can actually hear the HardDrive and Fan slow down...
Anyway... LOL... what are the errors, and what is the rest of the code ? or is it fixed now...
- MaxxDmg...
- ' He who never sleeps... '

Similar Messages

  • Error when assigning SID while uploading text in the info-object of the DSO

    Hi
    I have a scenario where I need to extract a char 60 field from R/3 in the DSO.
    I have created the info-object which is char 60 which has the master data text activated.
    In the DSO transformation I have mapped it to the R/3 field.
    While activating the data in DSO its giving the error message
    'Value '20 per action plan' (hex. '32302070657220616374696F6E20706C616E') of characteristic'
    'Error when assigning SID: Action VAL_SID_CONVERT InfoObject ZRMSD '
    How to overcome this issue.
    Please advise.
    Thanks in advance.

    Change the InfoObject for this text so that it will allow lowercase letters. To do this, go into Change mode on the InfoObject, go to the General tab, check the Lowercase letters checkbox and activate the InfoObject. After this has been activated, you can then restart your process and this SID violation error should no longer be thrown for this.
    If you don't want to do this, then you can use the TOUPPER formula in the Characteristic Routine, in the Transformation, to change the value of this field contents to uppercase. This can also be done by using an ABAP routine like this:
    TRANSLATE column TO UPPER CASE.
    Edited by: Dennis Scoville on Nov 3, 2009 9:55 AM

  • Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER

    Hi All,
    We are getting the following error when activating an ODS:
    Fiscal year variant  not expected                                           
    Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER   
    Interestingly, we have two systems for two different phases, on the same BW 3.5 SP level and the corresponding source R/3 SP Levels. BEx reporting is turned on for both the ODSs.
    On one system, the ODS get's activated without any issue and on the other, it get's errored out.
    I have tried different things like Rebuiding Global Transfer Settings, comparing the data between the two systems, etc., but no use.
    Any ideas/solutions?
    Thanks,
    - Shashi

    Marc,
    I have checked once and found all the data is correct. I will do that again.
    When I tried RSRV checks on 0FISCPER and 0FISCVARNT, I am getting the following message:
    0FISCVARNT is not a characteristic but an InfoObject of type TIM
    Message no. RSRV209
    Diagnosis
    The value entered 0FISCVARNT must be the name of a characteristic. However, 0FISCVARNT is an InfoObject of type TIM.
    The following values can be types:
    CHA characteristic
    KYF key figure
    TIM time characteristic
    UNI unit
    DPA package
    ATR attribute
    MTA meta-InfoObject
    Thanks,
    - Shashi

  • Error when assigning SID: Action VAL_SID_CONVERT table 0TYPE

    Hi Experts
    When I am trying to load the data into DSO the data is scheduling But DSO data is not Activated It Showing Error
    messages in Log for request processing in Request tab of DSO Manage.
    1.Error when assigning SID: Action VAL_SID_CONVERT table 0TYPE
    2.Value 'area' (hex. '61726561') of characteristic 0TYPE contains invalid characters
    3.Error when assigning SID: Action VAL_SID_CONVERT table ZCH_O_TYP
    4.Value 'area' (hex. '61726561') of characteristic 0TYPE contains invalid characters
    5.Error when assigning SID: Action VAL_SID_CONVERT table ZVALUE
    6.Value '0000000000000000860452655_PDF_45U x 200' (hex. '30303030303030303030303030303030383630343532363535') of
    characteristic ZVALUE contains invalid characters
    7.Error when assigning SID: Action VAL_SID_CONVERT table ZVALUE_O .
    8.Value '224053 sht 1.pdf##~##000000153363' (hex. '3232343035332073687420312E70646623237E232330303030') of
    characteristic ZVALUE_O contains invalid characters.
    9.Activation of M records from DataStore object ZCF_O02 terminated
    I have tried adding the special character # with transaction rskc but nothing seems to change and
    I still get the same error.
    DATA: T_ALL(100) type C,
    T_VAR1(45) type C value 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopq',
    T_VAR2(50) type C Value 'rstuvwxyz 0123456789 @#$%^&*()_-+=:;\/?',
    temp(60) type c,
    cnt type i,
    length type i.
    clear : cnt,temp,length.
    break-point.
    temp = SOURCE_FIELDS-TXZ01.
    CONCATENATE T_VAR1 T_VAR2 into T_ALL.
    cnt = 0.
    length = STRLEN( temp ).
    IF NOT temp CO T_ALL.
    WHILE cnt < length.
    IF NOT temp+cnt(1) CO T_ALL.
    CLEAR: temp+cnt(1).
    ENDIF.
    cnt = cnt + 1.
    ENDWHILE.
    ENDIF.
    translate temp to upper case.
    RESULT = temp.
    i am getting the above error, one of the expert suggested to implement this code but i am getting some errros when i execute this one please can anyone check this code and correct the errors it would be help ful to me.
    Regards
    Venu

    Hi ,
           Implement this code to resolve the issue.
    You can use the sample code below to choose only the charachters to be allowed in for the field. Using that you can remove all special charachters and # symbols as required
    DATA: T_ALL(100) type C,
    T_VAR1(45) type C value 'ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopq',
    T_VAR2(50) type C Value 'rstuvwxyz 0123456789 @#$%^&*()_-+=:;\/?',
    temp(60) type c,
    cnt type i,
    length type i.
    clear : cnt,temp,length.
    break-point.
    temp = SOURCE_FIELDS-TXZ01.
    CONCATENATE T_VAR1 T_VAR2 into T_ALL.
    cnt = 0.
    length = STRLEN( temp ).
    IF NOT temp CO T_ALL.
    WHILE cnt < length.
    IF NOT temp+cnt(1) CO T_ALL.
    CLEAR: temp+cnt(1).
    ENDIF.
    cnt = cnt + 1.
    ENDWHILE.
    ENDIF.
    translate temp to upper case.
    RESULT = temp.
    Regards,
    Rahul.

  • Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0BP_ACTIVIT

    Hello Team,
    WE are facing the error"Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0BP_ACTIVIT" .Please see he below screen shot.
    Every day the failure is for a different value and this is fixed with the manual activation of he DSO, with out any change .
    Below are the steps we have tried:
    1. The RSRV tests for the info objects were consistant. We have done he below rsrv tests:
    a. Compare characterstic of P/Q table with X/Y tables.
    b.SID values in X and Y tables.
    2. We have changed the DSO setting  from Parallel to Serialized Activation.
    Also the format of the values are as per the designated type.
    One more thing which i noticed is , the values for which the failure occurs , are new entries to the DSO, and they do no exists in the Change log table.
    Please let us know , what else can be done to fix this issue.
    Thanks in Advance,
    Nikhil

    HI Nikhil,
    please go through the documents.
    http://scn.sap.com/thread/1820047
    http://scn.sap.com/message/14266151
    http://scn.sap.com/thread/1520825
    Regards,
    Abdul rAwoof Syed.

  • Activating DSO: Error when assigning SID

    Hi,
    I am loading data from r/3 to BW via PSA till PSA the data gets populated correctly with out any errors, But from PSA to ODS I get the below Errors Can some one help me
    Value '0050307 ' of characteristic 0DATE is not a number with 000008 spaces     
    Error when assigning SID: Action VAL_SID_CONVERT table ZPOD_DATE RSDRO
    Error when assigning SID: Action VAL_SID_CONVERT table ZPO_DATE RSDRO          
    Activation of M records from Data Store object ZSD_O05 terminated RSM1102     
    Process 000106 returned with errors     RSODSO_PROCESSING     6     
    Process 000122 returned with errors     RSODSO_PROCESSING     6     
    Thanks
    Abhi

    Hi
    Thanks fro your immediate response
    But in the Error message” Value '0050307 ' of characteristic 0DATE is not a number with 000008 spaces" I don’t have 0DATE field in my ODS to check
    Thanks
    Abhi

  • While uploading the flat file getting Error when assigning SID

    Hi ,
    while uploading flat file i getting thid error .
    Error when assigning SID: Action VAL_SID_CONVERT table 0FISCPER and No SID found for value '0 ' of characteristic 0CURRENCY

    Hi Bijender,
    This is related due to missing values in your currency tables.
    If  you are maintaining the currency tables from R/3 - Replicate the Currency Rates(Source sytem- Transfer Exchange Rates).
    & check if the missing value is available in the TCURR table.
    Thanks,
    ChandraDeepak

  • Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0FISCPER

    Dear experts,
    I'm getting this error when activating an DSO.
    I'll try to explain when this error happens.
    I have a DTP in Delta Mode between 2 DSO's.
    The first time I run the DTP the DSO activates with no problems.
    The next time I run the DTP and it gets data the activation of the DSO has the error: Error when assigning SID: Action VAL_SID_CONVERT InfoObject 0FISCPER
    I've googled it but I can't find a solution for this.
    The first time I got this error I've deleted the DSO anda loaded the Data again and got no errors.
    The next Delta that has Data gave error when activating the DSO.
    Whan can be happening here?
    Best Regards,
    Rui Romba

    So you want to say that data loaded successfully in DSO 1 and while activating data in DSO2 you are getting this error.
    DSO1 feed data to DSO2 correct.
    Please check if generate SID upon activation setting is checked in DSO1 or not.Because if its the issue with fiscal year period then it should have given the error at DSO1 itself provided that setting is maintained.
    I just stumbled upon a document which addresses this issue and it seems the problem is with fiscal year variant.
    Check out the document:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a5a670-13f6-2c10-179d-a35e50a208bf?quicklink=index&…
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Error in ECA when assigning the value to structures

    Hi,
    There are errors in ECA when we execute our function modules.               
    Say a script has 3 interfaces (just an example)
    1) In the first command interface, there is a reference to a structure which has 3 nested structures within, in which the inner most 3rd structure is filled.   
    2) In 2nd interface, the inner most structure in null.                      
    3) In third interface, it is trying to initialize only those elements       
    that were already initialized and we get a empty node error for the 3rd 
    nested structure, when it tries to assign the value .
    Here is the error message that we encounter
    "The Node IT_TABLE_INPUT_DATA[1]-DATA[2]-COMPARE_OPERATOR of Object VS_EDIT_LIST Does Not Exist"*     
    Please help us in resolving this issue.
    Thanks,
    Asha
    Edited by: Asha Nagaraj on Jan 19, 2009 11:57 AM

    Hi,
    We tried to parameterize in the node level rather than Struture level, still the same problem persists, becoz
    1. In the first command interface the value has been assigned to internal node
    2. In the second command interface there is no value to assign, so null value is assigned to that node
    3. in the third command interface, when it tries to assign the value to the node which was assigned "null" in the previous interface, we are encountering that issue. it is not able to find that node
    Let me know if u need further info.
    Thanks,
    Asha

  • Please help with an error "could not write value key \Software\classes\iTune.wav.....

    I have windows 7 with plenty of memory and storage capacity. When accessing iTunes I had an error message to uninstall and reinstall. I have uninstalled but when trying to reinstall I get the error message "could not write value key \software\classes\iTune.wav. Verify that you have sufficient access to that key or contact your support personnel"  I don't understand what this means, can anyone help please?

    For "Could not open key/write value" errors when reinstalling try b noir's user tip:
    "Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\
    [LongStringOfLettersAndNumbers]" error messages when installing iTunes for Windows.
    The technique can be applied to the branch of the registry mentioned in the error message.
    If you still have issues see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • "Can not get a key" error when assigning the OAuthTokenIssuer certificate

    I am migrating from Lync Server 2010 to 2013. When deploying the 2013 server, it fails when assigning the OAuthTokenIssuer certificate. With the KeyException error below.
    I've tried "re-keying" the cert and confirmed that the key is exportable. Does anyone have any insight on how to resolve this? 
    =============
    <?xml version="1.0" encoding="UTF-8"?>
    -<CsMgmtLog Name="Set-CSCertificate">
    <Info Time="2014-04-21 19:00:53Z" Title="Connection">Data Source=servername.domain.com;Initial Catalog=xds;Integrated Security=True</Info>
    -<Action Name="Set Certificate" Time="2014-04-21 19:00:53Z">
    -<Exception Time="2014-04-21 19:00:54Z" Message="Can not get a key." Type="KeyException">
    <StackTrace Time="2014-04-21 19:00:54Z"> at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy) at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext) at Microsoft.Rtc.Management.Internal.KeyManagement.GroupKeyWrapper.Encode(Byte[]
    inBytes) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor scope, X509Certificate2 foundCert, X509Certificate2Collection certs, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor
    scope, String thumbprint, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Tasks.SetCertificateTask.Action() at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)</StackTrace>
    </Exception>
    <Complete Time="2014-04-21 19:00:54Z"/>
    </Action>
    <Error Time="2014-04-21 19:00:54Z" Title="Error">An error occurred: "Microsoft.Incubation.Crypto.GroupKeys.KeyException" "Can not get a key."</Error>
    </CsMgmtLog>
    =============
    Regards,
    Yai

    Please try to assign the certificate with Lync Server Management Shell.
    Run the following command:
    Set-CSCertificate -Identity Global -Type OAuthTokenIssuer –Thumbprint <string>.
    Check if you can assign default certificate to Lync Front End Server.
    Check the Root Certificate Authority certificate is not expired.
    Lisa Zheng
    TechNet Community Support

  • Error when assigning  business partners to positions in org. mgmt.

    Hello,
    I've got the following problem. I want to assign business partners to a position in organisation management. When doing this, the following error occurs:
    "Object cannot be assigned to object xxx in the period xx.xx.xxxx - xx.xx.xxxx"
    (xxx is the position to which the business partner should be assigned)
    The number of this error message is 5A368.
    Diagnosis in the detailed description of this message:
    "The object period of object '1st Level Support' is not within the relationship period 26.03.2007 - 31.12.9999."
    I've changed the object period of the position "1st Level Support" to several other dates, but it did not solve the problem.
    The described problem does not occur, when assigning an user to this position.
    Can anybody help me with this problem? I'm using SolMan 4.0.
    Thank you in advance!

    Thanks for your answer so far. Unfortunately it's not possible for me to upgrade to SP11. So I tried to solve the problem the way you described. I double-clicked the position on the left, the desired position is shown in the main screen and I try to assign the business partner to the position. But the same error appears.
    Are there any other possible solutions?
    What are the consequences of assigning users to a position instead of business partners?

  • Tag Query error when assigning mode in Link Editor

    Hi,
    I am receiving the following error when I run a transaction that contains a Tag query.  In my transaction I have set the tag query mode to be defined by a local property via the link editor.  Then when I execute the transaction I get the following error:
    "[ERROR] [TAG_QUERY_WRITE_TAG]com.sap.xmii.Illuminator.logging.LHException: Mode parameter was not found or is malformed"
    I am on version 12.1.8 Build(43).
    I import the project into MII 12.1.4 Build(53) and the transaction works as expected.
    In the new verson of MII is there a bug utilizing the link editor to set mode?  Or is there a specific way it wants the mode linked. (e.g. specific case)
    Additional details:
    I am trying to use the CurrentWrite mode.  I have tried setting Current mode via the link editor and that isn't working either. 
    Any suggestions?
    Thanks,
    Justin

    Hi Mike,
    Please correct me if I understand the logic incorrectly.  But here is what I am thinking....
    I have configured my transaction to have this flow:
    String_List_To_XML_Sequence --> Repeater_TagValues  -->  TAG_QUERY_WRITE_TAG
    The String_List_To_XML_Sequence would contain String_List_To_XML_Parser_TagValues & String_List_To_XML_Parser_TagNames.
    With this flow the logic would say that I will be running a seperate tag query for each tag value.  So if I have 100 tag values that I want to send, I will run 100 tag queries.  This doesn't seem the most efficient.  Also if this is how you were thinking I would configure the transaction then I could use the following links:
    Target Xpath: TAG_QUERY_WRITE_TAG.TagValue.1
    Expression: String_List_To_XML_Parser_TagValues.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
    Target Xpath: TAG_QUERY_WRITE_TAG.TagName.1
    Expression: String_List_To_XML_Parser_TagNames.Output{/Rowsets/Rowset/Row[#Repeater_TagInput.CurrentItem#]/Item}
    With this configuration updating 10 tags takes 2 seconds:
    [INFO] Statistics [Load = 35 ms msec, Parse = 35 ms, Execution = 2015 ms, Total = 2067 ms]
    With my old configuration updating 10 tags took 700 ms. (original transaction on 12.1.4 Build (53)
    [INFO] Statistics [Load = 11.137 msec, Parse = 224.113 msec, Execution = 451.78 msec, Total = 736.62 msec]
    Please let me know if I interpreted your thoughts incorrectly.
    If there is a way to utilize only 1 Tag Query, then I am not sure how the transaction flow should be configured.
    Thanks for your time,
    Justin
    Edited by: Justin M Brown on Jul 14, 2011 7:29 PM
    Edited by: Justin M Brown on Jul 14, 2011 7:33 PM

  • I always get "general error" when I change value of "Digitizer"

    I tried to capture a Prores422 project by FCP6 and Kano3 card.
    I changed setting of "Capture Preset Editor" to ensure capture what I needed.
    I think parameter value of "Digitizer" will determine Bit Depth of the project.
    The original value of "Digitizer" is "AJA 8-bit Digitizer". If I selected "AJA 10-bit Digitizer",it will pop up generel error.
    If I re-select the value to "AJA 8-bit Digitizer", it will still pop up general error.
    Please give me a hand.
    Is bit depth (8bit or 10bit) is determined by the setting of "Digitizer"?
    If yes, why does it always pop up general error when I changed it.

    From the information available it appears that your install could be conflicting with a previous version or installation.  I would recommend reviewing your installation logs to verify the root cause of your difficulties.  You can find directions on how to review your installation logs at Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html.

  • PDA build error when using a 'value change' event on two controls

    I get a build error when I use a 'value change' event on controls of a different type or even a different numeric representation. I'm using LV 7.1 PDA with no other modules installed. Attached is a picture of the entire code and the error message.
    Try to take over the world!
    Attachments:
    PDA Error.jpg ‏48 KB

    Hi,
    I verified the error that you are seeing. It appears to be a bug hence I have reported it to our developers. Hopefully this bug would be fixed in the next relaese of the PDA module.
    Thank you for pointing this to us. It is through feedback that we can make LabVIEW PDA module even better.
    Regards,
    Ankita A.
    National Instruments

Maybe you are looking for

  • Windows 8.1 update error code 0x80004005

    Hello, I have brand new Acer Aspire Laptop installed with windows 8 From 1 Feb 2014 , I am trying to install Windows 8.1 update from windows store. I tried to install update more than 15 times but still stuck with this error code 0x80004005. 1. I sim

  • Conduit search has taken over my address bar.

    If I type anything into the address bar, links to bing searches for websites come up. If I make an error in the address, I am sent to bing. Virus scan finds no issues. Ad-aware puts a Win32 file in quarantine, but it doesn't have an impact on the add

  • Clustering and failover

    Sorry if this message was posted on more than one forum.           Here is the scenario:           We have 2 instances (A, B) running on a clustered server environment.           1. Shutdown Server A. All sessions on Server A fail to Server B.       

  • Terminating event in synchronous method.

    Hi, I am not using any BOR and its event in start event tab, but i want to use terminating event within a task, so can i do this? Within this task i am using a BOR and its method, this is Synchronous method. Now i want to use one terminating event al

  • No file manager found

    Dear nokia i purchased nokia lumia 525 some days back but i found no file manager in the device ...i had an urgent mail to do n i was unable to find the file. Is there any possibility that nokia will provide file manager for lumia 525 Deep_