Runtime error when I run customizing report
Hi All,
The ST22 analysis is as follows,when i run customizing report.
DUMP Analysis.
Runtime Errors MESSAGE_TYPE_X
Date and Time 19.04.2011 12:28:53
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLSLVC" or "LSLVCU10"
"LVC_SORT_COMPLETE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Pls advise what is the problem,Beacuse Abaper is saying not report problem.
Pranitha.
Hi,
Could you mention for which customization transaction, you get this error?
Similar Messages
-
Portal runtime error when i run BW Report
Hi
When I run a BI report in Production, I get the below error. I have checked the System alias as well as Permissions too.
Here one more point is - the same report is running fine in Development.
Error follows..........
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex3x
Component Name : com.sap.portal.appintegrator.sap.BWReport
Exception in SAP Application Integrator occured: Unknown system alias. System Alias: 'SAP_BW', User: 'Administrator', Reason: System Alias is not defined or permission denied for this user.
Exception id: 05:18_05/08/08_0071_336728050
Regards
S.Hi,
In SP13, a new feature was released (RAI - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0a4957d-7c71-2a10-3687-f38c78dfbe96) and the property is not ignored anymore so if for example SAP_BW is assigned in the property, AppIntegrator redirect to the BW ABAP backend instead to the BI7 installed on the portal.
Unfortunately, there was a bug in the Role upload and in the Web application designer that was assigning a wrong value in the System property in case of BI7.
Those bugs are already fixed -> SAP Note No. 1121962 & SAP Note No. 1124535 and in order to make it work the same way, you should run a migration tool that will replace the wrong values in the System property to SAP_LocalSystem -> see SAP Note No. 1128730.
Regards,
Eliel. -
Portal Runtime Error When Previewing the BI Report iViews
Hi Experts,
I hope this is the right place for my issue. I have an issue previewing the BI reports that I have created as the iViews and have put them in the portal. I am able to preview them in the BW/BI server successfully. Then I have created them in another server and got the portal runtime error. There are 2 different servers that I am working on, and there is no single sign on support on these servers.
Portal Runtime Error
An exception occurred while processing your request
Exception id: 10:21_29/06/09_0049_44107950
See the details for the exception ID in the log file.
I check the permission, and everything has been set up as the BW/BI server (Built-in Group Everyone). I still got the portal runtime error. There is another folder of BI report iViews that someone else has created before. When I preview it, it prompts me with the NetWeaver Log in page. Then it opens the BI report iView properly. Unfortunately, it will not prompt the log in page on my own BI report iViews that I have created. Instead, it shows the portal runtime error page. Any ideas how can I solve this?
Thanks,
-Don
Edited by: Don P. on Jun 29, 2009 5:06 PMNever mind! I solved it myself.
-
Runtime Error CALL_FUNCTION_PARM_MISSING in a custom report program
Hi All,
I've created a custom report program to create parameters for a user in a system. I'm getting a runtime error in the code.
The code snippet as below.
I'm getting that error at line no 161. I'm not able to figure it out. Please help me to correct it.
Regards
Mandeep ShresthaHi Glenn,
I'm not creating a user. My requirement is to add a parameter
CRM_THTMLB_IE_COMP with value 'IE8'. I've written the below set of code to achieve that. Can you please help me further.
:i_userlist,i_return,l_errorrole,lv_rows,i_error,i_final,
l_e,lv_rows,l_s.
REFRESH i_bname1.
IF u_name IS NOT INITIAL.
SELECT bname FROM usr01 INTO TABLE
i_bname1 WHERE bname IN u_name.
IF sy-subrc = 0.
LOOP AT i_bname1 INTO wa_bname1.
wa_userlist-username = wa_bname1-bname.
APPEND wa_userlist TO i_userlist.
CLEAR wa_userlist.
ENDLOOP.
DESCRIBE TABLE i_bname1 LINES lv_rows.
ENDIF.
ELSE.
****get all the users****
CALL FUNCTION 'BAPI_USER_GETLIST'
EXPORTING
max_rows = 0
with_username = ' '
IMPORTING
ROWS = lv_rows
TABLES
* SELECTION_RANGE =
* SELECTION_EXP =
userlist = i_userlist
RETURN = i_return.
ENDIF.
****read the PFCG and Business Roles****
SELECT * FROM crmc_ui_profile INTO TABLE i_profile .
IF i_userlist IS INITIAL.
WRITE:'No Users'.
EXIT.
ELSE.
LOOP AT i_userlist INTO wa_userlist.
CLEAR: i_param,i_agrgrp,i_retagr,lv_pfcg.
"IF wa_userlist-username = 'BUILDER_B'.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
username = wa_userlist-username
cache_results = 'X'
TABLES
PARAMETER = i_param
* PROFILES =
activitygroups = i_agrgrp
RETURN = i_retagr
* PARAMETER1 =
CLEAR :wa_agrgrp,l_errorrole,wa_retparm,v_business_unit.
CLEAR ls_sales_org.
CALL FUNCTION 'Z0CR_GET_USER_DETAILS'
EXPORTING
iv_username = wa_userlist-username
IMPORTING
* EV_USER_TYPE =
* EV_BUGROUPID =
es_sales_org = ls_sales_org
* EV_PARTNER_ID =
ev_business_unit = v_business_unit.
CALL METHOD CL_CRM_ORGMAN_SERVICES=>MAP_HROBJECT_TO_R3_SALES_ORG
EXPORTING
HROBJECT = ls_sales_org-SALES_ORG
* dbread =
IMPORTING
VKORG = L_ECC
EXCEPTIONS
NO_AUTHORIZATION = 1
NOT_FOUND = 2
OTHERS = 3.
*CALL FUNCTION 'CRM_BUPA_SALES_AREA_TO_R3'
* EXPORTING
* IS_SALES_AREA = ls_sales_org
* IMPORTING
* EV_VKORG = L_ECC
** EV_VTWEG =
** EV_SPART =
* EXCEPTIONS
* NO_MAPPING_DEFINED = 1
* R3_KEY_NOT_DEFINED = 2
* OTHERS = 3
*IF SY-SUBRC <> 0.
** Implement suitable error handling here
*ENDIF.
IF L_ECC = 2040 OR L_ECC = 2010 OR L_ECC = 2050 OR L_ECC = 1900.
** loop at i_param into wa_param .
* wa_param-PARID = 'CRM_THTMLB_IE_COMP' .
* wa_param-PARVA = 'IE8'.
* wa_param-PARTXT = 'CRM BW REPORT PARAMETER'.
* append wa_param to i_param.
** ENDLOOP.
* endif.
CLEAR lv_flag .
****checking if the role having prime support roles then assign the CRM_THTMLB_IE_COMP as IE8
CLEAR lt_role.
SELECT * FROM zuser_role INTO TABLE lt_role
FOR ALL ENTRIES IN i_agrgrp
WHERE pfcg_role = i_agrgrp-agr_name.
IF sy-subrc = 0.
lv_flag = 'X'.
ENDIF.
CLEAR :lv_land.
SELECT SINGLE land1 INTO lv_land FROM hrp1028 WHERE
otjid = ls_sales_org.
LOOP AT i_retagr INTO wa_retagr WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
**error records
IF l_errorrole EQ 'X'.
l_e = l_e + 1.
CLEAR :lv_pfcg,lv_brole.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = wa_retparm-MESSAGE .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ELSE.
CLEAR sy-subrc.
CLEAR :wa_param1,lv_vlaues,wa_param.
READ TABLE i_param INTO wa_param1
WITH KEY parid = 'CRM_THTMLB_IE_COMP'.
IF sy-subrc <> 0.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
wa_paramc-parva = ' '.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CREATE'
EXPORTING
USERNAME = wa_userlist-username
TABLES
PARAMETER = i_paramc
RETURN = i_retparm.
ENDIF.
lv_vlaues = wa_param1-parva.
IF i_agrgrp IS INITIAL AND lv_vlaues IS NOT INITIAL.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
wa_paramc-parva = ' '.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = wa_userlist-username
parameterx = wa_paramx
* COMPANY =
TABLES
PARAMETER = i_paramc
RETURN = i_retparm
* PARAMETER1 = .
CLEAR :wa_retparm ,l_errorrole.
IF i_retparm IS NOT INITIAL.
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
ENDIF.
**error records
IF l_errorrole EQ 'X'.
l_e = l_e + 1.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = wa_retparm-MESSAGE .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ELSE.
l_e = l_e + 1.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = 'No Roles assigned to User' .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ENDIF.
ENDIF.
IF i_agrgrp IS NOT INITIAL .
CLEAR lv_count.
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
CLEAR wa_profile.
READ TABLE i_profile
INTO wa_profile
WITH KEY pfcg_role = wa_agrgrp-agr_name.
IF sy-subrc EQ 0 AND
wa_profile-profile IS NOT INITIAL.
lv_count = lv_count + 1.
ENDIF.
ENDLOOP.
IF lv_count EQ '1'.
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
CLEAR :wa_profile,lv_brole,lv_pfcg.
IF wa_agrgrp-agr_name CP 'L*'.
lv_pfcg = wa_agrgrp-agr_name.
READ TABLE i_profile
INTO wa_profile
WITH KEY
pfcg_role = wa_agrgrp-agr_name.
IF sy-subrc EQ 0.
** ***fill business role
lv_brole = wa_profile-profile.
ELSE.
l_e = l_e + 1.
CLEAR lv_brole.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = 'No Business Role for PFCG' .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
CONTINUE.
ENDIF.
ENDIF.
IF lv_brole IS NOT INITIAL.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
IF lv_flag = 'X'.
lv_brole = 'IE8'.
wa_paramc-parva = lv_brole .
* CLEAR lv_flag.
ELSE.
wa_paramc-parva = lv_brole.
ENDIF.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = wa_userlist-username
parameterx = wa_paramx
* COMPANY =
TABLES
PARAMETER = i_paramc
RETURN = i_retparm
* PARAMETER1 = .
CLEAR :wa_retparm .
IF i_retparm IS NOT INITIAL.
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
ENDIF. -
Error REP-0300: ORACLE error occurred while running Custom Report
Hi Team.
We are facing a very strange issue here.
We have an env , where all the custom reports are failing .Whereas the concerned env is a clone of the Production instance . There is one more instacne which is also a clone of the prod, over there these reports are working fine .
I have checked all the thread here about this error, but could not get the required information .
We are on RHEL 5 on Linux 64 bit server.
Could you please guide me , how to figure out whats the difference between these cloned instances .
We have an Sr with Oracle Support but its progressing very slowly.
Error trail from log file
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
Arguments
P_FROM_DATE='2013/08/01 00:00:00'
P_TO_DATE='2013/08/10 00:00:00'
P_PROJECT_ORG='ALL'
Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.AL32UTF8
Enter Password:
REP-0300: ORACLE error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: ORACLE error occurred.
Report Builder: Release 10.1.2.3.0 - Production on Thu Nov 28 07:41:22 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Thanks .Please confirm that you have the patches mentioned in (Doc ID 1368715.1) applied.
I understand this is a cloned instance, but this error is intermittent and having the patches applied should clear our doubts.
Thanks,
Hussein -
Error "Multi-level error propagation carried out" when I run a report
Hi All,
When I run the report /SAPAPO/CDPS_REPT - Order and Resource Reporting with the below criteria I getting error "Multi-level error propagation carried out"
Planning Version - Simulation Version XXX
Evaluation Start - 05/03/2011
Evaluation End - 12/31/2013
Evaluation List - Extended Operation List
I do not get error when I run the report with selection as Active version 000 and Evaluation List as Order List, Operation List.
I have tried by ruuning Live cache consistancy check, but the issue is not fixed
Please help me to resolve this issue
Thanks & Regards,
RajkumarHi Jack,
Please do post the server log file here so that we can try and find a solution for the problem you are facing.
I had a problem a while ago with the app server too. While trying to run an application, after a few times, it would give me an error message saying the Application Server cannot be started. I rebooted my machine and thankfully it worked again. Just try this too and see if it works.
If it doesnt we can go through the server log and try to identify the cause of the problem.
Cheers :-) -
Runtime error when i try to execute this program
I get a runtime error when i run this file using appletviewer. Please help me in getting out of this problem.
The runtime errror is:
C:\prashanth>appletviewer HelloMedia.java
java.lang.NoClassDefFoundError: javax/media/ControllerListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:142)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)
The code is :
<applet code=HelloMedia.class width=500 height=400>
<param name=FILE value="globe.avi">
</applet>
import java.applet.*;
import java.awt.*;
import java.net.*;
import javax.media.*;
public class HelloMedia extends Applet implements ControllerListener
Player player;
public void init()
setLayout(new BorderLayout());
String mediaFile = getParameter("FILE");
try
URL mediaURL = new URL(getDocumentBase(), mediaFile);
player = Manager.createPlayer(mediaURL);
catch(Exception e)
System.err.println("Exception : " + e);
player.addControllerListener(this);
public synchronized void controllerUpdate(ControllerEvent event)
if(event instanceof RealizeCompleteEvent)
Component compVisual = player.getVisualComponent();
Component compControl = player.getControlPanelComponent();
if(compVisual != null)
add("Center", compVisual);
if(compControl != null)
add("South", compControl);
validate();
public void start()
player.start();
public void stop()
player.stop();
player.deallocate();
public void destroy()
player.close();My classpath has the following value
.;.;.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\Program Files\CosmoSoftware\CosmoPlayer\npcosmop211.zip;%systemroot%\java\classes;.;
Please help me out.
Prashanth -
ABAP Run time error when display the Customs Export declarations
Hi,
I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
While debugging we found that Primary Key of the below structures are not the same
lt_corpar type /sapsll/corpar_t
lt_corpar_ht type /sapsll/corpar_k02_ht
Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
Error message short details
Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
"/SAPSLL/CUHD_LOAD_SELECTION".
The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
In the source code you have the termination point in line 144
of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
Regards,
Pradeep MaddiHi,
I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
Proforma Invoice not transferred to GTS
After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
Error details
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program /SAPSLL/SAPLCUHD_SELECTION
Application Component SLL-LEG
You tried to insert an entry into table "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
Regards,
Pradeep -
There is the error message when we run IR8A report
Hi SAP expert,
There is the error message when we run IR8A report via T-code PC00_M25_NCT8A, below is the error message
"Assignment to valuation model is missing for calculation process 25 SGLS
Message no. HRSEN00107
Diagnosis
There is no entry in the assignment table for valuation model and rounding rule (V_T525S) for the return value for feature SENOR on the key date 07.12.2007 for the selected calculation process 25 SGLS (country grouping, calculation process, process step).
At least one valuation model must be assigned to each calculation process in view V_T525S.
Procedure
Make an entry for this calculation process and return value for feature SENOR in view V_T525S (Assignment of Valuation Model and Rounding Rule).
I would appreciate you very much if you could advise me how to solve this problem.Hi ,
I am facing the same error like this,
please let how did you solve this iisue ?
thakn\s -
"Runtime Error" when I log-on to myspace
I'm getting a "Runtime Error" when I try to log-on to myspace.com. I get the same error when I click on certain links with in myspace. I can log-on from other computers and on the this computer I can do just about anything else I need to do. I'm running mac os x 1.3.2 (v312.6).
How can I resolve this issue?
This is the full error message:
"Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>"Hi i'm having the same problem =(
i went to log on to my myspace and i get this message:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
----and i dont know what to do.
Can anyone help me please coz this suxxxxxxxxxx =(
thanks for any help and replies @};- -
Error when i try execute report in SCCM 2012 R2
Hello, good morning.
Sorry for my english. Im Brazilian!
I have an environment with SCCM 2012
R2 and when I run a direct
report server I get the following error:
The DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error: The referenced account is currently locked out and may not be logged on to.
When I run a report I created with
report builder does not bring me
error.
Thanks!!!
Atenciosamente Julio AraujoHi Julio,
It seems to me that the data source, being used by this report, has some saved credentials which are not valid anymore (locked out). Edit the report to use the same datasource you use for your custom reports. Also make sure that your datasets use the correct
datasource after you change it. Do not used saved credentials in your reports unless necessary. And in case you do: use a service account of which the password never changes or expires.
Bart -
Runtime Error when starting Lightroom
I'm currently on day 12 or so of my trial with Lightroom. I've spent quite a few hours getting to know LR by retouching and cataloging over 8 years of photos. So far, aside from a few in-program bugs that I found a way to work around, I've been super-happy with it (especially the powerful keywording/metatagging system: amazing!) and have been really seriously coughing up the huge wad of $$ when the trial's done. But....
For no reason, LR started giving me a Runtime Error when I tried to start it. Something along the lines of "This application requested Runtime to terminate it unusually."
So off to Google I went, where I knew I could probably search that error and fix it like I've done with countless other programs. Unfortunately nothing is working.
Here are the facts:
--I'm running a fully patched Vista machine.
--LR worked fine earlier this morning. I had 1.4 and didn't perform any upgrades or maintenance to it (that I know of) when it just gave me the error out of the blue today when I tried to start it.
--I tried holding CTRL when I start it, and it still gives the error.
--I tried deleting a .lock file (which did exist) but it still wouldn't start.
--I tried running the "repair" tool in the install...no good.
--I uninstalled LR, d/led it again, and re-installed it. IT WORKED!....one time. I was able to run it, checked to make sure my cataloging was still intact (it was - phew!) and even deleted a folder I didn't want in it. Then I closed it. I tried re-opening it a few hours later and I got the SAME ERROR!
I sure hope someone can help because I'm at my wit's end.This is disgusting. I've pounded away for over 4 hours and I finally found a workaround. Here's the original post that had my answer:
http://www.adobeforums.com/webx/.3c05ac2f
The short of the story: if I put lightroom.exe into Windows XP compatibility mode" it will work. (To do that, for anyone else who comes across this, you just right-click your lightroom icon, click PROPERTIES, and go to the Compatibility tab and check the box next to "Run this program in compatibility mode for:" and select "Windows XP (Service Pack 2)")
I've loaded it up half a dozen times and it's still working perfectly as far as I can tell. Hopefully it won't hurt anything keeping it in that mode.
I'm glad this happened early enough into my trial that I'll have ample opportunity to see if it repeats itself. I'm not keen on sinking $300 into software that will give me ulcers as I troubleshoot problems like this. -
Error happened while running the report-BIRT
Eclipse version - Luna
that is-Eclipse IDE for Java and Report Developers
version-4.4.2.20150219-0708
Code in script open menu is-
query="select"
+"department_name, office_id, office_name,"
+"sum(total_empl_count) as total_empl_count,"
+"sum(pb_count) as Total_paybill_count, "
+"sum (case when status = 'Approved' then pb_count else 0 end) as Approved,"
+"sum (case when status = 'Ecs Processed' then pb_count else 0 end) as Ecs_Processed,"
+"sum (case when status = 'Open' OR status= 'Rejected' then pb_count else 0 end) as Pendind_on_DDO,"
+"sum (case when status = 'REVIEW I' then pb_count else 0 end) as REVIEW_I, "
+"sum (case when status = 'REVIEW II' then pb_count else 0 end) as REVIEW_II, "
+"sum (case when status = 'REVIEW III' then pb_count else 0 end) as REVIEW_III, "
+"sum (case when status = 'REVIEW IV' then pb_count else 0 end) as REVIEW_IV"
+"FROM ("
+"select distinct ep.office_id as office_id, ep.department_name as department_name, ep.office_name as office_name, pb.status, "
+"count(distinct ep.party_id) as total_empl_count, count(distinct pb.party_id) as pb_count"
+"from"
+"empl_position ep"
+"inner join party pty on ep.party_id = pty.party_id "
+"left outer join party_group pgo on ep.office_id = pgo.party_id "
+"left outer join party_relationship pr on pr.party_id_to = pgo.party_id"
+"left outer join party_group pgz on pr.party_id_from = pgz.party_id "
+"left outer join"
+"("
+"select pb.party_id, pbs.status"
+"from pay_bill pb "
+" inner join pay_bill_summary pbs on pb.pay_bill_id = pbs.pay_bill_id"
+" ) pb on ep.party_id = pb.party_id"
+"where "
+"ep.status_id = 'EMPL_POS_ACTIVE'"
+"and pty.party_type_id = 'PERSON' "
+"and pgo.group_name = 'Office'"
+"and pgz.group_name = 'Zone'"
+" and pr.status_id = 'PARTY_REL_ACTIVE' "
+"group by ep.office_id, ep.department_name, ep.office_name, pb.status"
+") zone_report"
+"group by department_name,office_name,office_id"
+"order by department_name"+params["Zone ID"]+params["Month"]+params["Year"];
resportList=new Packages.org.ofbiz.example.GenerateReport();
list=resportList.getReportData(query);
itr=list.iterator();
Problem- 1. I can't test my query.
it reports error - java.lang.ExceptionInInitializerError
at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
at org.ofbiz.entity.config.EntityConfigUtil.<clinit>(EntityConfigUtil.java:78)
at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c12._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:44)
at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
at org.eclipse.birt.report.engine.api.impl.ExtractionResults.nextResultIterator(ExtractionResults.java:157)
at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:69)
at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:119)
at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
at org.ofbiz.base.config.ResourceLoader.<clinit>(ResourceLoader.java:38)
... 39 more
[b]Problem 2[\b]-
While opening web viewer for my report the error is -
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2380)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:277)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)
at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:52)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
at org.ofbiz.entity.config.EntityConfigUtil.(EntityConfigUtil.java:78)
at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c10._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:4)
at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
... 61 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
at org.ofbiz.base.util.cache.UtilCache.(UtilCache.java:119)
at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
at org.ofbiz.base.config.ResourceLoader.(ResourceLoader.java:38)
... 113 more
[b]Please help ! [\b]Eclipse version - Luna
that is-Eclipse IDE for Java and Report Developers
version-4.4.2.20150219-0708
Code in script open menu is-
query="select"
+"department_name, office_id, office_name,"
+"sum(total_empl_count) as total_empl_count,"
+"sum(pb_count) as Total_paybill_count, "
+"sum (case when status = 'Approved' then pb_count else 0 end) as Approved,"
+"sum (case when status = 'Ecs Processed' then pb_count else 0 end) as Ecs_Processed,"
+"sum (case when status = 'Open' OR status= 'Rejected' then pb_count else 0 end) as Pendind_on_DDO,"
+"sum (case when status = 'REVIEW I' then pb_count else 0 end) as REVIEW_I, "
+"sum (case when status = 'REVIEW II' then pb_count else 0 end) as REVIEW_II, "
+"sum (case when status = 'REVIEW III' then pb_count else 0 end) as REVIEW_III, "
+"sum (case when status = 'REVIEW IV' then pb_count else 0 end) as REVIEW_IV"
+"FROM ("
+"select distinct ep.office_id as office_id, ep.department_name as department_name, ep.office_name as office_name, pb.status, "
+"count(distinct ep.party_id) as total_empl_count, count(distinct pb.party_id) as pb_count"
+"from"
+"empl_position ep"
+"inner join party pty on ep.party_id = pty.party_id "
+"left outer join party_group pgo on ep.office_id = pgo.party_id "
+"left outer join party_relationship pr on pr.party_id_to = pgo.party_id"
+"left outer join party_group pgz on pr.party_id_from = pgz.party_id "
+"left outer join"
+"("
+"select pb.party_id, pbs.status"
+"from pay_bill pb "
+" inner join pay_bill_summary pbs on pb.pay_bill_id = pbs.pay_bill_id"
+" ) pb on ep.party_id = pb.party_id"
+"where "
+"ep.status_id = 'EMPL_POS_ACTIVE'"
+"and pty.party_type_id = 'PERSON' "
+"and pgo.group_name = 'Office'"
+"and pgz.group_name = 'Zone'"
+" and pr.status_id = 'PARTY_REL_ACTIVE' "
+"group by ep.office_id, ep.department_name, ep.office_name, pb.status"
+") zone_report"
+"group by department_name,office_name,office_id"
+"order by department_name"+params["Zone ID"]+params["Month"]+params["Year"];
resportList=new Packages.org.ofbiz.example.GenerateReport();
list=resportList.getReportData(query);
itr=list.iterator();
Problem- 1. I can't test my query.
it reports error - java.lang.ExceptionInInitializerError
at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
at org.ofbiz.entity.config.EntityConfigUtil.<clinit>(EntityConfigUtil.java:78)
at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c12._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:44)
at org.mozilla.javascript.gen.c12.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
at org.eclipse.birt.report.engine.api.impl.ExtractionResults.nextResultIterator(ExtractionResults.java:157)
at org.eclipse.birt.report.designer.data.ui.dataset.DataSetPreviewer.preview(DataSetPreviewer.java:69)
at org.eclipse.birt.report.designer.data.ui.dataset.ResultSetPreviewPage$5.run(ResultSetPreviewPage.java:366)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
at org.ofbiz.base.util.cache.UtilCache.<init>(UtilCache.java:119)
at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
at org.ofbiz.base.config.ResourceLoader.<clinit>(ResourceLoader.java:38)
... 39 more
[b]Problem 2[\b]-
While opening web viewer for my report the error is -
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2380)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:277)
at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
at org.eclipse.birt.report.service.actionhandler.BirtChangeParameterActionHandler.runReport(BirtChangeParameterActionHandler.java:58)
at org.eclipse.birt.report.service.actionhandler.AbstractChangeParameterActionHandler.__execute(AbstractChangeParameterActionHandler.java:52)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleChangeParameter(BirtDocumentProcessor.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:360)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at org.ofbiz.entity.config.EntityConfigUtil.getXmlRootElement(EntityConfigUtil.java:62)
at org.ofbiz.entity.config.EntityConfigUtil.(EntityConfigUtil.java:78)
at org.ofbiz.entity.transaction.TransactionFactory.getTransactionFactory(TransactionFactory.java:47)
at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:96)
at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:77)
at org.ofbiz.example.GenerateReport.getReportData(GenerateReport.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c10._c1(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:4)
at org.mozilla.javascript.gen.c10.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at org.mozilla.javascript.gen.c6._c0(/report/data-sets/script-data-set[@id="8"]/method[@name="open"]:0)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
at org.mozilla.javascript.gen.c6.call(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.mozilla.javascript.gen.c6.exec(/report/data-sets/script-data-set[@id="8"]/method[@name="open"])
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateRawScript(JavascriptEvalUtil.java:99)
at org.eclipse.birt.core.script.JavascriptEvalUtil.evaluateScript(JavascriptEvalUtil.java:138)
at org.eclipse.birt.data.engine.script.ScriptEvalUtil.evaluateJSAsExpr(ScriptEvalUtil.java:993)
at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript(JSMethodRunner.java:138)
at org.eclipse.birt.report.engine.script.internal.DtEScriptExecutor.handleJS(DtEScriptExecutor.java:90)
at org.eclipse.birt.report.engine.script.internal.DataSetScriptExecutor.handleJS(DataSetScriptExecutor.java:256)
at org.eclipse.birt.report.engine.script.internal.ScriptDataSetScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:98)
at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open(ScriptDataSetRuntime.java:80)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.java:247)
at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$ScriptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java:223)
at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
at org.eclipse.birt.report.engine.data.dte.QueryResultSet.(QueryResultSet.java:98)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
... 61 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name cache, locale en_IN
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:163)
at org.ofbiz.base.util.cache.UtilCache.setPropertiesParams(UtilCache.java:159)
at org.ofbiz.base.util.cache.UtilCache.(UtilCache.java:119)
at org.ofbiz.base.util.cache.UtilCache.createUtilCache(UtilCache.java:666)
at org.ofbiz.base.config.ResourceLoader.(ResourceLoader.java:38)
... 113 more
[b]Please help ! [\b] -
Runtime Error when creating a new group
I'm getting a runtime error when creating a new group on a site collection?
Thanks in advanceThe most possible reason is if your site collection is reached the maximum site quota limit,then there is chance to get the run time error while creating a new group.
In this case,you will get the error while creating/updating the group or while adding the new user/uploading any content.
Also Ensure the group name is not having any special/unsupported characters.
Feel free to share the error screenshot/entry in the ULS logs.
Please remember to click 'Mark as Answer' on the answer if it helps you
Best Regards,
Pavan Kumar Sapara
s p kumar -
Error when re-scheduling a report in WebI XI 3.1 SP2
Hi,
Im running BOE XI3.1 SP2 and I get that error when re-scheduling a report in WebI. We have just recently patched the system to SP2.
Any idea what this error relates to?
Thanks
FrankSorry first part of this thread was removed.
The problem description is as follow:
On BOE XI 3.1 SP2, when re-scheduling a BO report which sends an Excel attachment to an email destination, users receive the error "An error has occurred: $Proxy4".
It seems to be hit and miss but is more consistent when sending to multiple (comma-separated) recipients in the 'TO' field. I also noticed that if you select CACHING then a "$Proxy5" type error is returned.
I understand that this bug was supposed to be fixed in XI3.1 SP2 but I'm already running SP2.
Anyone seen this?
Thanks
Frank
Edited by: Frank Goneau on Oct 20, 2009 4:16 PM
Maybe you are looking for
-
Error: No authorization to display the message
Hello Users are getting error : No authorization to display the message, when they are trying to view the content of the message. When checked in the error logs, I see teh below log: Message: Failed (javax.management.MBeanPermission,*,DISPLAY)java.la
-
Changed Display and when changed back, text blurry
I connected my computer to an external monitor yesterday and adjusted the display. After I removed the monitor, I put my display rate back to 1280 X 800. But for some reason all the text on the screen seems a little soft -- not completely blurry, jus
-
How can I use forms to create a printable document or an html page?
This question may be a little confusing, so below is a link to an example of what I want to create using Dreamweaver. http://www.howard.edu/technology/info/web/hosting/request/default.htm On this webpage, the user is asked to fill in the forms with t
-
Talk21 - moving to security model of Yahoo
Hi there, I wonder if anyone can advise on this. I have an older Talk21 e-mail account which has been transferred to Yahoo. I've had this for over 10 years. I notice when new customers sign up to Yahoo, there are now more advanced security options
-
Burning Keynote .PPT exported file to CD for Windows PPT user.
I created a Keynote presentation using KN 2.0.2 and exported it as a .ppt file. Worked great. I want to burn the .ppt file to a CD to give to a Windows PPT user to view. I burned the KN .ppt file to a CDRW disk using Finder. However, the Windows user