Null Reference when zooming on hidden detail data.

This is really weird.  I have users that have reported this error: "An unhandled exception of type 'System.NullReferenceException' occured in CrystalDecision.Windows.Forms.dll".  I got some data from them and started playing around.
The report is an embedded report on vs2010 using crystal 2010 for vs sp1.  The report is built off a dataset.xsd that I created from the data.   The weird thing is that I can un-hide the details and zoom to the sub report for the section called "Resulting XML" just fine.  But if I hide the details and try to zoom to the sub report, it crashes every time. 
Any Ideas?
Edited by: Don Williams on Apr 19, 2011 12:49 PM

Schema:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="root">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="RecordType">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="Error">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ErrorCategory" type="xs:string" />
                    <xs:element name="ErrorNumber" type="xs:unsignedByte" />
                    <xs:element name="ErrMsg" type="xs:string" />
                    <xs:element name="DataCode" type="xs:string" />
                    <xs:element minOccurs="0" name="RecordNumber" type="xs:unsignedByte" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="ID" type="xs:unsignedShort" use="required" />
            <xs:attribute name="ImportID" type="xs:string" use="required" />
            <xs:attribute name="Data" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
Sample Data:
<?xml version="1.0" encoding="utf-8"?>
<root>
  <RecordType ID="0" ImportID="" Data="C:\Users\isemane\AppData\Roaming\Microsoft Corporation\Microsoft Dynamics GP\11.00.0221.000\_0.xml">
    <Error>
      <ErrorCategory />
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg></ErrMsg>
      <DataCode></DataCode>
    </Error>
     </RecordType>     
  <RecordType ID="22115" ImportID="ETH PRIMARY PAY" Data="C:\Users\isemane\AppData\Roaming\Microsoft Corporation\Microsoft Dynamics GP\11.00.0221.000\ETH PRIMARY PAY_22115.xml">
    <Error>
      <ErrorCategory>Imported Records</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Record number :1 Imported</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559909</DataCode>
      <RecordNumber>1</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>impPurchaseReceipts</ErrorCategory>
      <ErrorNumber>4</ErrorNumber>
      <ErrMsg>Microsoft.Dynamics.GP.eConnect.eConnectException: Sql procedure error codes returned:</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559910</DataCode>
      <RecordNumber>2</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>Imported Records</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Record number :3 Imported</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559911</DataCode>
      <RecordNumber>3</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>Imported Records</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Record number :4 Imported</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559912</DataCode>
      <RecordNumber>4</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>impPurchaseReceipts</ErrorCategory>
      <ErrorNumber>4</ErrorNumber>
      <ErrMsg>Microsoft.Dynamics.GP.eConnect.eConnectException: Sql procedure error codes returned:</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559913</DataCode>
      <RecordNumber>5</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>Imported Records</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Record number :6 Imported</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559914</DataCode>
      <RecordNumber>6</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>Imported Records</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Record number :7 Imported</ErrMsg>
      <DataCode>POPRCTNM: RCT0001559915</DataCode>
      <RecordNumber>7</RecordNumber>
    </Error>
    <Error>
      <ErrorCategory>Resulting XML</ErrorCategory>
      <ErrorNumber>0</ErrorNumber>
      <ErrMsg>Start Time for impPurchaseReceipts: 4/18/2011 6:14:47 PM
End Time: 4/18/2011 6:17:42 PM
Elapsed Time: 0:3:54.2538
Records imported:5
Errors Found:2</ErrMsg>
      <DataCode>Import Results:Purchase Receipts</DataCode>
    </Error>
  </RecordType>
