Cannot create cursor for group
Hi All,
Iam trying to Integrate Reports(jsp) with our J2ee application. I have deployed the Application throgh OEM . I have a created sample report JSP through Reports Devloper Suite and it is displaying fine. Now when I try to run the JSP created by the Reports Devloper team. They are not running fine.One of the reports gives the following message in browser "Cannot create cursor for group " . I see no exception in the logs too.
Iam using 10g 10.1.2.0.2 Oracle Application server.
Iam also using thin Client.
Thanks In Advance for the Help.
seel my previous posting
Similar Messages
-
Error message:FRM-12001: Cannot Create the record group(check your query)
Requirement: Need to get employee name and number in the LOV in search criteria.
So I created LOV "full_name" and Record group Query under Employee Name property palette with
select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
,papf.employee_number
from apps.per_all_people_f papf, apps.per_person_types ppt
where sysdate between papf.effective_start_date and papf.effective_end_date AND papf.person_type_id=ppt.person_type_id AND ppt.system_person_type IN ('EMP', 'OTHER', 'CWK','EMP_APL')
AND PPT.default_flag='Y' and papf.BUSINESS_GROUP_ID=1
order by papf.full_name
I was unable to save and getting error message "FRM-12001: Cannot Create the record group(check your query)".
I cant use PER_ALL_PEOPLE_F.FULL_NAME since full name here is last_name||title||middle_names||firstname.
But my requiremnet is papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name .
Can any one of you help me.First, Magoo wrote:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name ( p_title in varchar2,
p_last_name in varchar2,
p_first_name in varchar2,
p_mid_names in varchar2 ) return varchar2 is
begin
for l_rec in ( select decode ( p_title, null, null, p_title || ' ' ) ||
p_last_name || ', ' || p_first_name ||
decode ( p_mid_names, null, null, ' ' || p_mid_names ) full_name
from dual ) loop
return ( l_rec.full_name );
end loop;
end;</font></pre>
Magoo, you don't ever need to use Select from Dual. And the loop is completely unnecessary, since Dual always returns only one record. This would be much simpler:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">create or replace function emp_full_name
( p_title in varchar2,
p_last_name in varchar2,
p_first_name in varchar2,
p_mid_names in varchar2 ) return varchar2 is
begin
Return ( Ltrim( Rtrim ( p_title
||' ' ||p_last_name
||', '||p_first_name
||' ' ||p_middle_names )));
end;</font></pre>
And second:
user606106, you did not mention how you got your record group working. However, you DO have an issue with spaces. If you change this:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select papf.title||' '||papf.last_name||', '||papf.first_name||' '||papf.middle_names emp_full_name
,papf.employee_number </font></pre>
to this:
<pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy">select Ltrim(Rtrim(papf.title||' '||papf.last_name||', '
||papf.first_name||' '||papf.middle_names)) AS emp_full_name,
papf.employee_number</font></pre>
it should work. The Ltrim(Rtrim()) removes leading and trailing spaces from the resulting full name. -
Help with Jsp: logic:iterate Cannot create iterator for this collection
Hello,
I am developing a jsp with struts. This is the snap of the code:
<logic:iterate id="prod" collection="productList" >
<tr align="center">
<td><html:text property="prodDesc" size="50" indexed="true"/></td>
<td>
<html:select property="prodUnit" indexed="true">
<option selected>-</option>
<OPTION VALUE='NMB'>NMB
<OPTION VALUE='TEN'>TEN
<OPTION VALUE='TPR'>TPR
<OPTION VALUE='GWH'>GWH
</html:select>
</td>
<td><html:text property="prodQty" size="20" indexed="true"/></td>
<td><html:text property="prodVal" size="20" indexed="true"/></td>
</tr>
</logic:iterate>"productList" is defined as an array of Product[], "prod" is defined as a single Product object in the form. But when i run the page, it gives me this errors:
"javax.servlet.jsp.JspException: Cannot create iterator for this collection".
I also tried to make "productList" an ArrayList type, but it game me this same error.
We are using Websphere 4.0 with Struts 1.1.
Anyone can help?
Thanks a lot.
All the best,
warrenHi , I have similar problem. wonder anyone can help me. I have a datastructure. ArrayList contains list of Hashtable; each Hashtable has two key-value sets ; for each key-value set , value is a ValueObject.
My jsp works ok. but when I click on the radio butten for one radio group, it sets not only the porperty on that row, but the rows belows ,which suppose to be another radio group , because I am using indexed="true". each row should be a individual group seperated by the name poDisplayVO[i] , as show in the html generated .
<!-- JSP -->
<logic:iterate id="poDisplayVO"
name="testForm"
property="poDisplayVOList"
type="java.util.Hashtable">
<tr>
<td>
<bean:write name="poDisplayVO" property="name"/>
</td>
<td>
<% String val = ((java.util.Hashtable)poDisplayVO).get("subjAreaName").toString();%>
<html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="<%=val %>" />
<bean:write name="poDisplayVO" property="subjAreaName"/>
</td>
<td>
<html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="no" /> NO
</td>
<td>
<html:radio indexed="true" name="poDisplayVO" property="fosVO.select" value="yes" /> YES
</td>
</tr>
</logic:iterate>
<! ------------------------ html genterated ------------------------------------------------>
the HTML generated as folllows:
<tr>
<td>
Accounting Studies
</td>
<td>
<input type="radio" name="poDisplayVO[0].fosVO.select" value="Accounting">
Accounting
</td>
<td>
<input type="radio" name="poDisplayVO[0].fosVO.select" value="no"> NO
</td>
<td>
<input type="radio" name="poDisplayVO[0].fosVO.select" value="yes"> YES
</td>
</tr>
<tr>
<td>
Accounting Studies
</td>
<td>
<input type="radio" name="poDisplayVO[1].fosVO.select" value="Bookkeeping">
Bookkeeping
</td>
<td>
<input type="radio" name="poDisplayVO[1].fosVO.select" value="no"> NO
</td>
<td>
<input type="radio" name="poDisplayVO[1].fosVO.select" value="yes"> YES
</td>
</tr>
<tr>
<td>
Accounting Studies
</td>
<td>
<input type="radio" name="poDisplayVO[2].fosVO.select" value="Computerized Accounting(Duplicate)">
Computerized Accounting(Duplicate)
</td>
<td>
<input type="radio" name="poDisplayVO[2].fosVO.select" value="no"> NO
</td>
<td>
<input type="radio" name="poDisplayVO[2].fosVO.select" value="yes"> YES
</td>
</tr>
<! ------------------------ action form-----------------------------------------------
public ArrayList getPoDisplayVOList() {
return poDisplayVOList;
public void setPoDisplayVOList(ArrayList list) {
poDisplayVOList = list;
public Hashtable getPoDisplayVO(int i) {
Object obj = poDisplayVOList.get(i);
if (obj == null)
obj = new Hashtable();
poDisplayVOList.add(obj);
return (Hashtable)poDisplayVOList.get(i);
public void setPoDisplayVO(Hashtable programDisplayVO, int i) {
poDisplayVOList.add(i, programDisplayVO);
} -
Cannot create Acknowledgement for msd ID:.....
I am getting following error msg frequently in my JMS receiver comm channel:
"Cannot create Acknowledgement for msd ID :....."
This msg is displayed in Runtime workbench for my JMS Receiver comm channel
Please provide a solution to prevent this error.
This error comes certain times, and after sometime comm channels starts as usual without any error..You want ;
request.setAttribute("customers", customers);
instead
request.setAttribute("customers", "customers");
regards -
All of a sudden, I cannot create any new groups within Address Book! Will not work either from the plus sign at the bottom of the group list or the main menu!
Any advice on how to resolve?quit Address book and delete the file homedirectory/library/application support/address book/AddressBook-v22.abcddb. then start Address Book and see if you can create groups.
-
How to create lineNum for group?
There is a customer which uses BP catalog №. I have created Delivery. This delivery contains some items with different values in ItemDecription field and with the same values in the BPCatalogNo field. I want to create a Print Template. In this template I want to group delivery lines by BPCatalogNo field and I want to renumber this groups (starting from 1, and then adding 1 for each group). I can group by BPCatalogNo, but I can't create numbering for groups.
If I try to use LineNum formula, then the numbering is wrong. I receive line numbers of delivery lines instead of group numbers.
Exactly, the number of the last row in the group is displayed.
For example, I have 3 rows:
BPCatalogNo , ItemDescription, Price
Num1 Itemdescr1 100
Num2 ItemDescr2 500
Num2 ItemDescr3 500
Expected result:
1 Num1 100
2 Num2 500
Actual result:
1 Num1 100
3 Num2 500
Please, help!Yes, you are right.
Lets look at more detailed example
I have a delivery with 4 different BPCatalog Nums (Num1, Num2, Num3 and Num4)
The delivery contains rows:
LineNum BPCatalogNo ItemDescription Price
1 Num1 ItemDescr1 100
2 Num1 ItemDescr2 100
3 Num2 ItemDescr3 500
4 Num2 ItemDescr4 500
5 Num2 ItemDescr5 500
6 Num3 ItemDescr6 600
7 Num3 ItemDescr7 600
8 Num3 ItemDescr8 600
9 Num4 ItemDescr9 800
Expected result:
LineNum BPCatalogNo Price
1 Num1 100
2 Num2 500
3 Num3 600
4 Num4 800
Actual result:
LineNum BPCatalogNo Price
2 Num1 100
5 Num2 500
8 Num3 600
9 Num4 800 -
You cannot create ARE3 for duty paid Deemed exports excise invoice!
You cannot create ARE3 for duty paid Deemed exports excise invoice!
Message no. 4F326Hi murali,
How can you create ARE document for duty paid excise invoice
ARE docs are for excise exption purpose only
regards
bvdv -
FRM-12001: Cannot create the record group (check your query).
I WANT TO ADD A RECORD GROUP IN PRI BUILD FORM THE QUARY IS VERY SIMPLE LIKE
SELECT item_code
FROM items
WHERE active = 'Y'
AND item_code like 'FAJ%'
BUT THE SYSTEM SHOW THE ERROR MESSAGE
Cannot create the record group (check your query).Make sure the user connected to the database from the forms builder has the privilege of select from the table, or there's a synonym.
Try your query from SQL*Plus connected with the same user.
Tony -
Cannot create reservation for a closed sales order
Hi,
IN the mtl_resrevation_interface errors iam getting the message as Cannot create reservation for a closed sales order for most of the items .
when i check the details of the sales order line it is already closed.
but why it is trying to insert the line in mtl_reservation though it is already closed.
i want to know what would be the reason.
Thanks,
VinodYou may have a custom program that creates the records in the reservations interface table.
That program may have a bug.
Hope this helps
Sandeep Gandhi
Independent Techno-functional Consultant -
ServletException: Cannot create iterator for this collection
hi,
i am using struts action class with struts tags to display
data in jsp page.
in struts class i am return arraylist ,
same list i am displaing in jsp.
if Arraylist have data ,i am not getting error.
but if arraylist empty ,i am getting ServletException: Cannot create iterator for this collection
<logic:iterate id="result" name="fileList" >
<td><bean:write name="result" property="fileName"/></td>
</logic:iterate
can any one help how to avoid this exception?
thanks
siavYou could use <bean:size> to get the size of the list
and conditionally execute the logic:iterate,
something like this :
That will work, but not necessary. If the collection is empty, the iterate tag just skips - it doesnt throw an exception (tested)
The problem I guess is that the bean with the specified name is not a Collection. It may be a property of the bean that is a collection in which case the tag should have a property attribute.
ram. -
Cannot create to distribution group for a tenant on hosted exchange 2010
hi everyone,
I have installed a hosting exchange 2010 than created a tenant1 and users in this tenant1.
I would like to create a distribution group named "dist group1" for tenant1 for exp: [email protected]
but while I was trying, I got following the errors;
[PS] C:\Windows\system32>New-DistributionGroup -name "dist group1" -Alias distgroup1 -PrimarySmtpAddress "[email protected]" -DisplayName "distgroup1" -Organization tenant1 -ManagedBy "onder.cloud/Microsoft Exchange
Hosted
Organizations/tenant1/tenant1 Admin"
Name DisplayName GroupType PrimarySmtpAddress
dist group1 distgroup1 Universal [email protected]
[PS] C:\Windows\system32>Get-DistributionGroup
[PS] C:\Windows\system32>Enable-DistributionGroup "distgroup1"
The operation couldn't be performed because object 'distgroup1' couldn't be found on 'clouddc01.onder.cloud'.
+ CategoryInfo : NotSpecified: (0:Int32) [Enable-DistributionGroup], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : 11C76BCC,Microsoft.Exchange.Management.RecipientTasks.EnableDistributionGroup
please help me,Hi,
In order to narrow down the cause, I’d like to recommend you can try the following troubledhooting:
1. Check if the distribution group exists in ADUC on your DC server. And you can refer to the following path:
DC>ADUC>Domain.com>users
2. Create another distribution group to have a test.
I refer to the following article to create a new distribution group, and it works well:
http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/managing-distribution-lists-exchange-server-2010.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Thanks,
Angela
Angela Shi
TechNet Community Support -
Cannot create new Calendar Group in Mountain Lion
I am using a brand new iMac. I didn't use the migration tool-- instead I exported all of my Calendars from Snow Leopard and Imported them via the File menu in the Calendar application in Mountain Lion.
Under the File menu, there is no "New Calendar Group" option. Command-Shift-N results in an error alert sound and no action.
I do not use iCloud for anything other than email-- everything is turned off in System Preferences.
In Calendar, under the Preferences -> Accounts section, I have NO accounts. It is completely blank.
My previous groups from my export/import are there under the "On My Mac" section of the Calendars panel. I can edit them. But I cannot create any new ones.
Any suggestions? Everything on the internet says I need to deactivate my iCloud account calendars... but I don't use them.Ah, Barney, you are a lifesaver!
Sorry for the late reply, I was away from my computer this weekend.
All of my calendars had been in groups. I moved one of them outside, and TA DA-- "New Calendar Group" appeared.
Thanks so much for the help. I will have to leave 1 calendar outside of a group so I can add as many as I'd like. -
AME iExpenses: Cannot create new approver group
We need to set up approver groups for iExpenses. I assigned myself Approvals Management Administrator and Aprovals Management Business Analyst roles. With these roles I can create new attributes and conditions. However, I cannot create new action types and approval groups. The create button for the approval group just does nothing.
What am I missing? We are 11.5.10.2, AME.BPl see if ML Doc 420387.1 (How to Create the Approval Transaction Type for AME.B or higher ?) can help
HTH
Srini -
Alert Subscriptions - creating subscriptions for groups of computers and alerts from monitors
I've run into something kind of odd.
We want to "tone down" some of our alerts. Let me explain.
We monitor, roughly, 300 servers. We created an alert subscription to notify us of alerts for the monitor "Computer Not Reachable".
We found that we often received false positives. I made sure our check interval was 60 seconds and the heartbeat was set to 3 missed heartbeats and then set the delay to a period of time.
That worked. However, we wanted to change the delay based on the server "group". Example: Production group and Test Group. For production, delay 5 minutes, Test, delay 30 minutes.
As soon as tried to add the group criteria to the alert subscription, notifications ceased to function for those alerts. The alerts still occurred, but the notifications were never delivered.
So, I created new subscriptions and new groups as a test. Each time, if I included a group in the criteria, the alert notification failed.
Example:
Condition: Raised by any instance in a specific group. Checked, group name: Test
Condition: created by specific rules or monitors. checked, monitor: "Computer Not Reachable"
Subscriber: [email protected]
Channel: smtp channel set up to a relay
Alert Aging: 30 minutes (have set this as low as 5 minutes and send without delay).
In each case, if I remove the condition of group, the notification is sent.
Why would this behavior occur?Thanks Scott. I've tried this both with the computer object and the health service watcher object.
What I'm doing is trying to create a dynamic group based on OU. So, right now, the groups include the computer objects. If I view group members, the group membership does populate ok with all of the machines from the targeted OU's for the dynamic
membership.
This is an example of the dynamic membership conditions I'm trying to create:
( ( Object is Windows Server AND ( Organizational Unit Equals OU=Test,OU=Servers,DC=domain,DC=local ) OR ( Organizational Unit Equals OU=Development,OU=Servers,DC=domain,DC=local) ) AND ( Object is Health Service Watcher AND ( Display Name Greater than empty
value ) AND True ) )
However, I'm noticing that the dynamic membership includes health service objects from all windows servers from all OU's and ignores the OU membership conditions. But, I don't think that has anything to do with the failed notifications.
I could be wrong.
I've also tried the following with the same problem:
( ( Object is Health Service Watcher AND ( Health Service Name Greater than empty value ) AND True ) AND ( Object is Windows Server AND ( Organizational Unit Equals OU=Test,OU=Servers,DC=domain,DC=local ) OR ( Organizational Unit Equals OU=Development,OU=Servers,DC=domain,DC=local
Both of the above groups populate both the computer and health service objects when viewing the members of the group with the problem being it adds all health server objects instead of limiting it to the OU's specified.
So, that lead me to a dynamic group membership of:
( Object is Windows Server AND ( Organizational Unit Equals OU=Test,OU=Servers,DC=domain,DC=local ) OR ( Organizational Unit Equals OU=Development,OU=Servers,DC=domain,DC=local ) )
This is what I have now (this morning) after adding the condition for the class.
So, for the alert subscription rules, I added the group and the class and the monitor name:
Condition: Raised by any instance in a specific group. Checked, group name: Test
Condition: Raised by any instance of a specific class: Health Service Watcher
Condition: created by specific rules or monitors. checked, monitor: "Computer Not Reachable"
Subscriber: [email protected]
Channel: smtp channel set up to a relay
Alert Aging: 30 minutes (have set this as low as 5 minutes and send without delay).
But, again if the group condition is present, the alert subscription doesn't work.
So, I suppose what I need to do is find a way to ensure I can build a group that includes health service objects from computer objects reside within specific OU's. Perhaps I'm going about the dynamic membership conditions incorrectly?
Thanks
Ted -
WebADI cannot create template for office 2007
Hi all,
When I created document for template office 2007, the page became blank without any error and warning;
Could you please advise solution?
OS: Window 7;
EBS: 11.5.10.2
Office: 2007
Here is the bne.log:
4/25/12 2:19 PM ERROR BneBajaServlet:doRequest() - Throwable: java.lang.NoClassDefFoundError: oracle/apps/bne/integrator/document/template/BneBundleTemplateInterface
4/25/12 2:19 PM ERROR BneBajaServlet:doRequest() - Throwable: java.lang.NoClassDefFoundError: oracle/apps/bne/integrator/document/template/BneBundleTemplateInterface
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at oracle.apps.bne.integrator.document.BneViewerFactory.loadViewerObject(BneViewerFactory.java:110)
at oracle.apps.bne.integrator.document.BneViewerFactory.createViewerObject(BneViewerFactory.java:75)
at oracle.apps.bne.integrator.document.BneDocumentService.createViewerContent(BneDocumentService.java:623)
at oracle.apps.bne.integrator.document.BneDocumentService.createPage(BneDocumentService.java:352)
at oracle.apps.bne.integrator.document.BneDocumentService.handleRequest(BneDocumentService.java:191)
at oracle.apps.bne.framework.BneBajaServlet.doRequest(BneBajaServlet.java:256)
at oracle.apps.bne.framework.BneBaseServlet.doGet(BneBaseServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
Thanks in advance.Hi Susan,
As my understanding, your development and production environments are two (two way) trusted domains in one forest, and the SharePoint instance was built on the development domain. If this is the truth, please first verify whether your production domain account
profile has been imported into the user profile service application. If it is not, refer to the following article to check the configuration of your user profile synchronization.
https://technet.microsoft.com/en-us/library/ee721049.aspx
If your user profile can be searched correctly, the issue might be caused by fact that the people picker search was limited to the development domain. Please use the following command to configure the people picker search domains:
stsadm –o setproperty –pn peoplepicker-searchadforests –pv <list of forests or domains> -url <WebApp>
More information can be found in
https://technet.microsoft.com/en-us/library/cc263460.aspx
Thanks,
Reken Liu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
How to Create a PDF Document and apply Digital Signature in C# using the Adobe SDK?
Hi Everybody! I have to do two distinct tasks here: 1) How can I create a PDF document using the Adobe SDK in my .NET Applications(C# - 2.0)? I just need a basic sample to create a document with a simple text, for example. I did not find any useful i
-
How to stop nightly db upkeep?
Is there a way to kill nightly indexing and other administrative post office database upkeep jobs once they've started?
-
Move from Trial to Full version
Have the FIM trial installed. Using it to migrate accounts from one Domain to Another. We purchased the Full version. How can i move from Trial to Full. Any docs on this ? need to make sure nothing happens to migration or i go on unemployment line :
-
Is the iPod Touch user manual completely accurate? It says "To use iPod touch, you need: ... Windows Vista Home Premium, Business, Enterprise, or Ultimate edition". But my computer only has Windows Vista Home Basic installed. PS. Why can't I find an
-
5220 Xpressmusic voice recognition.
Hello. Newbie here. The wife has a Nokia 5220 Xpressmusic phone. Her new car plays music from the 5220 phone via the Bluetooth connection. Very impressed with the sound quality but she still needs to go into the phone music folder to select what tra