Approver does not exist
Hi,
I have an issue with Leave Request for Edit/Cancel options:
- if employee cancels/edit leave request (that has been previously created in portal), the application works fine.
- if employee has an absence created directly in backend, when he tries to edit/cancel the leave request (the absence has been registered directly in backend, so no leave request exists), the employee gets the error "Approver does not exist"
Issue seems to happen in function PT_ARQ_REQUEST_CHECK when calling
perform find_and_set_nextprocessor
changing
im_request-next_processor
no_more_approver_check.
this variable "im_request-next_processor" is empty and once in the form, we only change processor if the name is not initial....
if ch_next_processor-objid is initial and not ch_next_processor-name is initial.
Do you have any hints for this?
Thank you
Carla Sousa
Hi Siddarth,
I really appretiate your help. I am currently trying to enhance the PT_ABS_REQ
method IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC and also try to implement a post-exit method on CL_HRESS_PTARQ_LEAVREQ_GUIBBL on method get_data.
So far, I still get the error message. Do you have any hint about which mehtod i have to re-implement to overcome this issue?
Something tells me the solution could be easily solved in PT_ARQ_REQUEST_CHECK inside
perform find_and_set_nextprocessor
changing
im_request-next_processor
no_more_approver_check.
the check "if ch_next_processor-objid is initial and not ch_next_processor-name is initial." was replaced by " if ch_next_processor-objid is initial . "
I have created the following incident 778514 / 2014
thank you in advance.
Best regards,
Carla Sousa
Similar Messages
-
CProjects Phase Approval : Approval Document does not exist
Hello,
I am trying to approve a phase in cProjects 4.0 (WD ABAP Based).
When I goto Approval Tab --> Approval Document, it displays:
Approval Document does not exist
I have checked the configuration and everything looks correct.
For Project Type I have activated the Form DPR_APPROVAL_HIER
The ADS is configured properly.
I also checked Note 874054 - You cannot start approval w/o approval document, and the config is as per this note.
What else can be likely reasons for this problem.
Any help is appreciated.
Regards,
ShubhamHi Shubham,
As per SAP, ADS is supported by the following servers only:
Windows server 2003 on IA32 32 bit
Linux Suse SLES 9 on x86_64 64 bit
Linux Red Hat EL 4 on x86_64 64 bit
AIX 5.2, 5.3 64 bit
HP-UX 11.11 on PA-RISC 64 bit
HP-UX 11.23 on PA-RISC 64 bit
Solaris 9 on SPARC 64 bit
Solaris 10 on SPARC 64 bit
Refer http://service.sap.com/pam - Netweaver 2004s - Additional Components.
Check the Server on which your cProjects has been installed.
Regards,
Reema. -
ORA-00942: table or view does not exist
select
nvl(appr.APPROVER_NAME, org.APPROVER_NAME) as APPROVER_NAME,
nvl(appr.APPROVER, org.APPROVER) as APPROVER,
nvl(appr.APPROVER_TYPE, org.APPROVER_TYPE) as APPROVER_TYPE,
nvl(appr.ASSIGNED_DATE, org.ASSIGNED_DATE) as ASSIGNED_DATE,
nvl(appr.APPROVAL_DATE, '-') as APPROVAL_DATE,
nvl(appr.STATE, org.STATE) as STATE,
org.SEQ as numberoftimesmodified,
nvl(appr.PROCESS, org.PROCESS) as PROCESS,
appr.seq2
from (
select a.seq,
b.usr_display_name as APPROVER_NAME,
b.usr_login as APPROVER,
'User' as APPROVER_TYPE,
'-' as ASSIGNED_DATE,
'-' as STATE,
a.seq as numberoftimesmodified,
'-' as PROCESS
from(
SELECT 1 as seq, USR_UDF_MANAGER_LOGIN as GID, '' as approver_name, 'user' as approver_type FROM DEVT_OIM.USR WHERE USR_LOGIN =:BENEFICIARY_GID AND :APPLICATION = 'Oracle 11i On demand'
UNION
select rownum as seq, regexp_substr(:APPROVERPAYLOAD,'[^,]+', 1, level) as gid, '' as approver_name, 'user' as approver_type from dual
where :APPLICATION != 'Oracle 11i On demand'
connect by regexp_substr(:APPROVERPAYLOAD, '[^,]+', 1, level) is not null
) a
inner join DEVT_OIM.usr b on a.gid = b.usr_login
) org
left join(
select b.numberoftimesmodified as seq, rownum as seq2, a.*
from
select
LEAD(a.ASSIGNEES) OVER(ORDER BY a.numberoftimesmodified) as prev_gid,
LEAD(a.pushbacksequence) OVER(ORDER BY a.numberoftimesmodified) as prev_pushbacksequence,
a.ASSIGNEES as current_gid,
nvl(retrieveGidName(a.ASSIGNEES), '-') as APPROVER_NAME,
(DEVT_OIM.TOKNEW(REPLACE(a.ASSIGNEES, ',', ':'))) as APPROVER,
'User' as APPROVER_TYPE,
a.pushbacksequence,
TO_CHAR(a.assigneddate,'DD-Mon-YYYY HH:MI:SS AM') as ASSIGNED_DATE,
case when a.state = 'WITHDRAWN' then TO_CHAR(a.updateddate,'DD-Mon-YYYY HH:MI:SS AM') else TO_CHAR(d.updateddate,'DD-Mon-YYYY HH:MI:SS AM') end as APPROVAL_DATE,
a.numberoftimesmodified,
case when a.state = 'EXPIRED' then 'Expired' when a.approvalduration is null then 'Pending' when a.outcome = 'REJECT' then 'Rejected' else 'Approved' end as PROCESS,
d.state as process2,
case when d.substate = 'REASSIGNED' then 'Reassigned' when d.state = 'INFO_REQUESTED' then 'Request Info' when a.state = 'EXPIRED' then 'Expired'
when a.outcome = 'REJECT' then 'Rejected' when d.substate = 'INFO_SUBMITTED' then 'Submitted' when a.state = 'WITHDRAWN' then 'Withdrawn' when e.state is null then 'Pending' else 'Approved' end as state,
e.ASSIGNEES, d.substate
from WFTASKHISTORY a
left join WFTASKHISTORY d on d.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and d.numberoftimesmodified = (a.numberoftimesmodified+1)
left join WFTASKHISTORY e on e.IDENTIFICATIONKEY = a.IDENTIFICATIONKEY and e.numberoftimesmodified = (a.numberoftimesmodified-1) and e.ASSIGNEES = a.ASSIGNEES
where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY and a.state is not null
order by a.numberoftimesmodified
) a
inner join (select rownum as numberoftimesmodified, pushbacksequence from (select distinct pushbacksequence from WFTASKHISTORY a where a.IDENTIFICATIONKEY = :IDENTIFICATIONKEY order by pushbacksequence)) b
on b.pushbacksequence = a.pushbacksequence
where a.prev_gid != a.current_gid or prev_gid is null
order by a.numberoftimesmodified
) appr on org.seq = appr.seqORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
Error at Line: 55 Column: 172Hi User,
The ORA - 00942 indicates that the Underlying object is not present in the Database.
Just Check whether the Table you are used in the Select statement exists in the user/Schema.
To check this..
SELECT *
FROM USER_TABLES
WHERE TABLE_NAME = 'YOUR_TABLE_NAME';Or
Simply,
SELECT *
FROM TAB;If you are using the Table from other Schema, Just give the table name like this..
SELECT *
FROM SCHEMA_USER.table_name;Thanks,
Shankar -
Hi,
I am getting this error in most of our WSUS servers.
Content file download failed.
Reason: HTTP status 404: The requested URL does not exist on the server.
Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe
Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
After few minutes, getting below error as well. But i could see the synchronization has completed successfully.
Log Name: Application
Source: Windows Server Update Services
Date: 12/19/2014 4:45:55 PM
Event ID: 10032
Task Category: 7
Level: Error
Keywords: Classic
User: N/A
Computer: ******
Description:
The server is failing to download some updates.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Server Update Services" />
<EventID Qualifiers="0">10032</EventID>
<Level>2</Level>
<Task>7</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-12-19T08:45:55.000000000Z" />
<EventRecordID>496887</EventRecordID>
<Channel>Application</Channel>
<Computer>*****</Computer>
<Data>The server is failing to download some updates.</Data>
This error is happening everyday. Please advise for a fix.Reason: HTTP status 404: The requested URL does not exist on the server.
Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe
Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
Source: Windows Server Update Services
Description:
The server is failing to download some updates.
This error is happening everyday. Please advise for a fix.
If this is happening on an UPSTREAM server it is because you have approved updates that are no longer available from Microsoft. Almost always this involves approvals of *EXPIRED* updates (which have been pulled from the catalog and cannot be downloaded).
If this is happening on a DOWNSTREAM server it's because something/someone deleted the files from the upstream server. It can also happen if the entire upstream ~\WSUSContent folder has gone amuk.
For an upstream server, find the expired updates, remove the approvals, cancel the downloads, and then decline the updates.
For a downstream server, figure out what the affected updates are and fix the upstream server.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds. -
The user does not exist or is not unique - workflow problem
I am using Solution Starters Dynamic Management workflow on my Project Server 2010. I was working fine for a year now, but today all workflows were broken when someone tried to submit them to a next stage. "Workflow terminated. An error has occurred
in the workflow."
I tried debbuging the workflow and it seems to be OK, but the problem appears when it needs to assign tasks to the approvers (they are in the Approvers group). When I remove users from the group that represents approvers (and leave that group empty), it
works fine, so I am guessing that users (who need to approve the stage) are the problem. My administrators are saying that there were no updates or changes on AD machine.
I don't have problem with users in any of people picker fields or anywhere else on the site. I am using claims auth.
What could be the reason for this behavior??
These are main errors from the log:
Failed to persist workflow instance: 7dc2e035-cd02-4284-b851-a829e372a809 with error code: 5, instance data size: 29578, internal state: Running, processing id: 1e2211d2-ef7b-4416-90ef-ac041396c200 2f83db27-34da-4275-a42e-0625240af921
The user does not exist or is not unique.
WinWF Internal Error, terminating workflow Id# 7dc2e035-cd02-4284-b851-a829e372a809
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: additionalNodes at Microsoft.Office.Workflow.Actions.OfficeTask.ProcessTaskError(Object sender, EventArgs e)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run()It appears that this isn't the problem with users, but it is a problem with Office Tasks. This is the main error in ULS logs (same as in the previous post):
"Specified argument was out of the range of valid values. Parameter name: additionalNodes"
I noticed that all content types are gone from my pwa site. Is it possible that my workflow is causing problems when adding tasks because somebody deleted all content types?? -
Object does not exist : MESSAGE OL 826 - Production issue
R/3 release 4.6C
Transaction: FB03
Custom WF: Triggering events: FIPP-CREATE and FIPP-COMPLETED
When we try to post a document (journal) the workflow gets triggered and reaches the approver. The approver approves it and then it gets posted.
Here in this case, after the approval the workflow running into error with u201Cmessage OL 826 Object does not existu201D
When I click on the message I get this information
Object does not exist : Message no. OL 826
Diagnosis : You tried to create an instance of the object type EMPLOYEET with the
key 1234520080603. No instance of this kind exists.
PERNR u2013 12345
Date - 03.06.2008
I checked this using the FM P_EMPLOYEE_CHECKEXISTENCE and it is working fine there. This FM is used in EMPLOYEET object for existence check.
Initially I thought the problem was with document and the buffer but after checking u201Cdiagnosisu201D message, it confirms me that this is related to Employee.
This is happening only to one employee and all other have NO issues.
I have checked with HR team and they reckon everything is fine from their side.
Since this is in Prod I am unable to debug and test.
I was looking into the previous forums to find the solution but couldnu2019t find RIGHT one. Could you please suggest any solution for this ?
Your help greatly appreciated.
Sreethan
Edited by: SAP User on Jun 12, 2008 12:13 PMDear Mike/Martin,
Could you please explain a bit about the authorization problem?
PERNR A, B, C, and D do the posting the docs through FB01 and PERNR X usually do the approvals. the problem is happening onlyl with PERNR A ... if the approver has the auth problem then it could be same issue with other... please correct me if I am wrong.
As Martin suggested I have contacted HR team but they say .... they dont see anything different or changes for this EMP. The personal record is coming from the EVENT FIPP-CREATE or COMPLETED so there is no manual interaction.
Just guessing: if this is the problem for all the employees then what could be the reason ? guessing that in random it is happening to this emp. He has posted 6 docs....all of them have the same issue. I checked last 3 months records and I did see Couple of workflows in last 3 months with the same error.... so just thinking if this is the problem with all emp happens onlly ramdomly.
Thoughts ??
Thanks & Regards,
Sreethan -
Getting status row for item '' activity id '' does not exist
Hi,
Need your help.
Create a custom workflow SAMPRREQ. Its having following processes.
1. Start Process
2. Respond Notification.
3. Function to update Table with the responded value.
4. End process.
After lauching the workflow, Notification send to the performer. Open the notification. When approver click the any of the result value (approve, reject, onhold) system giving followign message.
3101: Status row for item 'SAMPRREQ/20130206161924', activity ID '242956' does not exist.
I have seen some threads in the forums and bounce the database , purge the item type completly. But, still getting the error.
Regards/PrasanthSosa,
When i run the wfstat nothing wrong in the info. unable to find the issue.
But, i have narrow down the issue. In the function process in my workfow i am calling a custom function called update_approval_status_new.
In this the value of the respond notification to be updated to a header table of this workflow and insert into events tables.
When i comment these two dml ( update to header status & insert into events ) there is no error.
Can any one tells me can i update and insert custom tables in workflow or not. If I want to do this, what is procedure.
Regards/Prasanth -
Getting Process instance with key '0' does not exist.
I am doing a request based provisioning task.When I request for a resource the approvers are able to approve the request but the user is not created.
I am getting the below exception at the backend:-
[XELLERATE.APIS],Class/Method: tcProvisioningOperationsBean/getProcessDetailData encounter some problems: Process instance with key '0' does not exist.
[11/2/12 0:30:13:640 EDT] 00000097 SystemOut O ERROR,02 Nov 2012 00:30:13,639,[XELLERATE.WEBAPP],Class/Method: RequestApprovalDetailAction/requestDetail encounter some problems: Process instance with key '0' does not exist.
Thor.API.Exceptions.tcAPIException: Process instance with key '0' does not exist.
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.getProcessDetailData(Unknown Source)
at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.getProcessDetail(Unknown Source)
at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.getProcessDetail(Unknown Source)
at com.thortech.xl.ejb.interfaces.EJSRemoteStatelesstcProvisioningOperations_6b2f800a.getProcessDetail(Unknown Source)
at com.thortech.xl.ejb.interfaces._tcProvisioningOperations_Stub.getProcessDetail(Unknown Source)
at Thor.API.Operations.tcProvisioningOperationsClient.getProcessDetail(Unknown Source)
at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:337)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
at Thor.API.Security.LoginHandler.websphereLoginSession.runAs(Unknown Source)
at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
at $Proxy6.getProcessDetail(Unknown Source)
at com.thortech.xl.webclient.actions.RequestApprovalDetailAction.setStandardApprovalDetail(Unknown Source)
at com.thortech.xl.webclient.actions.RequestApprovalDetailAction.requestDetail(Unknown Source)
at sun.reflect.GeneratedMethodAccessor665.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)Process instance with key '0' does not exist
Such issue typically appears when the Provisioning is initiated without "Auto Save" i.e. before ORC_KEY entry goes in the OIU table...
Second possibility can be that the mandatory attributes in the process form are not populated..
Third possibility can be that the Status is Waiting... And Resource is dependent on another Resource...
Are you able to Direct Provision the account? I mean without raising Request Based provisioning?
Please give us following details:
(1) Resource Profile:-status of Auto Save
(2) Approval Process:- status of Auto Save and Auto Pre-Pop
(3) Prov Process:-status of Auto Save and Auto Pre-Pop.
(4) Is the object form properly populated?
(5) Is the Process form properly populated?
(6) Any Exception occurred during Approval process?
(6) In the OIM Database, fire the following query:-
SELECT OIU.ORC_KEY
FROM OIU, USR, OBI
WHERE OIU.USR_KEY=USR.USR_KEY
AND UPPER(USR.USR_LOGIN)=UPPER('ABCDEFGH_USER')
AND OBI.OBI_KEY=OIU.OBI_KEY
AND OBI.OBI_KEY IN (SELECT OBI.OBI_KEY FROM OBI,OBJ WHERE OBI.OBJ_KEY=OBJ.OBJ_KEY AND
UPPER(OBJ.OBJ_NAME)=UPPER('AD USER'))
This will show whether any proper ORC_KEY was generated for this resource instance.. -
Product category does not exist in logical system
Hello Experts,
Need help in understanding product category change behaviour.
Shopping cart created and approved.
PO created and approved.
Now PO change version created by changing product category.
Please enlighten me whether this change is really allowed on business perspective and SAP perspective.
So far we been told that there is business case to justify this change.
If allowed by SAP, then how do we solve the problem of error occuring in workflow "product category does not exist in logical system XXXX".
Please advise.
Thanks,
GauravHi
I dont have a system right now to check
1.are you ordering the item from external catalog? ( any mapping between catalog product category to SAP product category )?
2. after approved PO created.
3. Now BUYER could change the product category again?
4. why the BUYER takes push ups for REQUESTER . Let Buyer cancel the PO and ask requester to create a PO.
What is the business process existing in your business ?
Since product category determines purchase group and every thing like gl account etc..
Can you recreate the same issue in development box?
Note 1466155 - GL account not re-determined on change of product categorySymptom
You have an SRM PO with items having multiple account assignment. Go to the PO item overview OR to the item basic data tab and change the product category. However, this does not trigger a new GL account determination for the accounting lines.
Note 1407962 - Category is editable when contract is assigned in PO item
Symptom
When ever a Contract item (Free text or Product Category) is assigned to a Purchase order free text line item, The category modification is not allowed. This is because the product category is always copied from the contract item and overrides the Category for Purchase Order Item. It is confusing for the user as the category is editable and can't be modified.
SAP has different different behaviors . Kindly tell us what type you belongs too... -
11g SOA Composite Rules Error - Rule session pool object does not exist
Hi all,
I'm hoping someone has experienced this and found a way through it. We're looking at exposing Oracle Rules DecisionFunctions via the automagically created web services in JDeveloper. We've tried several Rules examples, including the OrderApproval one available online, and are getting errors everytime we try and test the web service.
Firstly we get this error:
[2010-09-01T09:47:24.249+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> Error caching the Decision Services metadata.[[
Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
Error caching the Decision Services metadata.
Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
at oracle.rules.sdk2.datamodel.DecisionFunction.getGlobalTypeIDs(DecisionFunction.java:860)
at oracle.rules.sdk2.datamodel.DecisionFunction.validate(DecisionFunction.java:342)
at oracle.rules.sdk2.dictionary.DictionaryComponentTable.validate(DictionaryComponentTable.java:221)
at oracle.rules.sdk2.datamodel.DataModel.validate(DataModel.java:92)
at oracle.rules.sdk2.dictionary.RuleDictionary.validate(RuleDictionary.java:1093)
at oracle.rules.sdk2.dictionary.RuleDictionary.update(RuleDictionary.java:835)
at oracle.rules.sdk2.datamodel.DataModel.generateFactClasses(DataModel.java:115)
at oracle.rules.sdk2.dictionary.RuleDictionary.dataModelRL(RuleDictionary.java:1398)
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1141)
... 44 more
And then we get the following error:
[2010-09-01T09:47:24.390+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> [[
oracle.fabric.common.BusinessFaultException
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
And lastly this one:
[2010-09-01T09:47:30.437+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ5iO0FwI5yrDCiW1CV7Dc000Awd,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 08f3eaa8-ce61-4ec9-a646-af821be06420] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002ab0] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130023] <.> Rule session pool object does not exist.[[
The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
Rule session pool object does not exist.
The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:528)
at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:260)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:331)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:634)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Has anyone had any luck actually getting this to work? If so, how? It simply seems like this particular aspect of the product is broken!
Your help would be VERY much appreciated!
Regards,
RhianHi SR,
Thanks for your response. I attempted what you've suggested (1=1 - asset new fact in output), however nothing has changed.
This is occurring across several Composite Rules projects, including the Oracle provided Chapter 5 Order Approval example. Unless someone can suggest a solution to this issues, it looks like we're going to have to shelf our plans to utilize the Business Rules component via the composite service.
Very frustrating couple of days, that's for sure! :{
Regards,
Rhian -
Workflow error - Screen Field BSEG - BWKEY does not exist
Hi Experts,
Could you please help me, when I am parking a FI reversal document through FBR2 a workflow gets generated, but when the approver is trying to approve the document, we get an error saying
"S Field BSEG-BWKEY. does not exist in the screen SAP 349 BSEG-BWKEY".
This Error occurs occassionly.
Regards,
Sathya
Edited by: Sathyanarayana Raghavendra on Nov 14, 2008 5:43 AMHi Sathya,
you said its happening only some times...
Is it happening only for some specific company codes ??\
If so, open the FI document which is not having any problem and the document which is going to error and compare what are the fields which got extra populated ...
The issue i faced was for a specific company code where the MRA and responsibility area in the items was getting populated with the company code which was not happening to other company codes.
once the fields are made blank, then we used to restart the workflow and it used to get approved without the wf going into error.
Regards,
PR. -
Shoppingcart business partner does not exist
Hi Gurus,
One shoppingcart is created and done the partial confirmation two months back.one month back User id has been deleted and recreated the same ID.So the user having two business partner id's.One is the old business partner and the another one is new business partner.Now the User is creating the partial qty confirmation second time,But he is getting the error message " Partner number 8000XXXX does not exist in the system".The Business partner number was assigned in the Good's Receipient field as old BP number.Because of this issue we could not able to do the Confirmation Centrally also....
Please suggest me what is the solution which we can provide for the user.
Regards,
Srinivas.Thanks for Update...
Actually why we deleted the User is - Once shoppingcart is approved the manager,it is showing that shoppingcart approved completely and once again goto Inbox...the work item still showing in the Inbox ...so manager is getting the work item again and again.Because of this we deleted the User id and Recreated the same ID.At that moment the Issue was resolved...
but the problem is Process with the confirmation in SRM system not allowing .....
Finally we did the manual GR in Backend.....But the End user is not accepting the resolution......
Is there any chance to change the Goods receipient Business partner ID in the completed shopping cart.......
Please help me on this.......... -
Siri could not understand me when I asked it to call my husband, (he has a name I have a hard time pronouncing) so I put in a middle name for siri to understand. I then deleted the middle name from his contact, however, siri still tries to text/call that contact when prompted even though it does not exist.
Hi Romano & Detlev ,
Thanks for the reply .
This is what I was looking
Detlev:
About the NPE ... in the above code I am not getting that.
Thats my mistake
Earlier I tried with
IResource rsrPublished = (IResource)event.getParameter();
String rid = rsrPublished.getRID().toString();
In the second line of code I was getting the NPE
after that I used to if condition to debug it
Sorry for the confusion...
One more thing
which is the event triggered for approval or how to capture the Approval Event when a content is approved by the Approver
thanks
pk -
The name "Folder" does not exist in the namespace
I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
I am using Visual studio 2013. As I work through the example I am getting the following error.
Error 1
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
11 17
FolderExplorer
Error 2
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
16 7
FolderExplorer
Here is the code:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:FolderExplorer"
Title="Folder Explorer" Height="350" Width="525">
<Window.Resources>
<ObjectDataProvider x:Key="RootFolderDataProvider" >
<ObjectDataProvider.ObjectInstance>
<my:Folder FullPath="C:\"/>
</ObjectDataProvider.ObjectInstance>
</ObjectDataProvider>
<HierarchicalDataTemplate
DataType = "{x:Type my:Folder}"
ItemsSource = "{Binding Path=SubFolders}">
<TextBlock Text="{Binding Path=Name}" />
</HierarchicalDataTemplate>
</Window.Resources>
I have a class file named Folder.vb with this code.
Public Class Folder
Private _folder As DirectoryInfo
Private _subFolders As ObservableCollection(Of Folder)
Private _files As ObservableCollection(Of FileInfo)
Public Sub New()
Me.FullPath = "c:\"
End Sub 'New
Public ReadOnly Property Name() As String
Get
Return Me._folder.Name
End Get
End Property
Public Property FullPath() As String
Get
Return Me._folder.FullName
End Get
Set(value As String)
If Directory.Exists(value) Then
Me._folder = New DirectoryInfo(value)
Else
Throw New ArgumentException("must exist", "fullPath")
End If
End Set
End Property
ReadOnly Property Files() As ObservableCollection(Of FileInfo)
Get
If Me._files Is Nothing Then
Me._files = New ObservableCollection(Of FileInfo)
Dim fi As FileInfo() = Me._folder.GetFiles()
Dim i As Integer
For i = 0 To fi.Length - 1
Me._files.Add(fi(i))
Next i
End If
Return Me._files
End Get
End Property
ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
Get
If Me._subFolders Is Nothing Then
Try
Me._subFolders = New ObservableCollection(Of Folder)
Dim di As DirectoryInfo() = Me._folder.GetDirectories()
Dim i As Integer
For i = 0 To di.Length - 1
Dim newFolder As New Folder()
newFolder.FullPath = di(i).FullName
Me._subFolders.Add(newFolder)
Next i
Catch ex As Exception
System.Diagnostics.Trace.WriteLine(ex.Message)
End Try
End If
Return Me._subFolders
End Get
End Property
End Class
Can someone explain what is happening.
Thanks HalDid you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
xmlns:my="clr-namespace:FolderExplorer"
The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
Short dump 'Table does not exist in database'
Hello All,
When a report is executing it is going to short dump by saying 'Table does not exist in database'. As per the short dump analysis this issue is happening because of the following Native SQL statement statement :
Program : %_T050N0 (This is a dynamic program generating by SAP )
Form Name : DYN_LIC_SEL_TOT
exec sql performing LOOP_MOVE_WRITE_ISAP.
select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty into :dcat-lplate, :dcat-matnr,
:dcat-werks, :dcat-charg, :dcat-holdflag,
:dcat-qty from ZLICENSE_R2 where itm_num = :p_matnr and
model_lot = :p_charg
endexec.
As per the customer this issue occurring since they migrated the SAP back-end data base from Oralce to DB6. Here I felt that ZLICENSE_R2 is not migrated from the Oracle to DB6. But as per the BASIS Team, even this table was not maintained in Oracle also. If the table was not maintained in the Oracle, this issue should have been there even before migration also.
Following is the short dump details:
Short text
Table does not exist in database.
What happened?
The table or view name used does not
exist in the database.
The error occurred in the current database connection "DEFAULT".
What can you do?
Check the spelling of the table names in your report.
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.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not
caught in
procedure "DYN_LIC_SEL_TOT" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Triggering SQL statement: "select single_plate, itm_num, ctry_code, model_lot,
lic_hold_flg, qty from ZLICENSE_R2 where itm_num = ? and model_lot = ? "
Database error code: "-204"
Could you please let me know what might be the reason for this issue.
Many Thanks in Advance.Transaction SE11, input ZLICENSE_R2 for table name, and display the table. Did the table display? If not, that is the main problem.
If the table displays, go to menu item Utilities -> Database Object -> Database Utility
In the resulting screen, under the "Status" fields, you should see text "Exists in the database." If you don't, then the table exists in the dictionary, but doesn't exist in the database system. Click the "Create database table" button and then you should be able to run the program.
You may need basis team's help to carryout some of these actions.
Maybe you are looking for
-
Tips on reducing PDF file size?
I can't seem to export PDFs smaller than 5 MB from Pages. The docs I'm exporting are only one or two pages in length with one small raster image and a few vectors. Exporting to PDF even at loweset "Good" quality produces a 5 MB file. Things I've trie
-
Mail constantly re-downloads thousands of IMAP messages
On my laptop, I have nine IMAP accounts set up. Many of them are very old and have tens of thousands of messages stored in many folders. Mail.app is caching them locally, but frequently it seems to feel the need to re-download many thousands of them.
-
Webmail ad blocker not working in outlook hotmail
I'm trying to figure out why my Webmail Ad Blocker stopped working in Outlook (Hotmail). I have tried everything I can, and even just reset Firefox to no avail. I still get the annoying ad-laden reading pane on the right side of my inbox and messages
-
Can't connect my BT Headset Plantronics 975 with OS 4.01
Hello, with my 3GS with OS 3.x and 4.0 my Plantronics 975 works fine. After the Update of OS 4.01 I can't connect the Headset with the IPhone, it dosn't find. Any ideas? Regards Ulrich
-
Problem with activating datasource in BI7
i am using BI7 and ECC6. iwas generating data source using genrice view..... when i replicate in BI i find the data source but i find it activation icon disabled. how can i activate the data source please guide