How to avoid NullPointerException when the bursting of the jobs don't return any candidate data to burst?

Hi all

We are on 10.1.3.4... I created a job popping up every day and all is well when there are data addressing for that day (emails get generated without problems) but I get this error when no data is returned. I cannot ignore the emails but y at - it a way to avoid the error if there is no data to process for I can be sure that I am not ignoring real issues when there is a real treatment error out?

Thanks in advance for your time.

Kind regards

PJ

oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException

at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2163)

at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:371)

at org.quartz.core.JobRunShell.run(JobRunShell.java:195)

to org.quartz.simpl.SimpleThreadPool$ WorkerThread.run (SimpleThreadPool.java:520)

Caused by: java.lang.NullPointerException

at com.sun.java.util.collections.Hashtable.get(Hashtable.java:321)

at oracle.apps.xdo.batch.bursting.ProcessEnterpriseDocument.processLayout (unknown Source)

at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue (unknown Source)

at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument (unknown Source)

at oracle.apps.xdo.batch.BurstingProcessorEngine.endDocument (unknown Source)

at oracle.xml.parser.v2.XMLContentHandler.endDocument(XMLContentHandler.java:119)

at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:311)

at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)

at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest (unknown Source)

at oracle.apps.xdo.batch.BurstingProcessorEngine.process (unknown Source)

at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2055)

... 3 more

Hi PJ,.

If the model of data or rupture of query query returns no rows - BEEP will throw Null pointer Exception error.

THUS, our goal is to have 1 row who always gets compensated regardless of the logic of the report.

It is only through a work around on the SQL query.

Before spend you with this

1. how many reports does need this change?

2 are going you to the 11 g version all earlier?

3. If you think that his evidence for this change just to make the fake success on your Planner screen message, then proceed to test the approach below.

Application of model data:

****************

For example

/ real request * /.

Select empid as busrt_key,

EmpName,

empsal

WCP

where empdept in (10.20)

Union of all the

/ * query dummy to return 1 row always regardless of actual query * /.

Select 'burst_flag' busrt_key,

empname null,

empsal null

of the double

Bursting of query:

***************

Choose burst_key KEY,

'template_name' MODEL,

"rtf" TEMPLATE_FORMAT,

'pdf' OUTPUT_FORMAT,

cases where burst_key = 'burst_flag' then 'NA' else 'EMAIL' end DEL_CHANNEL, - note here, for dummy value used to send us emails with just the key to the success.

'- at-'email' "Parameter1".

"e-mail-cc" PARAMETER2,

"email - of" parameter3,.

"email subject" parameter4

PARAMETER5 "-body of the email."

PARAMETER6 'true '.

Of

(

/ * your logical real burst of request but just only the select clause that you will use in the KEY * /.

Select empid as burst_key

WCP

where empdept in (10.20)

Union of all the

/ * query dummy to return 1 row always * /.

Select "burst_flag" as burst_key - this value hardcoded must be synchronized in the data model and query failure

of the double

)

Impact of the model

***************

If you have aggregation functions in your RTF model such as sum() and count(), let me know.

Due to the addition of an additional dummy query, 1 row with a null value is generated which cause problem NAN (not a number) to your model. But that can be handled.

Thank you...

Tags: Business Intelligence

