Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nullpointer exception is thrown when we execute a report which is generated using a data design and doesn't include default library in IHUB. #389

Merged
merged 4 commits into from
Apr 7, 2017

Conversation

baswani
Copy link
Contributor

@baswani baswani commented Apr 7, 2017

Problem:

    Data set options and external meta data is not getting set for

the
reports with out fincluding libraries.
This is why it is not able to find the corresponding data set
and
resulting in nullpointer exception.

     Solution :

    For reports which inculed library  while serializing, we were
copying
    the report, writing the copied report and returning the copied
report
    design handle. This is why all the options and externalmetadata

is
being
carried out. and is able to get the dataset based on these
values.

    The same is applied for the reports which doesn't include

libraries.
In the existing code for no libraries while serializing, we were
copying
the report, writing the copied report and return the original
report
design handle. So changed the behaviour to return the copied
report
design handle.

    Signed-off-by: aswanib <aswanib@IN08282.opentext.net>

aswanib and others added 4 commits April 7, 2017 09:53
generated using a data design  and doesn't include default library in
IHUB.

Problem:

Data set options and external meta data is not getting set for the
reports with out fincluding libraries.
This is why it is not able to find the corresponding data set and
resulting in nullpointer exception.

 Solution :

For reports which inculed library  while serializing, we were copying
the report, writing the copied report and returning the copied report
design handle. This is why all the options and externalmetadata is being
carried out. and is able to get the dataset based on these values.

The same is applied for the reports which doesn't include libraries.
In the existing code for no libraries while serializing, we were copying
the report, writing the copied report and return the original report
design handle. So changed the behaviour to return the copied report
design handle.


Signed-off-by: aswanib <aswanib@IN08282.opentext.net>
    generated using a data design  and doesn't include default library
in
    IHUB.
    
    Problem:
    
    Data set options and external meta data is not getting set for the
    reports with out fincluding libraries.
    This is why it is not able to find the corresponding data set and
    resulting in nullpointer exception.
    
     Solution :
    
    For reports which inculed library  while serializing, we were
copying
    the report, writing the copied report and returning the copied
report
    design handle. This is why all the options and externalmetadata is
being
    carried out. and is able to get the dataset based on these values.
    
    The same is applied for the reports which doesn't include libraries.
    In the existing code for no libraries while serializing, we were
copying
    the report, writing the copied report and return the original report
    design handle. So changed the behaviour to return the copied report
    design handle.
    
    
    Signed-off-by: aswanib <aswanib@IN08282.opentext.net>
    generated using a data design  and doesn't include default library
in
    IHUB.
    
    Problem:
    
    Data set options and external meta data is not getting set for the
    reports with out fincluding libraries.
    This is why it is not able to find the corresponding data set and
    resulting in nullpointer exception.
    
     Solution :
    
    For reports which inculed library  while serializing, we were
copying
    the report, writing the copied report and returning the copied
report
    design handle. This is why all the options and externalmetadata is
being
    carried out. and is able to get the dataset based on these values.
    
    The same is applied for the reports which doesn't include libraries.
    In the existing code for no libraries while serializing, we were
copying
    the report, writing the copied report and return the original report
    design handle. So changed the behaviour to return the copied report
    design handle.
    
    
    Signed-off-by: aswanib <aswanib@IN08282.opentext.net>
        generated using a data design  and doesn't include default
library
    in
        IHUB.
    
        Problem:
    
        Data set options and external meta data is not getting set for
the
        reports with out fincluding libraries.
        This is why it is not able to find the corresponding data set
and
        resulting in nullpointer exception.
    
         Solution :
    
        For reports which inculed library  while serializing, we were
    copying
        the report, writing the copied report and returning the copied
    report
        design handle. This is why all the options and externalmetadata
is
    being
        carried out. and is able to get the dataset based on these
values.
    
        The same is applied for the reports which doesn't include
libraries.
        In the existing code for no libraries while serializing, we were
    copying
        the report, writing the copied report and return the original
report
        design handle. So changed the behaviour to return the copied
report
        design handle.
    
    
        Signed-off-by: aswanib <aswanib@IN08282.opentext.net>
@yulinwang yulinwang merged commit 21a9927 into eclipse-birt:master Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants