Wrong Posting is happening while doing the godds receipt by mvt type 161.
Hi
User has made PO of Rs 100.Then he has done Goods Receipt of 200 by 161 Mvt Type.
Fin. Goods on hand = 100
GR/IR cl. account = 200
COGS -Costprice diff = 100
agian he has done reversal of 1st Posting by mvt type 162
Fin. Goods on hand = 200
GR/IR cl. account = 200
Then again he has done Correct Posting by Mvt 161
Fin. Goods on hand = 100
GR/IR cl. account = 100
But Material has Moving Avg Price.
How system update the COGS -Costprice diff Account ?
Dear Madmac
In OBYC setting all the things is ok. But while doing MB1A the one line item is taking the refrence of Second Line item & the wrong G/L is taking from that material.
for 1st line item the valuation class is 3000 & the G/l assigned here is in
GBB- 41010001
BSX- 23020001
& for 2nd line item the valuation class is 7900 & the G/l assigned here is
GBB- 41040001
BSX- 23050001.
So the one line item of material is taking the reference of second material line item.
Regards,
Pankaj Rana
Edited by: pankajrana1986 on Apr 28, 2011 8:27 AM
Similar Messages
-
Process Order Warning Message while doing the Goods Receipt
Dear All,
While doing the GR against process order via t.code MB31, we are getting a warning message which reads u201CProduction date of bch 110420 (17.06.2011) does not match the prod. date entered (26.08.2011)u201D this happens only if the batch number already exists in the system for the same material code , in this scenario if the user ignores the warning message & posts the document the existing batch number production date also will be over written with current/inputted manufacturing dateu2026 this will collapse the batch traceability. Is there a way to customize where we can have a different production date for same batch number?..
For example:
Batch Number: ABCD
Production date 10.02.2011
Batch Number: ABCD
Production date 11.02.2011
Batch Number: ABCD
Production date 12.02.2011
Regards,
SivanandanI'm sorry to say that I find your requirement to be absolutely not logical; a batch is, by definition, a homogenous quantity of a material, that you want to separate by it's characteristics from other, different, quantities of the same material.
If you decided that manufacturing date is a characteristic of the batch, then it has to be unique for one batch.
So, as I see it, you have two options: either decide that manufacturing date is not important and do without, or have different batches for the different dates. -
Error while doing the Usage Decision in transaction QA32
Hello Friends,
While doing the goods receipt for customer returns from customer, system generated a inspection lot with inspection type 06.
So in QA32 transaction, system is showing that inspection lot, but in same screen, against the column InspPlan: Material, system is not showing any entry.
Later on after analysis, i found that no inspection plan was assinged to the material, Plant for which that inspection lot was created. When i checked that inpection lot in transaction QA03, in Insp. Specifications tab, agaisnt the Assigned Specification section, system was not showing any entry in fields Group, Group Counter, Plant, Usage.
And against that inspection lot,status CRTD, PREQ, CHCR are active.
Because of which, when user is trying to do the UD against this lot system throwing the error message as Status check error.
When i checked again i found that status CRTD is throwing the error message.
Hence friend, i want to do the Usage decision for that inspection lot than how to do?
Now user has assigned the material, plant to the inspection plan in QP02.
Should i go to QA02 transaction, and in Insp. Specification tab, for fields group, group counter, usage, Plant, maintain the values?
Will this allow me to do the usage decision against the inspection lot which got generated when no inspection plan was assingned to that material, plant?
Waiting for your valuable inputs.For Result Recording and Ud the inspection lot status must be REL as u told ur status is CRTD it Mean Some master
is missing in inspection lot,generally inspection plan for that u run QA02 enter inspection lot no go to specification tab
there a button assigned specification there click on that as u click on button u will find that plan for above material copied to lot and it will show u plan detail line group and group counter no.
then go to next screen Sample if sample management is active and click on sample then system will calculate sample size then save ur lot. it would get Status As REL now ui can enter result or take UD
for QM setting Refer
http://sap-questions.blogspot.com/ -
Installment source item is changed while doing the Return lot Posting
Hi Experts ,
We have a requirement to Change the Payment method for the Line item while doing any Return lot Posting(FP09) .So that we have enhanced the FQEVENT 292 to change the payment method in the line item and also configured the Lock(Payment/Dunning) for some of the Return Reason code . It is working perfectly for any item except installment line item.While doing the Return posting for any Installment line item(say 1st installment out of 4 installment) ,Lock is applied and payment method has been changed for that line item which is correct but it is also changed the Source line item of that Installment Plan which is not supposed to do this .not sure why SAP is taking the Source line item ? Could you please advice me what need to do for this ?
Thanks ,
PankajHi Pankaj,
You can use BAPI ' BAPI_INSTMNTPLN_CHANGE ' to change the Installment Plan item.
Thanks,
Pratima. -
While doing the backup via iTune, my contacts in iPhone AND iPad have been completely wiped out. They are still all available on my Address Book on my Mac. Any idea what happened and how to resolve this ?
Install ClamXav and run a scan with that. It should pick up any trojans.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
IM Login problem Error while doing the search
Hi people,
I'm facing some strange behaviour with login for a couple of users, I have users that don't have problems to login and I have user that can't login, I'm sure that all of them are valid because they're login to Portal Server, and then launch the IMClient using SSO, users that can achieved the login can't found users that can't login using the "add contact" button of the IMClient.
In the javaws console I'm seeing this exceptions when a user can't login:
30 Oct 2007 14:02:18,898] [xmpp] [javawsApplicationMain] org.netbeans.lib.collab.CollaborationException: Error while doing the search
org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getUserAttributes(XMPPPersonalStoreService.java:1211)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getPrivateQuery(XMPPPersonalStoreService.java:1289)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:419)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:240)
at com.iplanet.im.client.manager.CurrentUserManager.getCurrentProfile(CurrentUserManager.java:350)
at com.iplanet.im.client.manager.Manager.login(Manager.java:1255)
at com.iplanet.im.client.swing.login.DefaultLoginDialog.login(DefaultLoginDialog.java:550)
at com.iplanet.im.client.swing.login.DefaultLoginDialog.connect(DefaultLoginDialog.java:540)
at com.iplanet.im.client.iIM.startLogon(iIM.java:464)
at com.iplanet.im.client.iIM.init(iIM.java:203)
at com.iplanet.im.client.iIM.main(iIM.java:950)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1171)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1118)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:961)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:595)
/home/lalo/.sunmsgr/mx_m53852_latam_int_bbvabancomer_com_mx/messages/scripts/scripts.txt
[SafeResourceBundle] Missing resource key: iIMFrame_title
[Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
... 19 more
[Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
... 19 more
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)All of the users are under the same ldap branch, and previously I ran the command: /opt/SUNWiim/sbin/imadmin assign_services, for that ldap branch.
Any suggestion? Thanks in advance....Finally we found the cause of the problems, for an strange reason if the user has the character '�' in his 'cn' o 'sn' he can't login, for example:
bash-3.00# ldapsearch -x -h ldap -p 389 -b "c=mx,o=isp" -D "cn=DirectoryManager" -w password "cn=mx.m524217" cn sn uid
version: 1
dn: cn=mx.m524217, ou=people, c=mx, o=isp
uid: m524217
sn: VERA TREVI�O
cn: mx.m524217
When a user login to IM made a search of users if he search a user that can't login that search doesn't found nothing and the exception I posted before appears in the javaws console.
But this only happened while we are using the gateway, if we point to the IM multiplexor directly we don't have all of this problems.
Regards.. -
Error While doing the Asset Credit Memo -ABGL
HI,
While doing the Asset Credit Memo -ABGL,i am getting the below error.Kindly help me with your inputs.
Balance for transaction type group 10 negative for the area 01
Message no. AA629
Asset affected: 406000000004-0000
Diagnosis
With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
System response
The system rejects this posting.
Procedure
Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant.
Thanks
SupriyaCheck your config in OABN / OADB
The depriciation area 01 can allow you post values only postive .. in OADB
it has maintained Acquisition values Postive or zero values and net book
values has miantained Postive or 0 values. so based on this setting u cannt
post any negative values for this asset. -
Error message while doing the Vendor Clearing
Dear Team,
I am encountering an issue while doing the Vendor clearing.I am nullifying the Vendor down payment against to RE document through residual posting system is showing the message like the below.
No additional posting to asset
Message no. AA 444
Diagnosis
A downpayment was already posted to the asset 80567 0 in the currently displayed document. Additional posting to the same asset in this document is not possible for technical reasons.
Procedure
Combine the two downpayments into one.
Please kindly advice.The concern Down payment is showing under open item in FBL1N.Kindly advice how to proceed further.
Thanks for the consideration.
Regards,
Suma.Hi Suma,
First clear Down payment with using of F-54 & next you can clear normal OI.
Rgds
SumaMani -
While doing the goods issue system is thruoghing an erro message no VL621
hi ,
actually while doing the goods issue we had put a validation if that filed(serial number) is not valid.like AVAILABLE then the system has through to an error message.but after that error message system is throughing an nother error.
Risk of posting several mat.documents for one delivery->long text
Message no. VL621
Diagnosis
Processing has been terminated because there is the risk that the system
creates several material documents for this delivery.
Procedure
If this message occurs frequently, please note the exact situation and
procedure as well as error messages and inform the system administrator.
and we changed that error to warning also still we are getting that error message.
how to stopthis error message.hi actually not for serial number check.
there is a Z field in serial number master which is used for SIM number.
that SIM number will be validated with available SIM number from another Z table.
after this SIM error system is throughing this VL621 error after transaction terminated message. -
Error while doing the return delivery
Hi Experts,
I had created an PO with describe requirement for 50 quantity and did partial confirmation of 30 quantity.
While doing the return delivery for 10 quantity system is throwing error
Line 1: No goods receipt possible for purchase order 4200051444 00001
When tried doing the same process in ECC, the return delivery is posted without error.
We were able to do the return delivery earlier. Can anybody throw light on, for the possible reason for this error.
Your early response is appreciated.
Regards,
ASGMDMHI,
This is due to anyone of the following :
01. No further confirmation expected button is checked while doing confirmation for quantity 30. Please check the same in PO, if it is checked please uncheck the same so that you can do further confirmations.
02.Please check the confirmation status of 30 quanityt which you posted earlier. It should be having Posted in Backend. If it is not, then you cannot create return delivery for the same. Also please note that Back end GR document number for 30 quantity should be updated in the table BBP_PDBEH under the field BE_OBJECT_ID.
Thanks
Rajesh K -
Error while doing the confirmation by COR6N
Hello Friends,
While doing the confirmation by T.C COR6N,in that screen i gave the process order no. and the phase no. and the posting date only and pressed enter, after that system thrown the error message " Incorrect Resource entered " , Message no. S1333.
Diagnosis
This message is dynamically created, no more information possible.
Actually by default from the process order system takes the resource.Here in COR6N screen i haven't given the resource than also system is giving the error message.
Thanking you guys in advance.PLease check in the master data, Whether you have mentioned the resource..
Foe Example, In discrete manufacturing, In the routing , we will give the workcenter which will be copied to the production order...
Similarly please check and revert..
karthick -
Components Quantity Increased while doing the costing second run in 2011
Hi,
While doing the second costing run in same year (2011), we found there was a change in components quantity (increased) and this is not exaptable / wrong.
dispite the fact that we did not make any change in the BOM of this SKU between the two calculations and there is no cost lot changes. There is no Price change also.
Can any one explain, What are all the possibilities to increase the component quantities.
Thanks in Advance
Regards,
KumarHi Kumar
Check if there is % Consumption scrap in material master data and BOM item.
I believe this is the only way you can increase consumption without changing the quantities in BOM.
Regards. -
I charged my iPod4th gen then my usb adaptor sparks and my room smells like rubber... is there anything wrong? this happened twice.. the the usb adaptor is no longer functioning.. pls help!!!
- Does the USB port work for other devices?
- I do not know what you meanby USB adopter
- Make an appointment at the Genius Bar of an Apple store. Bring the "USB adopter" too.
Apple Retail Store - Genius Bar -
Erorr while doing the portal postinstallation
Hi
While doing the post installtion activities for portal server
i logged with user administrator
http://hostname:portno/nwa
i have got this error.
Validation Error: Communication with the CMS failed. Ensure that the URL is correct, that the CMS is up an running, and that the given user has administrative access rights for the CMS[ HTTP response "Not Found" from CMS server.
Rao.Hi
THanks for reply
Just now I started the installtion wat u told to install inthat way i have selected ASJAVA,EP,EPcore only.
Actully my need is i have to give this ep server to development team for ESS/MSS only.
Do i need to install NWDI in developer sytem.
I have some doubt on this .
and can u tell me how to proceed to do configuration for SLD.
I have selected SLD as solution manager while installation of solution manger.
IN ep I selecetd the existing sld as solution manager hostname.
Can u tell me how to configure SLD.
As u told n o need to do any post installation in EP7.0.
Regards
Rao. -
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]
Maybe you are looking for
-
How do I create Folders in Mail?
I recently migrated from Eudora to Mail. In the process I brought some Folders in which I filed mailboxes, in some cases there were folders in folders. All are there well and clear. How do I create a Folder into whch I can put more sub folders or mai
-
How can i make a vertical line in Application Toolbar when creat GUI STATUS
I see some standard UI have a separator vertical line in the GUI STATUS--Application Toolbar? Could you tell me how can i creat it in my customer GUI STATUS? TKS a million~~
-
ABS WINE issue, or simply looking for 20041019 package
Hello folks. I am having a slight problem with WINE. I am in need of wine 20041019 package. I used to be able to run foobar2000 on WINE 20041019 flawlessly, with no redraw problem or anything and it was simply working like native. However, at one poi
-
Adobe Reader drawing without Comment Tools or Method to set "Make Properties Default" without popup
Hi everyone, Spending a few days to find a solution for drawing lines, polylines, polygons, circles, rectangles, etc. It looks like a "dead end" since I want to develop a plugin for Adobe Reader that can draw custom Lines, Polylines, Polygons, ... (o
-
Mac Mail "Incoming Messages" seems to be in and endless loop.
When I open Mac Mail it automatically stars downloading new incoming mail messages. The indicator bar in the bottom left of the mail window indicates incoming messages 1 of 20. It seems to go for ten minutes or so, then increases to 4 of 58, then inc