Errors using themes and tomahawk within portlets
I've been developing a portlet using Creator2 Update 1 that uses the myfaces tomahawk library of components. Besides the difficulty of not being able to use the visual designer, I've managed to get my portlet functioning the way I want.
My next step was to apply styles to my portlet. The difficulty here is that since portlets are aggregated within a portal, the portlet does not have access to the <head> tag of the container page (meaning I couldn't just add my own stylesheets and link them in.) I'm not sure how Creator works around this problem - I just know that it manages to using <ui:themeLinks> somehow.
Changing the theme for a regular Creator-components-only (read: no tomahawk) is a no-brainer. I simply pick a different theme in the Project view and set it as the Current Theme. I can even set my own user-defined theme. Running the portlet either through Creator or Liferay shows the applied theme.
However, once I start using tomahawk components, the theme system breaks down, throwing exceptions, such as the following:
com.sun.rave.web.ui.theme.ThemeConfigurationException: WARNING: the Sun Web Components could not load any themes.
at com.sun.rave.web.ui.theme.ThemeFactory.createThemeManager(ThemeFactory.java:274)
Curiously, it only breaks if I use one of my user-defined themes. The Creator-provided themes will work with the tomahawk components portlet.
In short, I am baffled. Creator-provided themes work regardless of tomahawk components present. My own themes work so long as there aren't tomahawk components present.
Sorry, I don't think that's going to work. Themes are not used in the standard SES index, and therefore the Oracle Text knowledgebase is not installed - hence the DRG-11446 error you're seeing.
If you figured out a way to install the knowledgebase from another system (and I'm NOT recommending that), you would still need to recreate the text index with INDEX_THEMES turned on.
You should be able to connect to the SES instance from a remote machine by commenting out both "tcp.invited_nodes" and "tcp.validnode_checking" from the sqlnet.ora file. Not sure why just adding an entry to tcp.invited_nodes didn't work for you.
Similar Messages
-
How can I use OmniPortlet and Web Clipping Portlet?
How can I use OmniPortlet and Web Clipping Portlet?
You find information on OmniPortlet and Web Clipping in the Portal Developer's Guide.
o Building Portlets with OmniPortlet
o Building Content-Based Portlets with Web Clipping
Peter -
I wanted to see what was in the loops folders but now will never use them and I need the space.
Yes, I am logged in as the administrator. When I drag a loop to the trash it does nothing. The trash doesn't recoginize the item as trash and doesn't pop up and say trash like it does when I drag items from other programs to the trash.
-
I am using my iphone 4s here in dubai.Do i have to install any application to use siri..?? Coz i tried using them and i alwayz get ans which are not relevant.Please advise.
No Siri is preinstalled. Check you have enabled Siri correctly in Settings>General>Siri>ON and ensure you have completed the My Info correctly. Siri uses the information in your My Info which is taken from your contact card to respond. Also Siri is still in beta and currently uses limited languages i.e.
English (United States, United Kingdom, Australia)
French (France)
German (Germany)
Finally just check your restrictions in Settings>General>Restrictions>Siri>ON -
hi yesterday i downloaded a software from i tunes for keyboard short cut and i don't know how to use them and install them, how to use keyboard shorts bought from i tunes
You can install it on your iOS device (iPad, iPhone, iPod Touch) either by redownloading it directly on the device via the Purchased tab in the App Store app on it, or by connecting the device to your computer's iTunes and syncing it to it.
Syncing apps from a Mac : iTunes 11 for Mac: Sync and organize iOS apps
from a PC : iTunes 11 for Windows: Sync and organize iOS apps
As to how to then use the app, if the description on the app's description page in the store doesn't describe how to use it in enough detail, then is there a link to the developer's website on its description page, and does that have details ? -
Hello.
I am having much difficulty using any software drum program. I am trying to use EZ Drummer and the drum programs in Logic, with limited success. I was using them, and they were working, but this is no longer the case. Please help me navigate my way through these issues, if possible.
Thanks.
EricAha! I have sorted it.
For those with similar problems, the solution is this:
Macintosh HD > Library > Audio > MIDI Drivers
Then delete DigiDioMidiDriver.plugin -
My computer is running stupid and I am being told by my malware bytes that I don't have any problems and when I try to clear my cache none of the buttons work after show history. THEY are all useless and won't light up to use them. I also have not been able to set up zoho as my default email address for all default emails====windows won't let me even though i disabled windows email, I still can't set up zoho.com
When you use the private browsing feature, Firefox does not keep your history after your session. You don't need to clear history manually, you can just close Firefox.
If you're looking for another way to clear you cache, you can use this one:
Open the Options dialog using either:
* orange Firefox button > Options > Options
* Tools menu (if you have the classic menu bar) > Options
Click Advanced, then on the Network mini-tab look for the Cached Web Content section and click the "Clear Now" button.
If you have a large hard drive, this might take a few minutes.
Perhaps, though, we should step back and ask for a more specific description of running wack. What's going on? -
Use theme AND change background
Hi,
I'm using a theme that has a drop zone scroll over a plain, black background. I'd really like to keep the drop zone scroll and change the plain background to one of my photos.
When I change the background, the drop zones disappear behind the photo. Is there any way to send the background to the back? Ideally, I'd like the drop zone scroll to appear over my personalized background.
This is my first time using iDVD (new convert from PC to Mac), so I appreciate the insights.
Thanks for the help!
AdamAdam:
Welcome to the Apple Discussions. Yes you can do that but it will involve copying the Lines theme package from the iDVD application package to the desktop and then replacing the backgroung.tif file in that theme package with your own background tif. That will allow the drop zone to play above your background. Once you've finished with the replacement, rename the theme and place it in your User/Library/iDVD/Favorites folder. It will then be available in the theme pane.
Open the application by Control-clicking on it and select Show Package Contents. Then navigate down to the Resources folder where you'll find all the themes. Open the Lines theme package the same way.
Hope this has been of some help. Good luck.
OT -
Syntax errors using sql and java
Could somebody inform of the correct syntax for using UPDATE and INSERT SQL commands in a java program? Any information I can find demonstrates this with:
INSERT INTO table_name(column_name, ..., column_name)
VALUES(value, ..., value)
However - this isn't working? any suggestions - and I know its very basic, but I'm just learning.
String query = " INSERT INTO SESSIONS (" +
"id,module_name, module_number, level, session " +
"term, class_list, location, lecturer" + ")
VALUES('"+
fields.id.getText() + "', '"+
fields.module_name.getText() + "', '" + fields.module_number.getText() + "', '" +
fields.level.getText() + "', '" fields.session.getText() "', '" +
fields.term.getText() + "', '" fields.class_list.getText() "', '" +
fields.location.getText() + "', '" fields.lecturer.getText() "')";
output.append( " \nSending query: " + connection.nativeSQL(query)+ "\n");
output.append( "query sent");
thanks
int result = statement.executeUpdate(query);With all those quotes and apostrophes and string concatenations, I'd be surprised if you got it right by the fourth try. (By the way, you appear to have missed a comma between "session" and "term".) Are you planning to insert more than one record in your program? If so, you should consider using a PreparedStatement. This will likely run faster, and your program will definitely be easier to read. Also, you won't have to come back here later to ask how you deal with data that includes apostrophes (the notorious "O'Brien" problem). Here's how you do that... you define the PreparedStatement only once:
String query =
"INSERT INTO SESSIONS (id,module_name, module_number, level, session, term, class_list, location, lecturer) " +
"VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)";
PreparedStatement insert = connection.prepareStatement(query);and then every time you want to insert a record you do this:
insert.setString(1, fields.id.getText());
insert.setString(2, fields.module_name.getText());
// and so on...
insert.executeQuery(); -
Error using JDBC and DB2 - Please help
Hi, I need some help solving this problem. I ran the same program at my university and it worked. At home I am using TomCat4 and j2sdk1.4.1. I want to connect to the IBM DB2 Universal database personal edition v7. The program compiles, but when I run it, it says it can't find
com.ibm.db2.jdbc.app.DB2Driver. The class path was automatically updated when I installed DB2. What could the problem be? Please help because I really need to use this. Thank you.
Marianne.
This is my program:
import java.io.*;
import java.sql.*;
class testDB {
public static void main(String argv[]) {
try {
// load driver and connect to database
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
String url = "jdbc:db2:test";
String userid = "the database name"; // blanked out
String password = "my password";
Connection con = DriverManager.getConnection(url, userid, password);
// an SQL retrieval getting all rows in table
Statement stmt = con.createStatement();
String SQLStatement = "SELECT issueID, stock FROM test.issue ORDER BY issueID";
String theIssueId;
int theStock;
ResultSet rs = stmt.executeQuery(SQLStatement);
// loop to step through each row of result set
while (rs.next()) {
theIssueId= rs.getString("issueID");
theStock = rs.getInt("stock");
System.out.println(theIssueId + " : " + theStock);
// tidy up
rs.close();
stmt.close();
con.close();
} catch( Exception e ) {
e.printStackTrace();
}Try add path C:\Program Files\SQLLIB\java\db2java.zip to classpath.
-
Not able to use @section and Sort within a group in RTF Template
When i try to use sort with for-each-group@section in my template, the Output Post processor is throwing the following exception
Caused by: oracle.xdo.parser.v2.XSLException: <Line 31, Column 84>: XML-22047: (Error) Invalid instantiation of 'xsl:sort' in 'fo:flow' context.
My tags in the RTF template are as below:
<?for-each-group@section:G_PERSON_ID;./DEPT?><?sort:DEPT;'ascending';data-type='text'?>
-- there are 2 more groups within this.
<?end for-each-group?>
I don't get the error if i remove @section from the above tag in my RTF template.
OR
IF i remove the sort tag and keep the @section , it still works.
I need the "sort" so that i can sort the output by department number and I need the "section" so that i can acheieve context based header title for the page using the tag given below in the header area of the word RTF doc. The DEPT number should change as per the data shown in the report.
DEPT <?DEPT?> CLASSIFICATION SENIORITY LISTING BY CLASS CODE & DATE
I am stuck with either being able to use the Sort or the Header feature but not both.
I guess that section is needed for the context based header title to work, because all the data shown in the current page should correspond to only one single DEPT value (to make the Header title consistent with the data). But i dont get why i am not able to sort. The exception from OPP simply beats me. Please help!!
I am using the XML Pub Desktop 5.6.2 to develop my templates.
Is there any way to acheive this? Can someone throw some light on this.
Thanks in advance.Help About says I'm on 20.0.1
Up until last week, I was able to use the tab key when typing emails and other multi-line text boxes.
Suddenly the behavior of the tab key changed. This isn't the first time. It's been quite a while ago that the function of the tab key changed from indenting to moving around the page, then after some time it changed back to indenting.
Can we get this fixed and leave it alone, please?
I may give one of those add-ins a try, but my problem with add-ins is that they break when FF is patched or upgraded, then I'm left with out the solution they provide.
Can we just fix Firefox, please?
Thanks,
Frank
P.S. Another potential fix I came across suggested starting FF in safe mode to see if the problem goes away. It does not. It seems to be a change to FF that appeared after an update last week. On or just befor 24 Apr. -
Error with Authentication and Content Presenter Portlet
I was just testing an application i'm developping when I realize that something was wrong with almost all the content presenter portlets in my portal... after authenticate into my portal i get this at log files
<9/03/2009 10:04:08 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
Truncated. see log file for complete stacktrace
>
java.lang.NullPointerException
at login.LoginBacking.handlePostbackData(LoginBacking.java:43)
at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
at com.bea.netuix.servlets.controls.window.Window.handlePostbackData(Window.java:606)
at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)<9/03/2009 10:07:56 AM GMT-06:00> <Error> <netuix> <BEA-423166> <An exception or error occurred in the backing file [com.bea.content.ui.framework.ContentUIPortletBacking] while executing its handlePostbackData method. It was java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
java.lang.IllegalStateException: Unable to retrieve the current portlet instance information.
at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
at com.bea.netuix.servlets.controls.Backable$Impl.handlePostbackData(Backable.java:166)
at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
Truncated. see log file for complete stacktrace
>
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
I do not know why is this happening, cause Authentication works, except for that ugly exception that I think is thrown after trying to render the content presenter portlets
Some of the content presenter portlets work(I mean i can see it's content and can be modified)fine but the ones recently added don't Does anybody knows the reason???
It does not work even when i start a new project.I'm using the sample at wlp docs
package login;
import com.bea.netuix.servlets.controls.content.JspContentContext;
import com.bea.netuix.servlets.controls.content.backing.AbstractJspBacking;
import com.bea.p13n.security.Authentication;
import com.bea.portlet.GenericURL;
import com.bea.portlet.PostbackURL;
import javax.security.auth.login.LoginException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class LoginBacking extends AbstractJspBacking {
private static final long serialVersionUID = 1L;
public static final String REDIRECT_ACTION = "redirect";
public boolean handlePostbackData(HttpServletRequest request, HttpServletResponse response) {
if (isRequestTargeted(request)) {
if (request.getParameter(GenericURL.STATE_PARAM) == null) {
String username = request.getParameter("username");
String password = request.getParameter("password");
PostbackURL url = PostbackURL.createPostbackURL(request, response);
if (username != null && password != null) {
try {
Authentication.login(username, password, request, response);
catch (LoginException le) {
request.setAttribute("loginErrorMessage3", new String("true"));
return false;
else if (request.getParameter("logout") != null) {
Authentication.logout(request);
url.addParameter(GenericURL.LOADSTATE_PARAM, "false");
url.addParameter(GenericURL.PAGE_LABEL_PARAM, "login");
try {
JspContentContext jspContext = JspContentContext.getJspContentContext(request);
jspContext.sendRedirect(url.toString());
catch (Exception ie) {
ie.printStackTrace();
return true;
In fact the problem is at the line that executes redirection ... jspContext.sendRedirect(url.toString()); -
Using transitions and effects within a custom component
I have created a custom mxml component page within my
application with an id=Theatre2. When the appropriate button is
clicked in the main application Theatre2 opens by fading in. Within
Theatre2 there are two main canvas containers with
id=theatreLeftMain and theatreRightMain. Within theatreRightMain,
there are several canvas containers with id=aboutus, curriculum,
photos, awards0708 and awards0607. They are stacked on top o of
each other and present via the appropriate button click. I want
these several canvas containers to each “fade in” when
the appropriate button is clicked . I have tried both transitions
and effects but I haven’t been able to get them to work on
these several internal canvas containers. The Theatre2 component
page fades in great. Suggestions as to what to use to fade in these
several containers would be greatly appreciated(effect or
transition? where to put the code? code to use?). Thanks Joe
KerenickI found this component, with available source:
http://www.tink.ws/blog/pairedstackeffect-fade-squash/
Tracy -
Javascript error with JSF and TOMAHAWK
I've got two selectOneMenu in my page and I would like to change the selected item of the second selectOneMenu when an item is selected in the first selectOneMenu.
I tried to implement a solution using Tomahawk. The idea is to generate a click event on a hidden link when an item is selected like explained here:
http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces
When I click on the selectOneMenu, I always have following javascript error : object expected.
Here is my page:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<f:view>
<head>
</head>
<body>
<h:form id="Monitoring">
<SCRIPT language="JavaScript" type="text/javascript">
function clickLink(linkId)
var fireOnThis = document.getElementById(linkId)
alert('le champ a pour valeur : '+linkId)
alert('le obj a pour valeur : '+fireOnThis.value)
if (document.createEvent)
var evObj = document.createEvent('MouseEvents')
evObj.initEvent( 'click', true, false )
fireOnThis.dispatchEvent(evObj)
else if (document.createEventObject)
fireOnThis.fireEvent('onclick')
</SCRIPT>
<t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility:hidden;" action="#{TotoBean.selectModule}"/>
<h:selectOneMenu id="modulefilter" value="#{TototBean.moduleId}" rendered="true" onchange="clickLink('hiddenLink');" >
<f:selectItems value="#{TototBean.moduleList}" />
</h:selectOneMenu>
<h:selectOneMenu id="servicefilter" value="#{TototBean.serviceId}" rendered="true" onchange="clickLink('hiddenLink');" >
<f:selectItems value="#{TototBean.serviceList}" />
</h:selectOneMenu>
</h:form>
</body>
</f:view>
</html>
and my bean:
package com.toto.monitoring.bean;
import java.util.ArrayList;
import java.util.List;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
public final class TototBean extends Object {
private ArrayList<SelectItem> moduleList;
private ArrayList<SelectItem> serviceList;
private String moduleId;
private String serviceId;
public TototBean() {
super();
// TODO Auto-generated constructor stub
this.moduleList = new ArrayList<SelectItem>();
this.serviceList = new ArrayList<SelectItem>();
initModuleList();
initServiceList();
public String selectModule() {
System.out.println("change");
setServiceId("All Services");
return(null);
final List initModuleList() {
System.out.println("init module list");
moduleList = new ArrayList<SelectItem>();
moduleList.add(new SelectItem("All Modules", "All Modules"));
moduleList.add(new SelectItem("Module 1", "Module 1"));
moduleList.add(new SelectItem("Module 2", "Module 2"));
return moduleList;
public List getModuleList() {
System.out.println("get module list");
return moduleList;
public String getModuleId() {
System.out.println("get module ID");
return moduleId;
public void setModuleId(String id) {
System.out.println("set module ID");
moduleId = id;
final List initServiceList() {
System.out.println("init service list");
serviceList = new ArrayList<SelectItem>();
serviceList.add(new SelectItem("All Services", "All Services"));
serviceList.add(new SelectItem("Service 1", "Service 1"));
serviceList.add(new SelectItem("Service 2", "Service 2"));
return serviceList;
public List getServiceList() {
System.out.println("get service list");
return serviceList;
public String getServiceId() {
System.out.println("get service ID");
return serviceId;
public void setServiceId(String id) {
System.out.println("set service ID");
serviceId = id;
Any idea ?
Thanks for your help.The hiddenLink has no value. Does it really need one as it is just used to submit the form ?
-
ORA-00932 Error using 11g and the SDO_RELATE function. Works fine in 10g
Hello,
If I run this query in Oracle 11g:
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID;
I get an error regarding the N.GEOM field. The error is as follows:
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
The same query runs fine on a 10g database with the same data. I've even truncated the N table and still get the error. I've rebuilt the index but it makes no difference and the metadata is exactly the same for this table as it is for other tables that are involved in a similar query.
It looks like a bug to me but just wondered if anyone else had come across this?
Thanks,
Peter.Thanks for the reply. I'm really sorry but I haven't created trace files like this for a very long time and have forgotten the best way to read them. This is the start of the trace file, any help with reformatting it would be greatly appreciated.
Thanks,
Peter.
*** 2009-04-23 17:09:22.902
----- Error Stack Dump -----
*** 2009-04-23 17:09:22.917
ORA-00932: inconsistent datatypes: expected - got MDSYS.SDO_ELEM_INFO_ARRAY
----- Current SQL Statement for this session (sql_id=br02jqdwy2utk) -----
SELECT M.FID, MAX(M.VERSION) AS VERSION
FROM SW_PB.A_ROADNODEINFORMATION M, SW_PB.ROADNODE N
WHERE M.REFERENCETOROADNODE = N.FID
AND M.NODEVERSION = N.VERSION
AND M.CATALOGUEID <= 477
AND MDSYS.SDO_RELATE( N.GEOM, MDSYS.SDO_GEOMETRY(2003,81989,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(120000,0,160000,40000)),'MASK=ANYINTERACT QUERYTYPE=WINDOW') = 'TRUE'
GROUP BY M.FID
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+114 CALLrel kgdsdst()+0 FB783A0 2
ksedst1()+91 CALLrel skdstdst()+0
ksedst()+50 CALLrel ksedst1()+0 0 1
dbkedDefDump()+298 CALLrel ksedst()+0 0
5
ksedmp()+40 CALLrel dbkedDefDump()+0 3 0
_dbkdaKsdActDriver( CALLreg 00000000 3
)+841
_dbgdaExecuteAction CALLreg 00000000 7B50420 FB79A4C
()+63
dbgdaRunAction()+3 CALLrel dbgdaExecuteAction 7B50420 4D4C148 20C0002
02 ()+0 FB79A4C
dbgdRunActions()+4 CALLrel dbgdaRunAction()+0 7B50420 A789E54
4
dbgdProcessEventAc CALLrel dbgdRunActions()+0 7B50420 A789E74
tions()+446
__VInfreq__dbgdChkE CALLrel _dbgdProcessEventAc 7B50420 120A3370 A789F64
ventKgErr()+237 tions()+0
dbkdChkEventRdbmsE CALLrel dbgdChkEventKgErr( 7B50420 A7C06F4 3A4
rr()+33 )+0
__PGOSF99__ksfpec() CALLrel _dbkdChkEventRdbmsE 3A4
+110 rr()+0
_dbgePostErrorKGE() CALLreg 00000000 120A3370 3A4
+1601
dbkePostKGEkgsf() CALLrel _dbgePostErrorKGE() 120A3370 A772020 3A4
+49 +0
_kgeade()+268 CALLreg 00000000 120A3370 A772020 3A4
kgesev()+54 CALLrel kgeade()+0
kgesec2()+18 CALLrel kgesev()+0 120A3370 A772020 3A4 2
FB7A200
qctErr932()+217 CALLrel kgesec2()+0 120A3370 A772020 3A4 1 1
FB7A468 1 19 FB7A218
qctErrConvertDataT CALLrel qctErr932()+0 995FBCC0 120A3370 F6 FB7A468
ype()+82 7B C2E85B4 995FBCC0 120A3370
FB7A468 0 0 FB7A468 0 204
qecgby()+240 CALLrel qctErrConvertDataT 995FBCC0 120A3370 F6 0 0 7B
ype()+0 C2E85B4
qecpqbcheck()+75 CALLrel qecgby()+0
qecdrv()+161 CALLrel qecpqbcheck()+0 C2ECD7C 0 0 0
qecdrv()+74 CALLrel qecdrv()+0
kkqcttcalo()+383 CALLrel qecdrv()+0 C2EFBAC
kkqctdrvGBP()+1841 CALLrel kkqcttcalo()+0 C2EFBAC 0 C2EFBAC 166A5D4 0 2
__VInfreq__kkqgbpTr CALLrel _kkqctdrvGBP()+0 A730DD8
avChkTran()+193
_qksqbApplyToQbcLoc CALLreg 00000000 A730DD8 FB7A9BC
()+536
qksqbApplyToQbc()+ CALLrel qksqbApplyToQbcLoc
67 ()+0
kkqctdrvTD()+1000 CALLrel qksqbApplyToQbc()+ A730DD8 2EF2DA0 FB7A9BC 0
0
kkqgbpdrv()+88 CALLrel kkqctdrvTD()+0 A754820 995FBDF4 6
kkqdrv()+1520 CALLrel kkqgbpdrv()+0 A754820 995FBDF4
kkqctdrvIT()+698 CALLrel kkqdrv()+0 A754820 0
apadrv()+1205 CALLrel kkqctdrvIT()+0 A754820 995FBDF4
opitca()+1841 CALLrel apadrv()+0 995FBDF4
__PGOSF435__kksFull CALLrel _opitca()+0 A7CC9E4 995FBDF4
TypeCheck()+15
_rpiswu2()+560 CALLreg 00000000 FB7B718
kksLoadChild()+860 CALLrel rpiswu2()+0 AF495220 5 A77DCBB4 16
8 94591E54 5 A77DCBE0 0 FB7B670
615F44 0 FB7B718 0
kxsGetRuntimeLock( CALLrel kksLoadChild()+0 120A3370 AE9130D8 FB7C090
)+1421
kksfbc()+8954 CALLrel kxsGetRuntimeLock( 120A3370 A7CC9E4 FB7C090 3 1
)+0
kkspsc0()+1882 CALLrel kksfbc()+0 A7CC9E4 3 108 FB7D2D8 1BB 0 0
0
kksParseCursor()+1 CALLrel kkspsc0()+0
43
opiosq0()+2028 CALLrel kksParseCursor()+0 FB7C610
kpooprx()+273 CALLrel opiosq0()+0 3 E FB7C734 A4
kpoal8()+729 CALLrel kpooprx()+0 FB7F214 FB7D2D8 1BA 1 0 A4
_opiodr()+1224 CALLreg 00000000 5E 1C FB7F210
_ttcpip()+2733 CALLreg 00000000 5E 1C FB7F210 0
_opitsk()+1278 CALL??? 00000000
opiino()+1067 CALLrel opitsk()+0 0 0
_opiodr()+1224 CALLreg 00000000 3C 4 FB7FC28
opidrv()+807 CALLrel opiodr()+0 3C 4 FB7FC28 0
sou2o()+45 CALLrel opidrv()+0 3C 4 FB7FC28
opimaireal()+130 CALLrel _sou2o()+0 FB7FC1C 3C 4 FB7FC28
opimai()+92 CALLrel opimai_real()+0 2 FB7FC54
OracleThreadStart@ CALLrel opimai()+0
4()+764
77E6482C CALLreg 00000000
00000000 CALL??? 00000000
Maybe you are looking for
-
Litterly 15 Mins ago all of my music was present. I - in fact - just finished using it to play a song. Then I got a window that popped up saying that my iTunes is in need of an update. So I update it then it said it was all up to snuff... So I go bac
-
Watching a movie from MacBook on TV
Is there any way to watch movies downloaded on your MacBook on your TV (without burning them to a DVD) I have seen this done somehow with windows. Any ideas, thanks!!
-
Converting from WORD to pdf always fails the first time
OS is XP. Acrobat Pro 8.1.5. When I first convert from WORD, EXCEL, whatever the program appears to be working but no file is created. This happens always on the first time I convert to pdf for the day. Once I do it again, it works and continues to
-
JNI question about EnumChildWindows
I originally wrote a java app that would run in Linux and play some video files using MPlayer. MPlayer has an option to take a window id and will pile video through to the window you specify. I was able to use the xwininfo command and a unique window
-
Hi, We have not used Client-000 - SAP*/DDIC accounts recently and it got locked while trying to logon. Is there anyway for the Basis admin to unlock and reset the password.? Thanks, Sam