</root>
I load the data with the following code:<turns out this little editor doesn't like to cut and paste vb code, so I'll link it.>
[source code for load of xml|http://pastebin.com/k2At4pBC]

Similar Messages

  • BlackBerry Desktop Software displays the error "Caught _com_error exception. Description(): (null): Error(): -2147319779 (0x8002801D). ErrorMessage(): Library not registered.:Source(): (null)." when attempting to synchronize organizer data

    BlackBerry Desktop Software displays the error "Caught _com_error exception. Description(): (null): Error(): -2147319779 (0x8002801D). ErrorMessage(): Library not registered.ource(): (null)." when attempting to synchronize organizer data.Can someone help me with this?  

    Tried clean wipe and reinstall. Immediately after reinstall of DM, in setting up my 9900 "for the first time", I received the following error message...
    "Either there is no default email client or the current mail client cannot fulfill the messaging request. Please open Microsoft Outlook and set it as the default mail client."
    I opened Outlook 2013 and checked that it was the default mail client. It was already.
    After going in and clicking to confirm default email client, I was allowed to proceed to configure organizer sync settings. I configured memo only (one way from device). I then received the same error message that I was receiving (per my original post in the last message). I've previously tried configuring only one type of organizer sync and not one of them completed a successful sync, so it can't be a bad entry in the calendar or contacts. I also tried deleting CICAL entries for all of email addresses other than my primary one. No difference. Also, prior to setup and sync, I confirmed that my 9900 was not on wireless sync.
    I was hoping that this was an old issue and I could use one of the old work-arounds, so if anyone has any ideas for something else to try, please let me know.
    In the mean time, I  have to assume that it's something that's changed with Outlook 2013 (particularly given the new error message I reported above. I hope that someone at RIM is aware of these error messages and is working on a compatibility fix for Office 2013.
    Thanks in advance,
    Sheldon
    Twitter: @sheldonbk
    Twitter: @sheldonbk

  • Null reference when passing combobox as argument

    I've got a function that takes a combobox as a parameter and then populates it.  This works fine on 3 of my comboboxes, but not on any of the others.  For all the others it says that they are null.
    Function code is here:
    protected function PopulateDateDropdowns():void
                    PopulateMonths(cmbTDCTSinceMM);
                    PopulateDays(cmbTDCTSinceDD);
                    PopulateYears(cmbTDCTSinceYYYY);
                    PopulateMonths(cmbEmpStartDateMM);
                    PopulateDays(cmbEmpStartDateDD);
                    PopulateYears(cmbEmpStartDateYYYY);
                    PopulateMonths(cmbJEmpStartDateMM);
                    PopulateDays(cmbJEmpStartDateDD);
                    PopulateYears(cmbJEmpStartDateYYYY);
                private function PopulateDays(cb:spark.components.ComboBox):void
                    var i:int;
                    cb.dataProvider = new ArrayList();
                    for(i=1; i<32; i++)
                        cb.dataProvider.addItem(i);
                private function PopulateMonths(cb:spark.components.ComboBox):void
                    cb.dataProvider = new ArrayList();
                    cb.dataProvider.addItem("Jan");
                    cb.dataProvider.addItem("Feb");
                    cb.dataProvider.addItem("Mar");
                    cb.dataProvider.addItem("Apr");
                    cb.dataProvider.addItem("May");
                    cb.dataProvider.addItem("Jun");
                    cb.dataProvider.addItem("Jul");
                    cb.dataProvider.addItem("Aug");
                    cb.dataProvider.addItem("Sep");
                    cb.dataProvider.addItem("Oct");
                    cb.dataProvider.addItem("Nov");
                    cb.dataProvider.addItem("Dec");
                private function PopulateYears(cb:spark.components.ComboBox):void
                    var i:int;
                    var maxYear:int = new Date().getFullYear() - 18;
                    cb.dataProvider = new ArrayList();
                    for(i=1900; i<maxYear; i++)
                        cb.dataProvider.addItem(i);
    Declaration of the comboboxes that fail is here:
                    <mx:FormItem label="Employment Start Date: " direction="horizontal">
                        <s:ComboBox id="cmbEmpStartDateMM"  width="60"/>
                        <s:ComboBox id="cmbEmpStartDateDD"  width="60"/>
                        <s:ComboBox id="cmbEmpStartDateYYYY" width="100" />
                    </mx:FormItem>
    The only difference between these and the ones that work, is that these are declared inside a separate form and canvas.  But I thought that all the script was global to the page elements.

    Yes do have the creationComplete event for the ComboBoxes...you can make use of it and give it a try....
    Thanks,
    Bhasker Chari

  • It is not working when use trigger to check data from other table.

    Please help me with this, I have put a trigger on a table but it can not work as I expect.
    case study: one class has many students, only one of them goes to match.
    The purpose of this trigger is to check when choose a student goes to match, this student must in his class where he belongs to.
    Version of Oracle is 10.2.0.1.0.
    --table:
    DROP TABLE STU;
    DROP TABLE CLASS;
    create table CLASS(
    CID     VARCHAR2(5)   PRIMARY KEY,
    CNAME   VARCHAR2(20)  NOT NULL,
    SCHOSEN VARCHAR2(5));
    create table STU(
    SID     VARCHAR2(5)   PRIMARY KEY,
    SNAME   VARCHAR2(20)  NOT NULL,
    CID     VARCHAR2(5)   NOT NULL REFERENCES CLASS(CID) ON DELETE CASCADE);
    --data:
    --CLASS
    INSERT INTO CLASS(CID,CNAME) VALUES(1,'SUN');
    INSERT INTO CLASS(CID,CNAME) VALUES(2,'MOON');
    INSERT INTO CLASS(CID,CNAME) VALUES(3,'EARTH');
    --STU
    INSERT INTO STU VALUES(1,'JACK',1);
    INSERT INTO STU VALUES(2,'TOM',1);
    INSERT INTO STU VALUES(3,'LILY',2);
    INSERT INTO STU VALUES(4,'DUSTIN',3);
    --TRIGGER
    CREATE OR REPLACE TRIGGER CHECK_SCHOSEN
    BEFORE INSERT OR UPDATE OF SCHOSEN ON CLASS
    FOR EACH ROW WHEN (NEW.SCHOSEN IS NOT NULL)
    DECLARE
    DUMMY INTEGER;
    INVALID_STU EXCEPTION;
    VALID_STU EXCEPTION;
    MUTATING_TABLE EXCEPTION;
    PRAGMA EXCEPTION_INIT(MUTATING_TABLE, -4091);
    CURSOR DUMMY_CURSOR (ST VARCHAR2, CL VARCHAR2) IS
      SELECT SID FROM STU, CLASS
      WHERE STU.SID=ST AND STU.CID=CLASS.CID AND CLASS.CID=CL
        FOR UPDATE OF CLASS.SCHOSEN;
    BEGIN
      OPEN DUMMY_CURSOR(:NEW.SCHOSEN, :NEW.CID);
      FETCH DUMMY_CURSOR INTO DUMMY;
      IF DUMMY_CURSOR%NOTFOUND THEN
        RAISE INVALID_STU;
      ELSE
        RAISE VALID_STU;
      END IF;
      CLOSE DUMMY_CURSOR;
    EXCEPTION
      WHEN INVALID_STU THEN
        CLOSE DUMMY_CURSOR;
        DBMS_OUTPUT.PUT_LINE('PLEASE RE-ENTER CLASS ID AND STUDENT ID AS CLASS OR STUDENT IS NOT VALID.');
      WHEN VALID_STU THEN
        CLOSE DUMMY_CURSOR;
        DBMS_OUTPUT.PUT_LINE('STUDENT CHOOSE SUCCEFULLY!');
      WHEN MUTATING_TABLE THEN
        NULL;
    END;
    /Just copy and paste above and try to run following:
    UPDATE CLASS
    SET SCHOSEN=3
    WHERE CID=1;
    Clearly,you can not choose student which is 3 as match member of class 1. Please help me. Thanks.
    Edited by: 991096 on 01-Mar-2013 02:36
    Edited by: 991096 on 01-Mar-2013 03:03
    Edited by: 991096 on 01-Mar-2013 03:11

    Hi,
    Welcome to the forum!
    Like the others, I can't see a business purpose for this trigger. I assume it's just an experiment to learn how triggers work.
    991096 wrote:
    Please help me with this, I have put a trigger on a table but it can not be triggered.Sorry, I don't understand what you want help with.
    Are you saying the trigger doesn't fire? It does fire; it just raises the mutating table error, so you don't see anything.
    case study: one class has many students, only one of them goes to match.What do you mean when you say "goes to match"?
    --table:
    DROP TABLE STU;
    DROP TABLE CLASS;
    create table CLASS(
    CID VARCHAR2(5) PRIMARY KEY,
    CNAME VARCHAR2(20) NOT NULL,
    SCHOSEN VARCHAR2(5));
    create table STU(
    SID VARCHAR2(5) PRIMARY KEY,
    SNAME VARCHAR2(20) NOT NULL,
    CID VARCHAR2(5) NOT NULL REFERENCES CLASS(CID) ON DELETE CASCADE);
    --data:
    --CLASS
    INSERT INTO CLASS(CID,CNAME) VALUES(1,'SUN');
    INSERT INTO CLASS(CID,CNAME) VALUES(2,'MOON');
    INSERT INTO CLASS(CID,CNAME) VALUES(3,'EARTH');
    --STU
    INSERT INTO STU VALUES(1,'JACK',1);
    INSERT INTO STU VALUES(2,'TOM',1);
    INSERT INTO STU VALUES(3,'LILY',2);
    INSERT INTO STU VALUES(4,'DUSTIN',3);
    --TRIGGER
    CREATE OR REPLACE TRIGGER CHECK_SCHOSEN
    BEFORE INSERT OR UPDATE OF SCHOSEN ON CLASS
    FOR EACH ROW WHEN (NEW.SCHOSEN IS NOT NULL)
    DECLARE
    DUMMY INTEGER;
    INVALID_STU EXCEPTION;
    VALID_STU EXCEPTION;
    MUTATING_TABLE EXCEPTION;
    PRAGMA EXCEPTION_INIT(MUTATING_TABLE, -4091);
    CURSOR DUMMY_CURSOR (ST VARCHAR2, CL VARCHAR2) IS
    SELECT SID FROM STU, CLASS
    WHERE STU.SID=ST AND STU.CID=CLASS.CID AND CLASS.CID=CL
    FOR UPDATE OF CLASS.SCHOSEN;
    BEGIN
    OPEN DUMMY_CURSOR(:NEW.SCHOSEN, :NEW.CID);
    FETCH DUMMY_CURSOR INTO DUMMY;
    IF DUMMY_CURSOR%NOTFOUND THEN
    RAISE INVALID_STU;
    ELSE
    RAISE VALID_STU;
    END IF;
    CLOSE DUMMY_CURSOR;
    EXCEPTION
    WHEN INVALID_STU THEN
    CLOSE DUMMY_CURSOR;
    DBMS_OUTPUT.PUT_LINE('PLEASE RE-ENTER CLASS ID AND STUDENT ID AS CLASS OR STUDENT IS NOT VALID.');
    WHEN VALID_STU THEN
    CLOSE DUMMY_CURSOR;
    DBMS_OUTPUT.PUT_LINE('STUDENT CHOOSE SUCCEFULLY!');
    WHEN MUTATING_TABLE THEN
    NULL;
    END;
    /Thanks for posting the CREATE TABLE, INSERT and CREATE TRIGGER statements; that really helps!
    See the forum FAQ {message:id=9360002} for other helpful tips, such as how to use \ tags to post formatted code.
    Just copy and paste above and try to run following:
    UPDATE CLASS
    SET SCHOSEN=3
    WHERE CID=1;
    Clearly,you can not choose student which is 3 as match member of class 1. The trigger did not be triggered. Please help me. Thanks.You can't do DML, or even query, the class table from a FOR EACH ROW trigger on the same class table.
    Add 3 more calls to put_line to see this:CREATE OR REPLACE TRIGGER CHECK_SCHOSEN
    BEFORE INSERT OR UPDATE OF SCHOSEN ON CLASS
    FOR EACH ROW WHEN (NEW.SCHOSEN IS NOT NULL)
    DECLARE
    DUMMY          INTEGER;
    INVALID_STU      EXCEPTION;
    VALID_STU          EXCEPTION;
    MUTATING_TABLE      EXCEPTION;
    PRAGMA           EXCEPTION_INIT (MUTATING_TABLE, -4091);
    CURSOR DUMMY_CURSOR (ST VARCHAR2, CL VARCHAR2) IS
    SELECT SID
         FROM      STU
         ,     CLASS
         WHERE     STU.SID          = ST
         AND     STU.CID          = CLASS.CID
         AND     CLASS.CID     = CL
         FOR UPDATE OF           CLASS.SCHOSEN;
    BEGIN
    dbms_output.put_line (:NEW.schosen || ' = schosen entering check_schosen');     -- ***** NEW *****
    OPEN DUMMY_CURSOR (:NEW.SCHOSEN, :NEW.CID);
    dbms_output.put_line ('Cursor is open now.');     -- ***** NEW *****
    FETCH DUMMY_CURSOR INTO DUMMY;
    IF DUMMY_CURSOR%NOTFOUND THEN
    RAISE INVALID_STU;
    ELSE
    RAISE VALID_STU;
    END IF;
    CLOSE DUMMY_CURSOR;
    EXCEPTION
    WHEN INVALID_STU THEN
    CLOSE DUMMY_CURSOR;
         DBMS_OUTPUT.PUT_LINE ('PLEASE RE-ENTER CLASS ID AND STUDENT ID AS CLASS OR STUDENT IS NOT VALID.');
    WHEN VALID_STU THEN
         CLOSE DUMMY_CURSOR;
         DBMS_OUTPUT.PUT_LINE ('STUDENT CHOOSE SUCCEFULLY!');
    WHEN MUTATING_TABLE THEN
    DBMS_OUTPUT.PUT_LINE ('MUTATING TABLE');     -- ***** NEW *****
         NULL;
    END;
    Output, when trying to UPDATE class:3 = schosen entering check_schosen
    MUTATING TABLE
    1 row updated.
    Obviously, the trigger fired, since you see the message "3 = schosen entering check_schosen"
    Obviously, the OPEN statement raised an error, since you don't see the message 'Cursor is open now.'
    Obviously, the mutating table error was raised, since you see the message 'MUTATING TABLE'.
    So the trigger fired, and went to the EXCEPTION handler almost immediately.  The EXCEPTION handler printed a message, as instructed, and the trigger ended.  Then the actual UPDATE took place.
    I hope this answers your question.
    If not, what is your question?  It may be very clear to you, but a complete mystery to others.  Ask clear questions, such as "Why did ... happen?  I thought ... would happen, be ... as the PL/SQL manual says at ...".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Flex image bitmap data crop when zoomed in/out

    I have an uploaded image cropped using flex handles,but I recently added the zoomIn/Out buttons so that uploaded big image can be zoomed out, the problem is : When zoomed out, am not able to fetch the crop handle Rectangle contents, Can some one please help out, am struggling since a day, I can share the whole code if some one can help..Thank you.
    <mx:UIComponent id="snapshotHolder" width="18" height="29" x="690" y="0"/>
       <example:SimpleFlexShape id="flexShape1" model="{flexModel1}" click="alignCropRectangle(2)"
      width="0" height="0" y="0" x="0" enterFrame="alignCropRectangle(1)" />  
       <mx:UIComponent id="snapshotHolder" width="18" height="29" x="690" y="0"/>
       <example:SimpleFlexShape id="flexShape1" model="{flexModel1}" click="alignCropRectangle(2)"
      width="0" height="0" y="0" x="0" enterFrame="alignCropRectangle(1)"/>
    var mat:Matrix = new Matrix();
       var rect:Rectangle = new Rectangle(0,0, flexModel1.width,flexModel1.height);
       //Moves the rectangle to the correct position to capture photo.
      mat.translate(-flexModel1.x, -flexModel1.y);  
      pic = new BitmapData(flexModel1.width, flexModel1.height, true);
       if(snapshotHolder.numChildren > 0)
      snapshotHolder.removeChildAt(0);
      pic.draw(uploadedImage.bitmapData,mat, new ColorTransform(),null,rect,true);
    private function alignCropRectangle(clickNbr:Number) : void {  
       //conditions that must be met so the box stays within the Uploaded Photo window
       if (ratio != 1.3) //Ratio should be 1:1.3
      ratio = 1.3;  
      flexModel1.height = flexModel1.width * ratio;
       if (flexModel1.x < 0)
      flexModel1.x = 0;
       if (flexModel1.y < 0 )
      flexModel1.y = 0;
       if(flexModel1.width > uploadedImage.sourceWidth) {
       //flexModel1.width = uploadedImage.sourceWidth - 30;
      flexModel1.height = flexModel1.width * ratio;
       } else if(flexModel1.width > 640) {
       //flexModel1.width = 640; //Doug Photo Crop issue
      flexModel1.height = flexModel1.width * ratio;
       if(flexModel1.height > uploadedImage.sourceHeight) {
       //flexModel1.height = uploadedImage.sourceHeight - 30;
      flexModel1.width = flexModel1.height/ratio;
       } else if(flexModel1.height >= 480) {
       //flexModel1.height = 480; //Doug Photo Crop issue
      flexModel1.width = flexModel1.height/ratio;
       /*When the user hold and drag the rectangle out of the display area
      the rectangle box comes backs to it's original position.*/
       if(clickNbr == 2) {
       if (flexModel1.x + flexModel1.width >= uploadedImage.sourceWidth)
      flexModel1.x = uploadedImage.sourceWidth - flexModel1.width;
       if (flexModel1.y + flexModel1.height >= uploadedImage.sourceHeight)
      flexModel1.y = uploadedImage.sourceHeight - flexModel1.height;

    I’m not sure I understood your problem.  You might also find that you’ll get better help by asking on the Apache Flex [email protected] mailing list.
    -Alex

  • BSP Exception: Missing reference when converting data object ZZxx

    Hi there,
    I have created these new Z fields and tried to include them in a field group. These fields did appear, but they are highlighted with a red box, with the above text in the tool tip.
    Does anyone know what it means??
    Thanks

    I believe they were generated by EEWB - or could've been added manually to the CRMD_CUSTOMER_H. This error only occurs on the Currency fields...something to do with reference field but I just can't find what is wrong with this. I searched up SAP notes and found the following the closest match: -
    <b>Symptom</b>
    when trying to scroll down in the result list in the F4 for the Ibase the error error "BSP exception : Missing reference when converting data object amount.  Correct the entry" occurs.
    <b>Other terms</b>
    CRMT_BSP_IBASE_TREE_NF, data object amount
    <b>Reason and Prerequisites</b>
    This happens due to inconsistancy in structure
    <b>Solution</b>
    Please follow the below steps manually.
    1. Go to tx:SE11
    2. Select data type "CRMT_BSP_IBASE_TREE_NF" in change mode
    3. Select component AMOUNT in 'Components' tab
    4. Go to "Currency/quantity fields" tab
    5. Replace 'Reference table' entry from 'CRMT_BSP_IBASE_DETAIL'
       to 'CRMT_BSP_IBASE_TREE_NF'
    6. Save and activate

  • Detailed approach when the used Live cache data area crosses the threshold

    Hi,
    Could any of you please let me know the detailed approach when the used Live cache data area crosses the threshold in APO system?
    The approach I have as of now is :
    1) When it is identified that data cache usage is nearly 100%, check for hit rate for OMS data in data cache in LC10 .Because generally hit rate for OMS data in data cache should be atleaset 99.8% and Data Cache usage should be well below 100%.
    2) To monitor unsuccessful accesses to data cache choose refresh and compare value now and before unsuccessful accesses result in physical disk I/O and should generally be avoided.
    3) The number of OMS data pages (OMS Data) should be much higher than the number of OMS history pages (History/Undo).A ratio of 4:1 is desirable. If OMS history has nearly the same size as OMS data, use Problem AnalysisPerformanceOMS versions to find out if named consistent views (Versions) are open for a long time. Maximum age should be 8hrs.
    4)If consumption of OMS heap and data cache is large, one reason may be a long running transaction simulation that accumulates heap memory and prevents the garbage collector from releasing old object images.
    5) To display existing transactional simulations in LC10,use Problem AnalysisPerformanceOMS versions and SM04 to find out user of corresponding transaction and may be required to cancel the session after contacting user if the version open for long time..
    Please help me by providing additional information on the issue.
    Thanks,
    Varada Reddy.

    Hi Mayank, sorry, one basic question - are you using some selection criteria during extraction? If yes, then try extraction without the selection criteria.
    If you maintain selection based on, let's say, material, you need to use the right number of zeros as prefix (based on how you have defined the characteristic for material) otherwise no records would be selected.
    Is this relevant in your case?
    One more option is to try to repair teh datasource. In the planning area, go to extraction tools, select the datasource, and then choose the option of repair datasource.
    If you need more info, pls let me know.
    - Pawan

  • Office 2013 slow calculation when it contains hidden rows

    Hi,
    a colleague of mine has a very big excel sheet filled with product information.She recieves this from hq in japan.
    When we want to filter on product, it takes excel 1 minute to recalculate each time we select a different product.
    After a bit of experimenting , I've noticed that this is cause due to hidden rows/columns in the excel sheet.
    when i make it visible then it works like a charm.
    Is there a solution to this matter so that we can keep our rows and columns hidden because now we get to see too much data so it isn't easy to comprehend the file anymore.

    Hi,
    As far as I know, the "Filtering & hidden rows" are volatile actions that trigger a recalculation. It'll consume a lot of resource. We may try the following steps to improve Excel calculation performance.
    Use 64-bit Excel instead of 32-bit version.
    Processor Speed and Multiple Cores
    Add PC's RAM
    For more detail information, please refer to the following link:
    http://msdn.microsoft.com/en-us/library/office/ff700515(v=office.15).aspx#Office2007excelPerf_MakingWorkbooksCalculateFaster
    ======
    On the other hand, I recommend you use the big Excel file as database and re-create an Excel to read/report the data which you want. We can use
    PivotTable, PowerPivot and other Power BI add-ins to help us get/analyze the data. They are displayed the data which you want and hidden the data that you do not need.
    More reference:
    https://support.office.com/en-US/Article/Tutorial-PivotTable-data-analysis-using-a-Data-Model-in-Excel-2013-f9ad8310-3b5b-48a3-913d-5cc1b364ee46?ui=en-US&rs=en-US&ad=US
    http://office.microsoft.com/en-us/excel-help/overview-of-pivottable-and-pivotchart-reports-HP010342752.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in
    Office programs.

  • SSRS Report Group By Vertical and Horizontally with Detail Data

    Dears,
    I am expecting your help to achieve blow task in SQL Reporting Service. I am pulling data from a SharePoint List and my data set looks like below; and, I need to show those data in following layout;
    Group by: Destination and Week (vertical, horizontal)
    Detail : JobNo and VessleName (no aggregation and should show detail text data)
    How could I show that in SSRS Report? I tried Matrix and couldn’t get that layout yet; it shows me always 1<sup>st</sup> Job NO and Vessel Name for each Destination, not showing the rest.
    Kindly share with me guide lines attached is for your reference.
    ASP.Net, C#.Net, SQL Server ,Win32

    Dear Ricardo,
    I was trying your project with my real data and was not success.
    Also, when I check in details with my test data, I saw that Job2 is missing in your output.
    I can not find any reason why it is missing, could you please tell me what could be the reason?
    Also, it takes first lines of each Destination form below data as well, appropriate if you can test below data also.
    with SampleTable(Destination,WekkNo, JobNo, VesseName, ATA)
    as
     Select 'GENOA-ITGOA' , '7','J507979', 'AL BAHIA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J507981', 'AL BAHIA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J508342', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J508343', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508418', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508342', 'SUDAIR', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508343', 'SUDAIR', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508418', 'SUDAIR', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508606', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508607', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '8','J508608', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '8','J509006', 'HANJIN ELIZABETH', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J509007', 'HANJIN ELIZABETH', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J509129', 'HANJIN MALTA', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '10','J509130', 'HANJIN MALTA', '7/3/15' Union All  
     Select 'GENOA-ITGOA2' , '10','J509326', 'SUDAIR', '7/3/15' Union All  
     Select 'GENOA-ITGOA' , '10','J509327', 'SUDAIR', '7/3/15' 
    Select * from SampleTable
    ASP.Net, C#.Net, SQL Server ,Win32

  • Regarding detail data coming in a grid in a PO Report

    Hi
    I have a requirement where in the detail data need to be printed in a grid. I have placed this in the jfmain page and all the subforms in the next page.
    when i run the report for multiple purchase order numbers the grid is not coming from the second Purchase order number but the data is coming correctly.
    I am using ^eject for page break after each PO related data.
    Can any one help me in this regard.
    TIA
    vijay
    [email protected]

    Hi abilash n      
    as in dictionary, all quantity fields should have a reference to the unit field which then defines the number of decimals.
    The rest is done automatically as long as you do it standard way. In field catalog you have to set the fcat-qfieldname to the name of the field that has the unit.
    If you do so, also totals will be grouped by unit.
    SAP has really done a great thing by inventing  units for quantities (and currency keys for currency amounts). Only developers do not understand and thus refuse to use it.
    Regards,
    Clemens

  • Detailed Data Structure of ReFS file system in context of Forensic analysis

    Hi
    Please explain detailed Data Structure of ReFS file system  in context of Forensic analysis ?
    Regards

    Hi,
    I am not expert about this, this page links to ReFS resources that include Microsoft documentation
    As of today, ReFS is only available in Windows Server 2012 and ReFS is expected to be part of the flagship Windows desktop OS.
    Resilient File System Overview
    https://technet.microsoft.com/en-us/library/hh831724.aspx?f=255&MSPPError=-2147217396
    Improve File Server Data Resiliency with ReFS in Windows Server 2012
    http://blogs.technet.com/b/keithmayer/archive/2012/10/15/refs-in-windows-server-2012.aspx#.Ug0MvpLksaQ
    Windows Server 2012: Does ReFS replace NTFS? When should I use it?
    http://blogs.technet.com/b/askpfeplat/archive/2013/01/02/windows-server-2012-does-refs-replace-ntfs-when-should-i-use-it.aspx
    Resilient file system, MSDN reference
    https://msdn.microsoft.com/en-us/library/windows/desktop/hh848060%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    forensic images of ReFS volumes, and data structures.
    http://www.williballenthin.com/forensics/refs/
    Please note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Dereferencing of the NULL reference

    Hi,
    I have created an a form view with a value node "ZINVOICE" , i have written few lines of code to set the collection,
    create object lr_col
        type
          cl_crm_bol_bo_col.
       create data lr_tabline.
       ls_favs-PROCESS = 'mahe'.
       ls_favs-SERTYPE = 'SRVR'.
       create object lr_valuenode
          exporting
            iv_data_ref = lr_tabline.
      lr_valuenode->set_properties( ls_favs ).
      lr_col->add( lr_valuenode ).
    set collection
      me->zinvoice->set_collection( lr_col ).
    After this the node "ZINVOICE" has the collection ref and entity list shows the entity as well,
    But still wen i try to test the view it gives errors saying
    Cannot display view ZCNODE_INST/ZWASL of UI Component ZCNODE_INST
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    BSP Application:  ZCNODE_INST 
    View Layout:  ZWASL.htm 
    Method:  CL_O2D8A1MNCT9O5WAN3TF3CDQNNQY=>_ONLAYOUT 
    Source Text Row:  42
    can somebody help me with this,

    Hi Mannif,
    I am not including this view in any component as an AB, when i include in any other standard component it does work fine. The problem is when i try to run it as a stand alone component. I am trying to set the collection of the contect node. I tried the same for a model node with bol entity "BuilHeader". I set the collection using "CL_CRM_bol_query_services", and it worked fine.
    try.
    query ?= cl_crm_bol_dquery_service=>get_instance( iv_query_name = 'BuilHeaderAdvancedSearch' ).
    catch cx_sy_no_handler.
    endtry.
    CALL METHOD QUERY->add_selection_param
    EXPORTING
    iv_attr_name = 'PARTNER'
    iv_sign = 'I'
    iv_option = 'EQ'
    iv_low = '*'.
    *get query result*
    col = QUERY->get_query_result( ).
    CALL METHOD me->BP->SET_COLLECTION
      EXPORTING
        COLLECTION                    = col
    By the same logic is not working for a value node.

  • Access via NULL reference object not possible

    Hi friends,
      I have created an wda application which uses the table popin to display data.
      So that i have created a view with two of the  fields as link to action UI element.
      In the Events/Actions of the link to action element i implemented the following logic.
      data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
      data wd_popin             type ref to cl_wd_table_popin.
      data id type string.
    <b> wd_table_cell_editor ?= wd_this->m_view->get_element( id ).</b>
      wd_table_column ?= wd_table_cell_editor->get__parent( ).
      wd_popin = wd_table_column->get_popin( ).
      context_element->set_attribute( name = 'SELECTED_POPIN' value =
    wd_popin->id ).
    So when i click on the link to action in the table column of the field am getting the following error
    <b>Access via NULL reference object not possible.</b>
    While debugging i have noticed that this error was coming at the below step of the code.
    <b>wd_table_cell_editor ?= wd_this->m_view->get_element( id )</b>
    in the m_view->get_element( id ) does not contan any value , its showing as table , as null value cannnot be assigned may be its throwing the above error.
    But i didnt understand why the view is not getting UI element id ....
    Can one please suggest me where might be the wrong....
    Regards
    Sireesha.

    Hi nithya,
      Could you please calrify the doubts for the following q's.
    1. As u said in the above post, i have changed the code to the below.
         data: lr_table type ref to cl_wd_table,
    lr_table_col type ref to cl_wd_table_column.
    lr_table ?= wd_this->m_view->get_element( 'TABLE' ).
    lr_table_col = lr_table->get_column( ID = 'TABLE_CONNECTID' ).
      <b>wd_popin = lr_table_col->get_popin( ).</b>
    (At the above step which is in bold , eventhough there is value in lr_table_col->get_popin , its not assigning a value to the wd_popin, throwing same error NULL etc.,)
      context_element->set_attribute( name = 'SELECTED_POPIN' value =
    wd_popin->id ).
    2. Before changing the code suggested by u, the follwoing was the code from standard example.Its working fine in the application wdr_test_table.I have debugged the code.The value is getting assigned into wd_table_cell_editor.
    The same thing i have done but its failing to assign the value. thats y its throwing null reference error. Here i have a confusion how its assigning a value and y not in the z application.am giving the code below which is in standard and my application.Please clarify these.
    data wd_table_cell_editor type ref to cl_Wd_view_element.
      data wd_table_column      type ref to cl_wd_table_column.
      data wd_popin             type ref to cl_wd_table_popin.
      <b>wd_table_cell_editor ?= wd_this->m_view->get_element( id ).</b>
    ( Note :  wd_this->m_view->get_element contains value but not assigning it to the wd_table_cell_editor and same code in the standard behaving correctly like assigning the view value to the cell editor. Y this behavior, please advice me)
      wd_table_column ?= wd_table_cell_editor->get__parent( ).
      wd_popin = wd_table_column->get_popin( ).
      context_element->set_attribute( name = 'SELECTED_POPIN' value = wd_popin->id )
    Regards
    Sireesha.

  • Callback function may be NULL only when database handles are read-only

    Hi,
    I am getting some errors when trying to run my java code that will try to open a few cursors and join them to fetch the data.
    ath .:/usr/src/db-4.7.25.NC/java/src:/usr/local/BerkeleyDB.4.7/lib/db.jar bdbtest
    MyDbs: Callback function may be NULL only when database handles are read-only
    Error on inventory secondary cursor:
    java.lang.IllegalArgumentException: Invalid argument: Callback function may be NULL only when database handles are read-only
    What does that error mean? How can I resolve it? I am following the sample program and I can't find anything related.
    Here is my code.
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.Database;
    import com.sleepycat.db.SecondaryDatabase;
    import com.sleepycat.db.DatabaseConfig;
    import com.sleepycat.db.DatabaseType;
    import java.io.FileNotFoundException;
    import com.sleepycat.db.DatabaseEntry;
    import com.sleepycat.db.SecondaryCursor;
    import com.sleepycat.db.Cursor;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.LockMode;
    import com.sleepycat.db.OperationStatus;
    import com.sleepycat.db.SecondaryCursor;
    import com.sleepycat.db.SecondaryConfig;
    import com.sleepycat.bind.EntryBinding;
    import com.sleepycat.bind.serial.SerialBinding;
    import com.sleepycat.bind.tuple.TupleBinding;
    import com.sleepycat.db.Cursor;
    import com.sleepycat.db.DatabaseEntry;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.LockMode;
    import com.sleepycat.db.OperationStatus;
    import com.sleepycat.db.SecondaryCursor;
    public class bdbtest {
    public static void main(String args[]) {
    SecondaryDatabase myDatabase = null;
         Database primDB = null;
         Cursor cursor = null;
    try {
    // Open the database. Create it if it does not already exist.
    DatabaseConfig dbConfig = new DatabaseConfig();
         dbConfig.setErrorStream(System.err);
    dbConfig.setErrorPrefix("MyDbs");
         dbConfig.setType(DatabaseType.BTREE);
    dbConfig.setAllowCreate(true);
         SecondaryConfig mySecConfig = new SecondaryConfig();
         mySecConfig.setErrorStream(System.err);
    mySecConfig.setErrorPrefix("MyDbs");
         mySecConfig.setType(DatabaseType.BTREE);
    mySecConfig.setAllowCreate(true);
         primDB = new Database("/tmp/bdb_ca_db.db",
    "bdb_ca_db",
    dbConfig);
    dbConfig.setAllowCreate(true);
    myDatabase = new SecondaryDatabase("/tmp/bdb_ca_sdb.db",
    "ca_sdb_res_alias",
    primDB,
    mySecConfig);
         String res ="in-1";
         SecondaryCursor secCursor = null;
         DatabaseEntry searchKey =
    new DatabaseEntry(res.getBytes("UTF-8"));
         DatabaseEntry foundKey = new DatabaseEntry();
    DatabaseEntry foundData = new DatabaseEntry();
         secCursor =
    myDatabase.openSecondaryCursor(null, config);
    // Search for the secondary database entry.
    OperationStatus retVal =
    secCursor.getSearchKey(searchKey, foundKey,
    foundData, LockMode.DEFAULT);
         if (retVal == OperationStatus.SUCCESS){
              System.out.println("succ");
         }else {
              System.out.println("fail");
    while (retVal == OperationStatus.SUCCESS) {
    String keyString = new String(foundKey.getData(), "UTF-8");
    String dataString = new String(foundData.getData(), "UTF-8");
    System.out.println("Key | Data : " + keyString + " | " +
    dataString + "");
    secCursor.getNextDup(searchKey, foundKey,foundData, LockMode.DEFAULT);
         } catch (Exception e) {
    System.err.println("Error on inventory secondary cursor:");
    System.err.println(e.toString());
    e.printStackTrace();
         finally {
    // Make sure to close the cursor
              try {
              cursor.close();
              }catch (com.sleepycat.db.DatabaseException e) {
    System.out.println("All done.");
    }

    Hi,
    The error is because either the primary database or the secondary database is configured as read only and the callback to create the secondary keys is null. A quick glance of the code, it appears as if you did not set up the secondary database correctly. In the Getting Started Guide for JAVA API chap 10, we have detailed information on what needs to be done as well as a code example. Please refer to http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/JAVA/index.html and look for Chap 10.
    regards,
    Mike Brey, Oracle Berkeley DB

  • Null reference converted to a String

    I read somewhere that when a null reference is converted to a string, the result is the String "null", hence a null reference can be used freely within any string concatenation expression.
    for example:
    String str1 = null;
    String str2 = null;
    System.out.println(str1+=str2);//outputs "nullnull"
    Before I read about this, I would have thought that a NullPointerException would have been thrown.
    Can anyone explain the rationale behind this?

    This is not a property of String, its the property of
    the println method in the PrintStream class.No, that's not correct.
    Whenever Strings are concatenated, non-Strings are converted to Strings and null Strings are converted to the String "null". This is a property of the Java language itself.
    The expression a + b, where either a or b is a String, is converted into the expression:
    new StringBuffer().append(a).append(b).toString();
    It is the append method of StringBuffer that calls the toString method of non-String objects, calls String.valueOf on primitives, and converts null String references into the String "null". Even though it's an API call that technically produces this behavior, it is actually a feature of the Java language itself as is therefore explained in the JLS. See http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#39990 for details.

Maybe you are looking for

  • Problems with installation of Windows 8.1 with Arch Linux GPT

    Hi everyone, I have Arch Linux installed in EFI MODE with a GPT Partitioned disk. I'm trying to install Windows 8.1 on a partition, but the message that i get is "Windows cannot be installed to this disk. The selected disk is not of the GPT partition

  • BC-XI V3.0 Message Mapping with Java Class

    Hi all In the Integretion Builder Design i try to import a Java Class in order to convert a source to a target field. I have created an tested the class with the eclipse V3.0. If i import the source in a customized mapping function i always get the e

  • When I open a file in Firefox, how do I get it to include server side inserts

    <blockquote>Locking duplicate thread.<br> Please continue here: [/questions/755399]<br> Thanks - c</blockquote><br> I like to test my html before putting on my server; I do this by using FireFox / File / Open File and pointing to the file to open; th

  • Email notification of create user with password

    Hi all After creating user in oim with all details like user-id , password, user name,email....etc. The same information will be sent to his mail-id. Is OOTB template works for it, if yes which template i need to use Or if i go for custom which steps

  • HT1766 I am unable to sync my device apps back to my laptop

    I know that apple has removed the "sync" check box for apps - however highlighting all the apps on the phone display on the computer then pressing apply/sync seems to work.... i have software issues with my iphone and wish to rerstore it and start ag