Similar Questions

  • How will I know when the synchronization is complete?

    Hello
    Is someone can you please tell me how do I know when the synchronization is complete?

    I paired a device (smart phone Samsung) - it worked good 10 minutes, yet on my phone says sync is complete, but any of the bookmarks do not appear on my computer 'main '.

    Hello.

    It is possible to "Synchronize now" in the version of office when you go to tools > synchronize now
    You can check the timestamp of the last synchronization status in the topic: config page one and find the last sync, and there will be a timestamp it. Firefox Sync troubleshooting and tips for more information.

  • Stolen phone. How can I check when the last time saved my phone to my laptop (without my iphone of course)?

    My iPhone was stolen. How can I check when the last time that I backed up my phone to my laptop without my iPhone?

    Click here and either use iTunes to check or browse to the path of the backup manually.

    (142338)

  • How will I know when the capsules are on?

    Original title: caps Inspiron 1545?

    How will I know when the capsules are on?

    Hey, Vince,.

    Caps lock key are you referring?

    If you look above the keyboard on the right, you will see two fires instead of one.

    In addition, you will type in uppercase when the key is turned on

  • How to print photos when the display screen is white? The image is missing in it.

    How to print photos when the display screen is blank?  It shows only a white screen empty when I select the photo and press on print.

    You click on a film image in the print module? And, I guess you don't have to go to the Print module, right?  Additionally, make sure that you have chosen to make a custom package.  If you chose the custom package you need to drag and drop images and organize them.

  • How can I detect when the last container in my stream is full?

    I have a bunch of related containers which I am flowing text through. How can I detect when the text has filled a container? There's an overflowPolicy then I guess it can be detected.

    Hello

    I used this:

    private function IsOverset(textFlow:TextFlow):Boolean

    {

    var zeComposer:IFlowComposer = textFlow.flowComposer;

    var iTextLen:int = textFlow.textLength;

    var iNoController:int = zeComposer.findControllerIndexAtPosition (iTextLen - 1);

    return (iNoController is-1);

    }

    HTH,

    J.

  • How to avoid accidentally getting the split screen. I never want that. 3.6.11 version. Thank you

    I don't know how I did it, but now when I go to drag a web page below on the right scroll bar another mini bar appears. If I accidentally hit that all of a sudden I have two pages to the top at the same time and I can't get back to where I was without closing the page entirely.

    How to avoid this? I rarely want to two pages at the same time.

    Thank you

    This isn't a feature built into Firefox. You have an add-on like Fox Splitter installed? This one seems to do what you describe.

  • How to avoid synchronization of the settings between two computers

    I have two computers (a desktop computer all-in-one DELL and HP laptop).  Log-in at once is my Microsoft account.

    PROBLEM: When I 'customize' screen on one, the same changes are made on the other.   It is not desirable.  How to avoid that, far from making a second Microsoft account?

    To clarify - the ICONS are not duplicated, just any changes made to the themes of office such as colors or backgrounds.

    Thanks in advance!

    Hello Beckinista,

    Thanks for posting your question on the Microsoft community.

    Thank you for your query details.

    I also like the fact you want to avoid synchronization of the settings between two computers.

    I suggest you stop the synchronization of all of the settings between two computers and check if it helps.

    Please see this link:
    Sync between multiple PCs with OneDrive settings
    http://Windows.Microsoft.com/en-us/Windows-8/sync-settings-PCs

    Note: Please see section "to stop all sync settings" in the article above.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • pavillion17: How do I know when the laptop was made

    I was wondering if the laptop that I just bought is a current model or a THST was manufactored earlier and maybe technologically as along a life. You know say manufactored a few years but not til now so its new, but perhaps not as common, sold as an act of that year and sold now no matter how to kn where and when it has been implemented

    Hello:

    As far as I know, all portable HP are assembled in China.

    The serial number will provide the year and week of manufacture...

    For the serial number, the classic format is to have the 4th, 5th and 6th characters of reference when the product was built.  The fourth character is the date of the year (Y) and the following two (WW), the week this year, it has been made.

    CCSYWWZZZZ

  • How to schedule defragmentation when the next next sched defrag NEVER shows

    even if I set the defragmentation schedule, it shows always NEVER at the next scheduled time. How do change you that?

    Hello

    You did changes to the computer before the show?

    Please follow the steps below.

    Method 1:

    Run the tool from the link below System File Checker.

    http://support.Microsoft.com/kb/929833

     

    Method 2:

    Restore the system to the date and time when the computer was working fine.

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore

  • How do I know when the garbage collector/timer icon is active

    Hello

    I want to listen to changes on the phone screen, I saw peter made a suggestion in another thread a couple of years ago which resulted in using locateDfference, however, it signals a potential hole in his suggestion where, in the case where the display of the icon of the timer - the screen is constantly evolving but doesn't not really relevant to the screen are underway only the flag icon and network timer trigger changes.

    I'm now trying to fill the holes, my code detects the difference of bitmaps of the screenshots, the code works, but when the garbage collertor is active it triggers a change detected in my code.

    I think the easiest option is to ask the api is the garbage collector active - I printed visible applications and the garbage collector is never one of them, but I do not see that the processid is changing all the time and then maybe one of these processid I see in the console is the collecvtor of garbage and I can detect when it is active - does anyone know if I can find the processid of the garbage collector, or listen to it comes to about (the timer icon display)?

    If this is not possible then maybe if I can get a proper report to the timer by screen size then I can work around the icon.

    Any suggestions how to overcome my problems are welcome.

    Thank you.

    It's a shame...  Like Simon, I'm n0t aware of a way to detect that the gc is running or display the icon, sorry.

  • How do I know when the call is received by the receiver

    How to know the time of the receipt of the appeal by the appellant to the appellant.

    for example. say 'A' called 'B'... then how 'A' will know the time if the 'B' has received the call

    is there any way to get the time of the receipt of the appeal.

    more details please. Is that what your application installed on A or b.

    Looking for the time that the device has started ringing or when the beneficiary has answered the phone.

    Let us know what you're trying to do, we can help you more.

    Also look at the PhoneListener interface.

  • CS6 fluid grids - how images to resize when the page is resized? [was: Hello]

    I am new to fluid layouts in Dreamweaver cs6 grid, I want to insert a GIF file on my index page but I don't know how to make when the page shrinks the GIF or image shrinks as well. The only code that I found is

    IMG, {}

    Max-width: 100%;

    }

    But this code already exists in the css file when you create a new fluid page layout grid in function

    IMG, object, embed, {video

    Max-width: 100%;

    can someone help a newbie please...

    I fixed it thank you all for the answers

    front

    kylechildressanimation

    After

    kylechildressanimation

    This fixed thank you

  • How to disable Lov when the value of the attribute is NULL at the level line

    Hi all

    JDev 11.1.1.5.0

    I have a view as a table ADF jsff page object. Value of the attribute in a row may have null values.
    And I want that Lov must be disabled when the value of the attribute in the row is null or not.
    So please suggest me how can I implement this.

    Kind regards
    Marie-Claude

    Set to the disabled for LOV attribute property

    disabled="#{bindings.YourAttribute.inputValue eq null}
    {code}                                                                                                                                                                                                                                        
    
  • How to load something when the image appears

    Hello. I have a load_swf button that does this:

    swf_path = "sample.swf"

    load_swf.onRelease = function() {}

    loadListener.onLoadProgress = {function(target_mc:MovieClip,_bytesLoaded:Number,_bytesTotal:Number):Void}

    info.text = Math.round ((bytesLoaded/bytesTotal) * 100) + "%";

    };

    loadListener.onLoadInit = {function(target_mc:MovieClip):Void}

    info.text = "";

    };

    var mcLoader:MovieClipLoader = new MovieClipLoader();

    mcLoader.addListener (loadListener);

    mcLoader.loadClip (swf_path, swf_loader);

    };

    I want to do without having to press the button. I want to do when the image appears on the screen. Something like OnClipEvent (load) the problem is that I do not know how to convert this code works with OnClipEvent (load), can you help me?

    use:

    swf_path = "sample.swf"

    loadListener.onLoadProgress = {function(target_mc:MovieClip,_bytesLoaded:Number,_bytesTotal:Number):Void}

    info. Text = Math.round ((bytesLoaded/bytesTotal) * 100) + "%";

    };

    loadListener.onLoadInit = {function(target_mc:MovieClip):Void}

    info. Text = "";

    };

    var mcLoader:MovieClipLoader = new MovieClipLoader();

    mcLoader.addListener (loadListener);

    mcLoader.loadClip (swf_path, swf_loader);

Maybe you are looking for

  • Apple Dock of lightning - line level output?

    I have a question that maybe with that you audiophiles out there can help.  Descriptions and comments from the dock connector 30 pins for the pre at first touch screen iPod claimed (correctly I think) that the mini stereo 3.5 mm output port of these

  • the font size on the screen

    How to change the size of the characters displayed on the current screens of k high resolution 4 k and 5 - we become old and posted letters are too small for quik and easy playback and editing. And the zoom tool is too bulky to use - I want to see th

  • I lost the icons of Favorites after that my internet has been closed and then brought back to the top.

    My internet was arrested by chance by Comcast. When they corrected it and he turned his back, my favorites icons have disappeared. The texts are always there, but without icons. It is very useful to have the icons.

  • Qosmio F25 - lost BIOS PASSWORD

    Hello Kid of this friend was messing around with the BIOS, and now he forgot the passwd of admin he setup for his mom's laptop. She is a very good friend of mine, and after doing some research on the Internet I discovered that there is a way to get a

  • HP Officejet 4622 scanning preferences

    Hi all I was wondering if anyone had a good understanding on how to change the settings for scanning on my 4622?  I'm looking for a resolution higher than the default value. Thank you!