R/3 Report equivalent in BW
Hi there everyone. I've been given a task to decide on how to extract from R/3 some SD data. In R/3 there is a Z Report that gives some values. Well, my client wants me to replicate these same values/key figures in BW. They don't know how exactly the data is calculated. There is no documentation about the R/3 Report. It's not a simple table, its table looking to other table, making some calculation and on and no...
The question is how should I start my investigation of Business Content in order to know if this key figures are there or not.
I tried with simple key figure Description search, but there is no luck.
What are the normal, typical, standard steps or procedure to find if there are needed Key Figures in Business Content.
Thanx a lot!
There is no need for the ABAP person to have BW knowledge, just him the source tables that are involved in that Z report.
After collecting the tables based on your need create a View or FM and create a Generic data source.
replicate the data source
Create the DSO/IC to store the data (follow the steps that u follow for other standard data sources).
Check the below links for creating generic data source
SAP BI Generic Extraction Using a Function Module
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33?quicklink=index&overridelayout=true
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
Regards
KP
Similar Messages
-
SCCM 2012 Report equivalent of WSUS Report
In the old WSUS admin console you could set your display under All Computers (and other computer groups) to show patches that were Failed/Needed/Applied. I found this EXTREMELY useful. I can not find an equivalent within SCCM 2012. Does such a report exist
and if not, how do I go about making one? Software Updates A - Compliance, Compliance 1 is sort of close but it makes you click multiple times to get one report and you have to do it for each group. In WSUS all you had to do was click once or twice and I see
no option equivalent to All Computers.
Ben JohnsonWYHere's the whole set:
http://social.technet.microsoft.com/Forums/en-US/78d145bb-81d2-45c7-9e23-d0980aaaf7ca/sccm-2012-r2-how-to-get-ipaddress-working-in-my-custom-report?forum=configmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/d27bf671-91b4-45e9-bbc9-a3da9a4fd628/sccm-2012-compliance-7-customize-for-total-updates-needed?forum=configmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/e865c492-9058-4141-9af7-26b280fbfe0b/sccm-2012-reporting-code-returns-same-value-for-total-number-of-required-updates-per-computer?forum=configmanagergeneral
http://social.technet.microsoft.com/Forums/en-US/1e5a2644-4eb7-4bed-92a3-a07d670bbb51/software-update-compliance-report-in-sccm-2012?forum=configmanagersecurity
http://social.technet.microsoft.com/Forums/en-US/3e3e0120-7e8c-4c9f-a1e0-4dc1fffe0618/sccm-2012-report-equivalent-of-wsus-report?forum=configmanagergeneral
Hope it helps
Ben JohnsonWY -
Crystal Reports - Wildcard in Command parameter
This is what i use now
{Command.COUNTRY} like {?Country}
?Country is a value entered by the user, this could be upper case or lower case and could be part of the country name.
What is the crystal reports equivalent to achieve the above.
something like
caseinsensitive {Command.COUNTRY} like {%?Country%}
CStr did not work do did
{Command.COUNTRY} like '%'{?Country}'%'Things are a little different in CR...
#1) The wildcard you're looking for is "*" not "%"
#2) Use the "&" to concatenate strings. Save the "+" for addition
#3) Using a hard coded string, the formula would look like this...
{Command.COUNTRY} like "*erman*"
#4) Unfortunately, sticking wildcard characters to either end of a parameter doesn't work the same as it does with hard coded values.
#5) Fortunately, you're using a command... So #4 doesn't matter... Assuming of course that you are trying to create a record selection formula.
#6) You're do doing your record selection in the wrong place... If you're using a command, you need to add the parameter to the WHERE clause of your SQL query...Again, working with the assumption that this is for record selection.
#7) How to accomplish #6...
- 1) Right click and choose Edit... to open the command in edit mode.
- 2) Add the parameter to the parameter list. Make sure to spell it EXACTLY the same as you have it spelled in the designer (otherwise you'll create a 2nd, unrelated parameter)
- 3) Add or modify the WHERE clause to the command SQL. In your case (assuming MS SQLServer based on the syntax you posted).
It should look something like this...
WHERE TableName.Country LIKE '%{?Country}%'
CR will drop the parameter values into the SQL replacing the parameter name with the parameter value before sending it to the server. No need to write dynamic SQL!!!
The code sent to the server would look something like this...
WHERE TableName.Country LIKE '%Germany%'
#8) If you're wandering why it matters or why you don't want to use the Selection Expert when using a command?
Answer: When you use a command, CR is no longer able to push it's logic back to the server. So the command will pull EVERY record without any filtering back to your local workstation where it will be filtered locally. Adding the where clause to the command itself avoids the issue altogether.
HTH,
Jason -
Append Multiple Control Images as a 2-D array/tabl​e ?
All
I am trying to generate a report and I wish to have the following pattern:
Image Blank Image
Blank Image Blank
Image Blank Image
Where I intend to place my control images at "Image" and no image at "Blank"
I thought I can build a table of control images and append but it accepts only string/numeric tables.
Is there a easier way to include images into WORD report, equivalent to: me inserting a 3x3 table in a word document, and pasting images in 1st row 1st column, 1st row 3rd colum, 2nd row 2nd colum, 3rd row 1st column, 3rd row 3rd column.
Please let me know, thanks
Kudos always welcome for helpful postsThat example was cool. I wish to add images to table using control reference.
I tried using the control reference to get image, save as a png and then use it to add images. Is there a way that I can use the control reference to add images to my table directly ?
Kudos always welcome for helpful posts -
What is equivalent ASCP report for Planned Order&Order Reschedule Report
What is equivalent report for Supply Chain Planned Order Report & Supply Chain Order Reschedule Report
We are currently on MRP and running Supply Chain Planned Order Report successfully. We are planning to go to ASCP(Decentralized) next month ,what is the equivalent reports in ASCP?
Edited by: SanDan on Jan 9, 2013 1:57 PMHi ,
You can explore the Planning Detail Report which you can run against your ascp plan. However there are few standard reports available in ascp. I suggest you can explore option of building custom report which will be best suited to your business needs (i.e. using Discoverer or if you are also implementing obiee you can build a custom report based on standard views or noitex views (- for ascp)
Regards
narendra -
Report script command equivalent for @relative calculation command
HI ,
We have a calculation script which has a fix statement like below :
FIX( Grade, "w/o LO", "Line Options", AtLaunch, @DESCENDANTS("470.92"), @DESCENDANTS("Price Item"), @RELATIVE("Total Region", 0) )
We are trying to make a reportscript which gives us the format of the set of database being calculated.
So we are tranforming the above calc script commands into equivalent report script commands. We are struck with the @Relative command.
Can somebody tell us what is the equivalent report script command for @Relative calculation script function.
Regards
OKUThere's no direct analogue, but you can use the <LINK command along with <DESCENDANTS and <LEV to get pretty close. See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/rwriter/link.htm
JExport (if pre 9.3) or DATAEXPORT (if 9.3 or greater) may also be options and will in fact allow @RELATIVE to be used.
Regards,
Cameron Lackpour -
Equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT
Hi,
What is the equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT?
- SelvaHi,
I don't think you have any particular command for that in reports. but if you are talking about headers / footers then you may use the events TOP-OF-PAGE and END-OF-PAGE.
Regards,
Anand Mandalika. -
Dateadd equivalent in Webi reporting
Hi,
I need to do some date manipulations in Web Intelligence on the reporting side - at least until our developers add some additional items to our universe. Is there a way to add hours and/or minutes to a time - say to move it one hour ahead? I know that in sql it's simple to use dateadd or similar but not sure how to do it in webi.
While I'm asking, is there also a datediff equivalent?
Thanks!
JohnThe Function in WebI is RelativeDate(date input_date; integer num_days ).
It returns the Date that is Input date + number of days.
For adding time, you can divide a day by hours/seconds.
eg : RelativeDate(ExampleDate;0.004)
ExampleDate = 01/01/01 2:00 PM
New Date = 01/01/01 2:05 PM -
@RELATIVE() equivalent function in Financial Reporting Studio?
All,
Is there an FR equivalent function to the @RELATIVE() function in Essbase?
Specifically, I'm trying to select Level 0 descendants of a particular member.
e.g. @RELATIVE(MEMBER,0) would be the equivalent function in Essbase.
I've tried to use the RelativeMember function, but that does not appear to do the same thing.
I also tried to union two selections, but that just returns an MDX error.
e.g. assume I want to return child 2 and 3
Dimension
Parent A
Child 1
Parent B
Child 2
Child 3
Lev0,Dimension NOT Descendant Parent A (this is not the actual syntax, but an explanation of what I tried). This returns an MDX error to do with "NOT".
Any help is appreciated...That was extremely helpful. I was able to get it working with the following syntax
Descendants of <Member> AND System-defined member list Lev0,<Dimension>
Thanks again for your help. -
Equivalent for @redescendants in Report Writer?
I use a free form Report in MS Excel and would like to output all descendants of a shared member. The Outline looks like that:Product 100 100-10 100-20 100-30 200 200-10 200-20 200-30 200-40 Diet 100 (Shared Member) 200 (Shared Member)The report should show all descendants of Diet, i.e. 100, 100-10, 100-20, 100-30, 200, 200-10, 200-20, 200-30, 200-40.In member formulas I can use the @rdescendants function, but is there any way to output the descendants in a Report? We use Essbase 6.2.2Your help would be very much appreciated.Thank youGerald
<IDESC DietTim TowApplied OLAP, Inc
-
Equivalent of Report Business Service - DownloadReport with 8.1/BIP
Hi,
We are currently upgrading from Siebel 7.5.3 to Siebel 8.1.1.1, and with it are moving from Actuate to BI Publisher. In 7.5.3 I have workflows that use two methods belonging to the Report Business Service - ExecuteReport and DownloadReport. They allow me to run a report and automatically save it to a specific location. I need to be able to do the same with my BIP reports. I am setting up a workflow process to generate the report (using the RunBIPReport and GenerateBIPReport methods). There is no method to download my newly generated report, and I need to go to the My Reports screen and download the report manually. I really need to automate this process and I have reports running on a daily basis that are then automatically picked up and emailed to clients. If any knows of a workaround that would allow my reports to be downloaded to a specified location without any intervention I would be extremely grateful.
Many thanks,
ClaireI looked a bit further into this white paper and the code behind it. There is at least one method argument (thankfully optional) incorrect. However, I have a wider concern on why they would discuss this as a way of replacing proposals without looking at non-scripting alternatives. I understand people may need a way to copy publisher documents as attachment (and may not want to use the undocumented FINS Industry BC methods) but for a typical "proposal replacement" the document would not need to be moved to the attachment objects it can remain in the Report Output BC.
This can be done entirely in declarative alternatives. I chose to extend the Report Output BC to contain parent row id (why on earth this is missing in the first place is beyond me) and duplicated the applets so we have in other business objects such as Case a search spec for the parent row id = ParentFieldValue(Id). The Report Output List Applet was also replaced with a modified search spec to not show where parent row id is populated so people cannot delete "Case Reports". The production of the report is of course slightly quicker since the copy/paste to attachment is not needed.
I cannot help but think Siebel came up short on this in the rush to get something out and I do appreciate the improvements in this release. I just hope, indeed expect, other developers to also look at other solutions and that the copy function is made available as hidden BS in a future release (as it is for FINS) but is an option rather than the basis. Give us the parent row id in vanilla Siebel! -
Help my safari doesnt open and gives me a crash report
help my safari doesn't open and gives me a crash report ever since i downloaded a file from the internet. I have a macbook air (early 2014) with running os x yosemite version 10.10.1
There is no need to download anything to solve this problem.
You may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
Back up all data before making any changes.
Besides the files listed in the linked support article, you may also need to remove this file in the same way:
~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates
if it's not already checked. -
My safari doesnt work and this report problem keeps coming up...
everytime i open safari it crashes and sends me a repot problem. I have the latest software OSx 10.10. Anyone know what i should do?
Process: Safari [1450]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 8.0.2 (10600.2.5)
Build Info: WebBrowser-7600002005000000~1
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Safari [1450]
User ID: 501
Date/Time: 2014-12-19 12:04:08.984 -0800
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 83BB8F43-DC62-C327-BAB7-2EA0E80A5EF7
Sleep/Wake UUID: 74FE2482-08E9-4611-B71F-75D516E0237C
Time Awake Since Boot: 3400 seconds
Time Since Wake: 1300 seconds
Crashed Thread: 15
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
External Modification Warnings:
Thread creation by external task.
VM Regions Near 0x20:
-->
__TEXT 0000000100e8d000-0000000100e8e000 [ 4K] r-x/rwx SM=COW /Applications/Safari.app/Contents/MacOS/Safari
Application Specific Information:
Process Model:
Multiple Web Processes
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8d79f52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d79e69f mach_msg + 55
2 libFontRegistry.dylib 0x00007fff8d38434b XTSendCopyPropertiesForFont + 255
3 libFontRegistry.dylib 0x00007fff8d3a138b TGlobalFontRegistryImp::CopyPropertiesForFont(__CFURL const*, __CFSet const*, TFontQueryOptions const&) const + 295
4 libFontRegistry.dylib 0x00007fff8d3835c1 XTCopyPropertiesForFont + 144
5 com.apple.CoreText 0x00007fff91c844f7 TBaseFont::DetermineFontFlags(unsigned int) const + 189
6 com.apple.CoreText 0x00007fff91ccdba7 TFont::IsAppleColorEmoji() const + 35
7 com.apple.CoreText 0x00007fff91c8432d TFont::GetEffectiveSize() const + 61
8 com.apple.CoreText 0x00007fff91c8491f TFont::InitStrikeMetrics() const + 55
9 com.apple.CoreText 0x00007fff91c92697 CTFontGetAscent + 99
10 com.apple.UIFoundation 0x00007fff857c7d75 __NSFontInstanceInfoInitializeMetricsInfo + 50
11 com.apple.UIFoundation 0x00007fff857c8111 -[__NSSharedFontInstanceInfo _defaultLineHeight:] + 44
12 com.apple.UIFoundation 0x00007fff858306bf -[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingCon text:] + 1233
13 com.apple.UIFoundation 0x00007fff85842812 -[NSSingleLineTypesetter createRenderingContextForCharacterRange:typesetterBehavior:usesScreenFonts:hasS trongRight:maximumWidth:] + 391
14 com.apple.UIFoundation 0x00007fff85766cf8 __NSCreateRenderingContextForAttributedString + 265
15 com.apple.UIFoundation 0x00007fff85764e71 __NSStringDrawingEngine + 14710
16 com.apple.UIFoundation 0x00007fff8576634f -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 1068
17 com.apple.UIFoundation 0x00007fff857669dc -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:] + 41
18 com.apple.AppKit 0x00007fff84c28c42 rectForString + 623
19 com.apple.AppKit 0x00007fff84c23a45 _NSGetTextCellBoundingRect + 996
20 com.apple.AppKit 0x00007fff84c235da -[NSCell cellSizeForBounds:] + 216
21 com.apple.AppKit 0x00007fff84c23447 -[NSTextFieldCell cellSizeForBounds:] + 276
22 com.apple.AppKit 0x00007fff84bb573f -[NSCell cellSize] + 68
23 com.apple.AppKit 0x00007fff84c86dfd -[NSThemeFrame _size:ofCell:withTitle:] + 132
24 com.apple.AppKit 0x00007fff84c86d33 -[NSThemeFrame _titleCellSize] + 147
25 com.apple.AppKit 0x00007fff84c8698f -[NSThemeFrame _defaultTitlebarTitleRect] + 76
26 com.apple.AppKit 0x00007fff84c868ba -[NSThemeFrame _titlebarTitleRect] + 107
27 com.apple.AppKit 0x00007fff84c867d7 -[NSThemeFrame _titleTextFieldFrame] + 41
28 com.apple.AppKit 0x00007fff84bb9ca3 -[NSThemeFrame _tileTitlebarAndRedisplay:] + 1313
29 com.apple.AppKit 0x00007fff84bb054d -[NSThemeFrame _updateButtons] + 2735
30 com.apple.AppKit 0x00007fff852525a7 -[NSThemeFrame _moveTitlebarViewsToView:] + 724
31 com.apple.AppKit 0x00007fff85253fc9 __49-[NSThemeFrame _floatTitlebarAndToolbarFromInit:]_block_invoke + 836
32 com.apple.AppKit 0x00007fff84c3d339 +[NSAnimationContext runAnimationGroup:completionHandler:] + 82
33 com.apple.AppKit 0x00007fff85253c41 -[NSThemeFrame _floatTitlebarAndToolbarFromInit:] + 104
34 com.apple.AppKit 0x00007fff84bae74e -[NSThemeFrame initWithFrame:styleMask:owner:] + 243
35 com.apple.AppKit 0x00007fff84bacc96 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 614
36 com.apple.AppKit 0x00007fff84bac3fc -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1477
37 com.apple.AppKit 0x00007fff84de340e -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 51
38 com.apple.AppKit 0x00007fff84babe2a -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
39 com.apple.AppKit 0x00007fff84de33c1 -[NSPanel initWithContentRect:styleMask:backing:defer:] + 78
40 com.apple.AppKit 0x00007fff84ba9745 -[NSWindowTemplate nibInstantiate] + 567
41 com.apple.AppKit 0x00007fff84b7e73b -[NSIBObjectData instantiateObject:] + 309
42 com.apple.AppKit 0x00007fff85060d01 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 452
43 com.apple.AppKit 0x00007fff84b72f05 loadNib + 384
44 com.apple.AppKit 0x00007fff850e0f80 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
45 com.apple.AppKit 0x00007fff850e167d +[NSBundle(NSNibLoadingInternal) _loadNibFile:externalNameTable:options:withZone:] + 150
46 com.apple.AppKit 0x00007fff84e833af _NXLoadNib + 196
47 com.apple.AppKit 0x00007fff84e82d8f -[NSAlert init] + 95
48 com.apple.AppKit 0x00007fff84ec29f3 +[NSAlert alertWithMessageText:defaultButton:alternateButton:otherButton:informativeTextW ithFormat:] + 131
49 com.apple.AppKit 0x00007fff84b9464d __55-[NSPersistentUIRestorer promptToIgnorePersistentState]_block_invoke + 1021
50 com.apple.AppKit 0x00007fff84b9420e -[NSApplication _suppressFinishLaunchingFromEventHandlersWhilePerformingBlock:] + 28
51 com.apple.AppKit 0x00007fff84b941ad -[NSPersistentUIRestorer promptToIgnorePersistentState] + 247
52 com.apple.AppKit 0x00007fff84b93e9a -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completion Handler:] + 255
53 com.apple.AppKit 0x00007fff84b93c69 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 561
54 com.apple.AppKit 0x00007fff84b936b5 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
55 com.apple.Foundation 0x00007fff8e70d458 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
56 com.apple.Foundation 0x00007fff8e70d2c9 _NSAppleEventManagerGenericHandler + 102
57 com.apple.AE 0x00007fff845eb99c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 531
58 com.apple.AE 0x00007fff845eb719 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31
59 com.apple.AE 0x00007fff845eb623 aeProcessAppleEvent + 295
60 com.apple.HIToolbox 0x00007fff929a437e AEProcessAppleEvent + 56
61 com.apple.AppKit 0x00007fff84b8fd76 _DPSNextEvent + 2665
62 com.apple.AppKit 0x00007fff84b8ee80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
63 com.apple.Safari.framework 0x0000000100f0bad0 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 246
64 com.apple.AppKit 0x00007fff84b82e23 -[NSApplication run] + 594
65 com.apple.AppKit 0x00007fff84b6e2d4 NSApplicationMain + 1832
66 libdyld.dylib 0x00007fff8768b5c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8d7a522e kevent64 + 10
1 libdispatch.dylib 0x00007fff8a5f6a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 6:: WebCore: IconDatabase
0 libsqlite3.dylib 0x00007fff8fae3b91 sqlite3Malloc + 1
1 libsqlite3.dylib 0x00007fff8fc07011 checkTreePage + 2273
2 libsqlite3.dylib 0x00007fff8fc06c84 checkTreePage + 1364
3 libsqlite3.dylib 0x00007fff8fc06e52 checkTreePage + 1826
4 libsqlite3.dylib 0x00007fff8fc06c84 checkTreePage + 1364
5 libsqlite3.dylib 0x00007fff8fc06c84 checkTreePage + 1364
6 libsqlite3.dylib 0x00007fff8fb4f4ac sqlite3VdbeExec + 67324
7 libsqlite3.dylib 0x00007fff8fb3d3df sqlite3_step + 735
8 com.apple.WebCore 0x0000000102ababc9 WebCore::SQLiteStatement::step() + 73
9 com.apple.WebCore 0x000000010310ba2c WebCore::IconDatabase::checkIntegrity() + 108
10 com.apple.WebCore 0x0000000102aba314 WebCore::IconDatabase::performOpenInitialization() + 116
11 com.apple.WebCore 0x0000000102ab99b5 WebCore::IconDatabase::iconDatabaseSyncThread() + 325
12 com.apple.JavaScriptCore 0x0000000101c78a9f ***::wtfThreadEntryPoint(void*) + 15
13 libsystem_pthread.dylib 0x00007fff907122fc _pthread_body + 131
14 libsystem_pthread.dylib 0x00007fff90712279 _pthread_start + 176
15 libsystem_pthread.dylib 0x00007fff907104b1 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 10:: com.apple.CoreAnimation.render-server
0 libsystem_kernel.dylib 0x00007fff8d79f52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d79e69f mach_msg + 55
2 com.apple.QuartzCore 0x00007fff93b31d63 CA::Render::Server::server_thread(void*) + 198
3 com.apple.QuartzCore 0x00007fff93b31c96 thread_fun + 25
4 libsystem_pthread.dylib 0x00007fff907122fc _pthread_body + 131
5 libsystem_pthread.dylib 0x00007fff90712279 _pthread_start + 176
6 libsystem_pthread.dylib 0x00007fff907104b1 thread_start + 13
Thread 11:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8d79f52e mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8d79e69f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff93318b14 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff93317fdb __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff93317838 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8c445d20 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff8e753b7a __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff907122fc _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff90712279 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff907104b1 thread_start + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8d7a4946 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff907104a1 start_wqthread + 13
Thread 14:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8d7a43f6 __select + 10
1 libsystem_pthread.dylib 0x00007fff907122fc _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff90712279 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff907104b1 thread_start + 13
Thread 15 Crashed:
0 libsystem_pthread.dylib 0x00007fff90710695 _pthread_mutex_lock + 87
1 libsystem_c.dylib 0x00007fff87ae7b78 vfprintf_l + 28
2 libsystem_c.dylib 0x00007fff87ae0620 fprintf + 186
3 ??? 0x0000000107e255dc 0 + 4427240924
Thread 15 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff74d0d1d8 rcx: 0x00007fff74d0d1f0 rdx: 0x00000000000000a0
rdi: 0x00007fff74d0d1f0 rsi: 0x00007fff90710b14 rbp: 0x0000000107e21e30 rsp: 0x0000000107e21db0
r8: 0x0000000107e29000 r9: 0x0000000000000054 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x00007fff74d0c6b8 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff90710695 rfl: 0x0000000000010246 cr2: 0x0000000000000020
Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14
Binary Images:
0x100e8d000 - 0x100e8dfff com.apple.Safari (8.0.2 - 10600.2.5) <2225AE13-780E-3234-9A05-9DD6D94EE96C> /Applications/Safari.app/Contents/MacOS/Safari
0x100e95000 - 0x1017ceff7 com.apple.Safari.framework (10600 - 10600.2.5) <70257BE2-5D89-3EAA-8863-269880160EEE> /System/Library/StagedFrameworks/Safari/Safari.framework/Versions/A/Safari
0x101c6e000 - 0x102181ff3 com.apple.JavaScriptCore (10600 - 10600.2.1) <ABEF8FB3-6DC5-3FCF-9B4A-1DF6411063B0> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/Versions/A/Jav aScriptCore
0x1022ea000 - 0x10259efff com.apple.WebKit (10600 - 10600.2.5) <11CA89A1-A002-3FEB-8046-B31E92003AED> /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/WebKit
0x102878000 - 0x102878fff com.apple.WebKit2 (10600 - 10600.2.5) <ED09F7D3-1F46-3925-8E11-D6AC3492658E> /System/Library/StagedFrameworks/Safari/WebKit2.framework/Versions/A/WebKit2
0x102880000 - 0x1029bcffb com.apple.WebKitLegacy (10600 - 10600.2.5) <0A88D3D6-F5BA-30F4-9D09-87DF653759FC> /System/Library/StagedFrameworks/Safari/WebKitLegacy.framework/Versions/A/WebKi tLegacy
0x102ab5000 - 0x103a5aff7 com.apple.WebCore (10600 - 10600.2.1) <628CB849-0E8D-3071-98A3-55E7D24087DF> /System/Library/StagedFrameworks/Safari/WebCore.framework/Versions/A/WebCore
0x108e42000 - 0x108e42ff5 +cl_kernels (???) <828B8BD4-DE56-40B3-A736-52D4299E6DA8> cl_kernels
0x108e48000 - 0x108e48fef +cl_kernels (???) <8450D75E-370E-47EE-A702-737D45B42551> cl_kernels
0x109914000 - 0x1099fafef unorm8_bgra.dylib (2.4.5) <90797750-141F-3114-ACD0-A71363968678> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_bgra.dylib
0x7fff670f0000 - 0x7fff67126837 dyld (353.2.1) <4696A982-1500-34EC-9777-1EF7A03E2659> /usr/lib/dyld
0x7fff844a2000 - 0x7fff844adfff libcommonCrypto.dylib (60061) <D381EBC6-69D8-31D3-8084-5A80A32CB748> /usr/lib/system/libcommonCrypto.dylib
0x7fff844ae000 - 0x7fff844e1ff7 com.apple.MediaKit (16 - 757) <345EDAFE-3E39-3B0F-8D84-54657EC4396D> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
0x7fff84518000 - 0x7fff8451ffff com.apple.NetFS (6.0 - 4.0) <1581D25F-CC07-39B0-90E8-5D4F3CF84EBA> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8453c000 - 0x7fff845ddff7 com.apple.Bluetooth (4.3.1 - 4.3.1f2) <EDC78AEE-28E7-324C-9947-41A0814A8154> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x7fff845de000 - 0x7fff8463dff3 com.apple.AE (681 - 681) <7F544183-A515-31A8-B45F-89A167F56216> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff84682000 - 0x7fff847b4ff7 com.apple.MediaControlSender (2.0 - 215.10) <8ECF208C-587A-325F-9866-09890D58F1B1> /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/Media ControlSender
0x7fff848ac000 - 0x7fff84b58fff com.apple.GeoServices (1.0 - 982.4.10) <8A7FE04A-2785-30E7-A6E2-DC15D170DAF5> /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices
0x7fff84b59000 - 0x7fff84b61ffb com.apple.CoreServices.FSEvents (1210 - 1210) <782A9C69-7A45-31A7-8960-D08A36CBD0A7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvent s.framework/Versions/A/FSEvents
0x7fff84b6b000 - 0x7fff856acfff com.apple.AppKit (6.9 - 1343.16) <C98DB43F-4245-3E6E-A4EE-37DAEE33E174> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff856ba000 - 0x7fff8574bff7 libCoreStorage.dylib (471) <5CA37ED3-320C-3469-B4D2-6F045AFE03A1> /usr/lib/libCoreStorage.dylib
0x7fff8574c000 - 0x7fff8587cfff com.apple.UIFoundation (1.0 - 1) <8E030D93-441C-3997-9CD2-55C8DFAC8B84> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundatio n
0x7fff8588c000 - 0x7fff858b7fff com.apple.DictionaryServices (1.2 - 229) <6789EC43-CADA-394D-8FE8-FC3A2DD136B9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff858b8000 - 0x7fff858dbff7 com.apple.framework.familycontrols (4.1 - 410) <41499068-0AB2-38CB-BE6A-F0DD0F06AB52> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff858dc000 - 0x7fff858f6ff7 liblzma.5.dylib (7) <1D03E875-A7C0-3028-814C-3C27F7B7C079> /usr/lib/liblzma.5.dylib
0x7fff85928000 - 0x7fff85e14fff com.apple.MediaToolbox (1.0 - 1562.19) <36062C5F-CC37-3F50-8383-07A9C8C75F33> /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox
0x7fff85e15000 - 0x7fff85e8dff7 com.apple.SystemConfiguration (1.14 - 1.14) <C269BCFD-ACAB-3331-BC7C-0430F0E84817> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x7fff85e8e000 - 0x7fff85e94fff libsystem_trace.dylib (72.1.3) <A9E6B7D8-C327-3742-AC54-86C94218B1DF> /usr/lib/system/libsystem_trace.dylib
0x7fff8671e000 - 0x7fff8671ffff libquit.dylib (182) <62510786-F686-3AC4-B315-D05A4B7A896F> /usr/lib/libquit.dylib
0x7fff86720000 - 0x7fff8687eff3 com.apple.avfoundation (2.0 - 889.10) <4D1735C4-D055-31E9-8051-FED29F41F4F6> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff86887000 - 0x7fff86887ff7 libunc.dylib (29) <5676F7EA-C1DF-329F-B006-D2C3022B7D70> /usr/lib/system/libunc.dylib
0x7fff86888000 - 0x7fff86895ff7 libbz2.1.0.dylib (36) <2DF83FBC-5C08-39E1-94F5-C28653791B5F> /usr/lib/libbz2.1.0.dylib
0x7fff86896000 - 0x7fff86bc9ff7 libmecabra.dylib (666.1) <CAFBC813-4894-3352-9B22-FFF116773A06> /usr/lib/libmecabra.dylib
0x7fff86bd7000 - 0x7fff86bdeff7 com.apple.phonenumbers (1.1.1 - 105) <AE39B6FE-05AB-3181-BB2A-4D50A8B392F2> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumber s
0x7fff86bdf000 - 0x7fff86bf8ff7 com.apple.CFOpenDirectory (10.10 - 187) <0ECA5D80-A045-3A2C-A60C-E1605F3AB6BD> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff86bf9000 - 0x7fff87006ff7 libLAPACK.dylib (1128) <F9201AE7-B031-36DB-BCF8-971E994EF7C1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x7fff87007000 - 0x7fff8701aff7 com.apple.CoreBluetooth (1.0 - 1) <FA9B43B3-E183-3040-AE25-66EF9870CF35> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x7fff87075000 - 0x7fff8707cfff com.apple.network.statistics.framework (1.2 - 1) <61B311D1-7F15-35B3-80D4-99B8BE90ACD9> /System/Library/PrivateFrameworks/NetworkStatistics.framework/Versions/A/Networ kStatistics
0x7fff8707d000 - 0x7fff87086ff7 libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib
0x7fff87087000 - 0x7fff875b0ff7 com.apple.QuartzComposer (5.1 - 325) <2007FD9E-A5CF-361E-A7DD-ACAF976860AD> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x7fff875b1000 - 0x7fff87687ff3 com.apple.DiskImagesFramework (10.10 - 389.1) <7DE2208C-BD55-390A-8167-4F9F11750C4B> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
0x7fff87688000 - 0x7fff8768bff7 libdyld.dylib (353.2.1) <19FAF435-C165-3374-9DEF-D7BBA7D61DB6> /usr/lib/system/libdyld.dylib
0x7fff876ab000 - 0x7fff8778efff libcrypto.0.9.8.dylib (52) <7208EEE2-C090-383E-AADD-7E1BD1321BEC> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8778f000 - 0x7fff87883ff7 libFontParser.dylib (134) <506126F8-FDCE-3DE1-9DCA-E07FE658B597> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff87884000 - 0x7fff878b0fff com.apple.framework.SystemAdministration (1.0 - 1.0) <F2A164C7-4813-3F27-ABF7-810A5F4FA51D> /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/Sys temAdministration
0x7fff878b1000 - 0x7fff878befff com.apple.ProtocolBuffer (1 - 225.1) <2D502FBB-D2A0-3937-A5C5-385FA65B3874> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolB uffer
0x7fff879f3000 - 0x7fff879f3fff com.apple.Carbon (154 - 157) <6E3AEB9D-7643-36BE-A7E5-D08886649257> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff879f4000 - 0x7fff87a09ff7 com.apple.AppContainer (4.0 - 238) <9481F305-359A-33E6-93F1-89A25FA14E00> /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContaine r
0x7fff87a17000 - 0x7fff87a17ff7 libkeymgr.dylib (28) <77845842-DE70-3CC5-BD01-C3D14227CED5> /usr/lib/system/libkeymgr.dylib
0x7fff87a70000 - 0x7fff87aa2ff3 com.apple.frameworks.CoreDaemon (1.3 - 1.3) <C6DB0A07-F8E4-3837-BCA9-225F460EDA81> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
0x7fff87aa3000 - 0x7fff87b2ffff libsystem_c.dylib (1044.1.2) <C185E862-7424-3210-B528-6B822577A4B8> /usr/lib/system/libsystem_c.dylib
0x7fff87b30000 - 0x7fff87ba4fff com.apple.ShareKit (1.0 - 323) <9FC7280E-DB42-37F0-AE57-29E28C9B4E16> /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/ShareKit
0x7fff87e5a000 - 0x7fff8828afff com.apple.vision.FaceCore (3.1.6 - 3.1.6) <C3B823AA-C261-37D3-B4AC-C59CE91C8241> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x7fff88315000 - 0x7fff8831cfff libCGCMS.A.dylib (772) <E64DC779-A6CF-3B1F-8E57-C09C0B10670F> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS .A.dylib
0x7fff88324000 - 0x7fff88332ff7 com.apple.ToneLibrary (1.0 - 1) <3E6D130D-77B0-31E1-98E3-A6052AB09824> /System/Library/PrivateFrameworks/ToneLibrary.framework/Versions/A/ToneLibrary
0x7fff88333000 - 0x7fff883f2fff com.apple.backup.framework (1.6.1 - 1.6.1) <A7BBE57D-D5E7-39DD-812C-31190159F679> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff884e7000 - 0x7fff884e9fff com.apple.loginsupport (1.0 - 1) <35A2A071-606C-39A5-8C11-E4CAF98D934C> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsu pport.framework/Versions/A/loginsupport
0x7fff88558000 - 0x7fff885d5fff com.apple.CoreServices.OSServices (640.3 - 640.3) <28445162-08E9-3E24-84E4-617CE5FE1367> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff885d6000 - 0x7fff88616ff7 libGLImage.dylib (11.0.7) <7CBCEB4B-D22F-3116-8B28-D1C22D28C69D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff88658000 - 0x7fff8865dff7 com.apple.ServerInformation (2.0 - 1) <020F4A0E-F1A2-38AE-8F2B-22200CF1FC82> /System/Library/PrivateFrameworks/ServerInformation.framework/Versions/A/Server Information
0x7fff8865e000 - 0x7fff88750ff7 libiconv.2.dylib (42) <2A06D02F-8B76-3864-8D96-64EF5B40BC6C> /usr/lib/libiconv.2.dylib
0x7fff88754000 - 0x7fff88762ff7 com.apple.opengl (11.0.7 - 11.0.7) <B5C4DF85-37BD-3984-98D1-90A5043DA984> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff88763000 - 0x7fff88783fff com.apple.IconServices (47.1 - 47.1) <E83DFE3B-6541-3736-96BB-26DC5D0100F1> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconService s
0x7fff88784000 - 0x7fff88795ff7 libz.1.dylib (55) <88C7C7DE-04B8-316F-8B74-ACD9F3DE1AA1> /usr/lib/libz.1.dylib
0x7fff88796000 - 0x7fff8879afff libpam.2.dylib (20) <E805398D-9A92-31F8-8005-8DC188BD8B6E> /usr/lib/libpam.2.dylib
0x7fff887c0000 - 0x7fff8880dff3 com.apple.CoreMediaIO (601.0 - 4749) <DDB756B3-A281-3791-9744-1F52CF8E5EDB> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
0x7fff897b3000 - 0x7fff897bbff7 com.apple.AppleSRP (5.0 - 1) <01EC5144-D09A-3D6A-AE35-F6D48585F154> /System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP
0x7fff897bc000 - 0x7fff897d0ff7 com.apple.MultitouchSupport.framework (260.30 - 260.30) <28728A7D-E048-3B14-9932-839A87D381FE> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupportYou may have installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
Back up all data before making any changes.
Besides the files listed in the linked support article, you may also need to remove this file in the same way:
~/Library/LaunchAgents/com.genieo.completer.ltvbit.plist
If there are other items with a name that includes "Genieo" or "genieo" alongside any of those you find, remove them as well.
One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those. If Safari crashes on launch, skip that step and come back to it after you've done everything else.
If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
Still in System Preferences, open the App Store or Software Update pane and check the box marked
Install system data files and security updates
if it's not already checked. -
Can not run complex report with ReportClientDocument using POJO beans.
Hi All,
Any help would be very appreciated I have been stack on this issue for the last 4 hours.
My report has parameters, a ResultSet and subreports that themselves have both parameters and ResultSet.
The report runs well in Crystal Report Designer but not on my application with ReportClientDocument API.
The excpeiton I am getting is:
======================================================================
Caused by: java.lang.NullPointerException
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.do(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.bs.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.bs.byte(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.a3.if(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.else(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.for(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.h.for(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.tramada.documents.businessobjects.BODocumentProvider.generateDocument(BODocumentProvider.java:178)
16:22:56,796 INFO [STDOUT] at com.tramada.documents.service.impl.DocumentServiceImpl.generateDocumentContent(DocumentServiceImpl.java:125)
16:22:56,796 INFO [STDOUT] ... 58 more
This is my class that is trying to do the work.:
======================================================================
BODocumentProvider.java Created on 19/05/2008
This software is the confidential and proprietary information of Tramada
Systems Pty Limited.
package com.tramada.documents.businessobjects;
import java.io.ByteArrayInputStream;
import java.util.List;
import java.util.Locale;
import com.businessobjects.samples.pojo.POJOResultSetFactory;
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;
import com.crystaldecisions.sdk.occa.report.application.ISubreportClientDocument;
import com.crystaldecisions.sdk.occa.report.application.ParameterFieldController;
import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.application.SubreportController;
import com.crystaldecisions.sdk.occa.report.data.Fields;
import com.crystaldecisions.sdk.occa.report.data.IField;
import com.crystaldecisions.sdk.occa.report.data.ITable;
import com.crystaldecisions.sdk.occa.report.data.Tables;
import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
import com.tramada.core.utils.SoftMap;
import com.tramada.documents.DocumentDataProvider;
import com.tramada.documents.DocumentDescriptor;
import com.tramada.documents.DocumentFormat;
import com.tramada.documents.DocumentProvider;
import com.tramada.documents.SubDocumentDescriptor;
import com.tramada.documents.businessobjects.model.Template;
import com.tramada.documents.model.DocumentContent;
import com.tramada.persistence.home.GenericHome;
Business Objects specific Document Provider.
public class BODocumentProvider implements DocumentProvider {
private static final String BO_AUTH_TYPE = "secEnterprise";
private boolean connect;
private String userName;
private String userPassword;
private String boURL;
private String documentsFolder;
private GenericHome home;
Local cache. Keeps track of document source for better performance.
private SoftMap<String, ReportClientDocument> cachedSources = new SoftMap<String, ReportClientDocument>();
// SETTERS & GETTERS
// SETTERS & GETTERS
public GenericHome getHome() {
return home;
public void setHome(GenericHome home) {
this.home = home;
public boolean getConnect() {
return connect;
public void setConnect(boolean connect) {
this.connect = connect;
public String getBoURL() {
return boURL;
public void setBoURL(String boURL) {
this.boURL = boURL;
public String getUserName() {
return userName;
public void setUserName(String userName) {
this.userName = userName;
public String getUserPassword() {
return userPassword;
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
public String getDocumentsFolder() {
return documentsFolder;
public void setDocumentsFolder(String documentsFolder) {
this.documentsFolder = documentsFolder;
// PUBLIC INTERFACE
Generates a document given its descriptor.
@param descriptor
valid document descriptor
@return Document (generated document).
public DocumentContent generateDocument(DocumentDescriptor descriptor, DocumentFormat format) throws Exception {
if (descriptor == null) {
throw new IllegalArgumentException("descriptor==null");
if (format == null) {
throw new IllegalArgumentException("format==null");
// get the document source.
// Can not use setDataSource() error code 2147483648?
ReportClientDocument document = getDocument(descriptor.getDocumentName());
ParameterFieldController parameterController = document.getDataDefController().getParameterFieldController();
// insert the main document parameters and there values
populateParameters(document.getDataDefController().getDataDefinition().getParameterFields(),
parameterController, descriptor, "");
// insert into the main document all the required data.
Tables tables = document.getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++) {
ITable table = tables.getTable(i);
String tableAlias = table.getAlias();
DocumentDataProvider provider = descriptor.getDocumentDataProvider(tableAlias);
POJOResultSetFactory factory = new POJOResultSetFactory(provider.getDataType());
document.getDatabaseController().setDataSource(factory.createResultSet(provider.getData()), tableAlias,
tableAlias);
// go through all the sub-documents and do the same thing as for the
// main document.
SubreportController subReportController = document.getSubreportController();
IStrings names = subReportController.getSubreportNames();
for (int i = 0; i < names.size(); i++) {
String subDocumentName = (String) names.get(i);
SubDocumentDescriptor subDescriptor = descriptor.getSubDocument(subDocumentName);
// get the actual sub document.
ISubreportClientDocument subDocument = subReportController.getSubreport(subDocumentName);
// insert the subdocument parameters.
populateParameters(subDocument.getDataDefController().getDataDefinition().getParameterFields(),
parameterController, subDescriptor, subDocumentName);
// insert into the main document all the required data.
Tables subTables = subDocument.getDatabaseController().getDatabase().getTables();
for (int j = 0; j < subTables.size(); j++) {
ITable subTable = subTables.getTable(j);
String tableAlias = subTable.getAlias();
DocumentDataProvider subProvider = subDescriptor.getDocumentDataProvider(tableAlias);
POJOResultSetFactory subFactory = new POJOResultSetFactory(subProvider.getDataType());
subDocument.getDatabaseController().setDataSource(subFactory.createResultSet(subProvider.getData()),
tableAlias, tableAlias);
// generate the report in the specified format
ByteArrayInputStream bais = (ByteArrayInputStream) document.getPrintOutputController().export(
getReportFormat(format));
byte[] content = new byte[bais.available()];
bais.read(content);
return (new DocumentContent(content));
Refreshes the connector and all its cached document sources.
public void refresh() throws Exception {
cachedSources.clear();
// PRIVATE ROUTINES
Populates the document parameters with there values.
private void populateParameters(Fields parameters, ParameterFieldController controller,
DocumentDescriptor descriptor, String documentName) throws Exception {
for (int i = 0; i < parameters.size(); i++) {
IField parameter = parameters.getField(i);
String parameterName = parameter.getName();
if (!descriptor.getParameters().containsKey(parameterName)) {
throw new IllegalStateException("missing parameter entry for '" + parameterName + "'");
Object value = descriptor.getParameter(parameterName);
if (value != null) {
controller.setCurrentValue(documentName, parameterName, value);
Retrieves the document source. If the source is not cached get it from
BO. First get the template name that is stored on BO.
private ReportClientDocument getDocument(String documentName) throws Exception {
ReportClientDocument source = cachedSources.get(documentName);
if (source == null) {
String templateName = getTemplateName(documentName);
if (userName == null) {
throw new IllegalArgumentException("user-name==null");
if (userPassword == null) {
throw new IllegalArgumentException("user-password==null");
if (boURL == null) {
throw new IllegalArgumentException("boURL==null");
if (documentsFolder == null) {
throw new IllegalArgumentException("documents-folder==null");
// login to BO
IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(userName, userPassword,
boURL, BO_AUTH_TYPE);
IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
// get the application folder.
IInfoObjects folders = iStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Folder' And SI_NAME = '"
+ documentsFolder + "'");
if (folders.size() != 1) {
throw new IllegalStateException("documents folder '" + documentsFolder + "' not found on BO Server '"
+ boURL + "'.");
IInfoObject folder = (IInfoObject) folders.get(0);
// get the document identified by the template name.
IInfoObjects templates = iStore.query("select SI_ID, SI_NAME From CI_INFOOBJECTS "
+ "where SI_PROGID = 'CrystalEnterprise.Report' " + "And SI_INSTANCE_OBJECT = 0 "
+ "And SI_PARENT_FOLDER = " + folder.getID() + " And SI_NAME= '" + templateName + "'");
if (templates.size() != 1) {
throw new IllegalStateException("template with name '" + templateName + "' not found in folder '"
+ documentsFolder + "'on BO Server '" + boURL + "'.");
source = ((IReportAppFactory) enterpriseSession.getService("RASReportFactory")).openDocument(
((IInfoObject) templates.get(0)).getID(), 0, Locale.getDefault());
cachedSources.put(documentName, source);
return (source);
Returns the associated template name for the given document descriptor.
@SuppressWarnings("unchecked")
private String getTemplateName(String documentName) {
Template example = new Template();
example.setDocumentName(documentName);
List<Template> templates = (List<Template>) home.findByExampleExcludingAssociations(example);
if (templates == null || templates.size() != 1) {
throw new IllegalStateException("no template defined for document name '" + documentName + "'");
return (templates.get(0).getTemplateName());
Get the equivalent BO format for the given document format.
@param format
document format.
@return ReportExportFormat
private ReportExportFormat getReportFormat(DocumentFormat format) {
if (format.equals(DocumentFormat.PDF)) {
return (ReportExportFormat.PDF);
} else if (format.equals(DocumentFormat.WORD)) {
return (ReportExportFormat.MSWord);
} else if (format.equals(DocumentFormat.EXCEL)) {
return (ReportExportFormat.MSExcel);
return (ReportExportFormat.MSWord);
Best Regards
Khalef BessaihHello,
If I understand correctly, you create a local report which choose report from Report Server. You have two query parameters in the report which are returned by stored procedure. Currently, you cannot get default values for these parameters when run the report.
Based on my test, if we haven’t configure these parameter with Available Values, we can reproduce the same issue. Also, caching issue may cause the same issue. If the issue is persist, please delete the corresponding report in the report server. Then, redeploy
it to check.
There is a similar issue, you can refer to it.
http://social.msdn.microsoft.com/Forums/en-US/6a548d65-35d0-4a3e-8b64-3b7b655c76ee/ssrs-2008-report-parameter-default-value-doesnt-work-when-deployed
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Reports from BI Workspace Display w/ #ERROR or Empty
One of my users is no longer able to see data in reports when ran from Workspace. She either sees #ERROR in each data cell or the report displays empty. If I run the report, I see the data. I have confirmed the permissions on the report are set to Read for the World group. These reports were running fine for her last week. Any ideas what could be wrong? Is there a DELETEPOV equivalent in 11.1.2?
Thanks.
Terri TaylorHer POV was set up just like mine. She logged into Workspace from my laptop and was able to run the report fine. We had her delete her Internet temporary files and then she was able to successfully run the report. Strange.
Terri Taylor
Maybe you are looking for
-
Most pages are opening as code, and have to be reloaded to open correctly
When opening virtually any page, it first displays as code, and page info shows it to be text/plain. Reloading it will then most often correct the problem, and page info will correctly show it as text/html. This is happening in safe mode as well, whi
-
IW42 - Materials for Operation linked to Order, not Operation
In my current development, I'm struggling with linking materials to an operation, after IW42 has been completed. In my test data, I coded for two situations, lookup of MSEG values starting with AFRU-WABLNR or WEBLNR (via AFWI-MBLNR). While that was
-
N95 new firmware camera problem
hi After I update old firmware version V 11.0.026 to V21.0.001 new version and i notice that my camera when i take picture has poor - bad quality anybody know solution ??? Solved! Go to Solution.
-
Will BAPI write to Spool by itself?
Hi, I am calling a BAPI in a program to create a sales order and writing all the BAPI return messages to the output of the program. When I schedule and run the program in the background, I can see more BAPI relevent error messages in the job log than
-
Why has my iMessage suddenly stopped working on my macbook
My iMessage stopped working on my laptop 2 weeks ago. It still works fine on my phone and ipad.. It says it is invalid..