Incompatible objects scenario

Hi Techiies,
I have a complex scenario in my Designer,
Well let me explain my scenario...
I have a main table(not a dimension not a fact) it is joined(NO CARDINALITIES SET) by 7 different table(derived tables). my main table's column are used in result objects and the other table objects are used at Query filter's. Till now every thing was clear
Now the complexity for me was that I have another main table(not a dimension not a fact) and which needs to be joined by same derived tables and the same scenario as above .
I took the help of contexts
1. context - 1 for the first table and respective derived tables
2. context -2 for the second table and respective derived tables.
When i try to build the report I am getting Incompatible objects error OR no data to retrieve ( though the data is available) ...How to over come this scenario.
Thanks in Advance........

Hi,
Check if  "Multiple statements for each context" option is checked under Universe Parameters --> SQL tab.
Also copy and paste the SQL (which is not giving results) in the SQL editor and check where it is failing.
Possible checkpoints could be:
1. Execute a simple count(*) on all tables coming in FROM clause.
2. If #1 is successful, comment the conditions and execute the SQL only with joins.
3. If #2 succeeds, the joins are defined properly. If #2 fails, there is one or few joins which are not returning data even the tables have data.
4. If #2 succeeds, check the conditions in WHERE clause one by one and check which condition is not giving data.
Hope it will help.
Regards,
Yuvraj

Similar Messages

  • Java.lang.VerifyError - Incompatible object argument for function call

    Hi all,
    I'm developing a JSP application (powered by Tomcat 4.0.1 in JDK 1.3, in Eclipse 3.3). Among other stuff I have 3 classes interacting with an Oracle database, covering 3 use cases - renaming, adding and deleting an database object. The renaming class simply updates the database with a String variable it receives from the request object, whereas the other two classes perform some calculations with the request data and update the database accordingly.
    When the adding or deleting classes are executed, by performing the appropriate actions through the web application, Tomcat throws the following:
    java.lang.VerifyError: (class: action/GliederungNewAction, method: insertNewNode signature: (Loracle/jdbc/driver/OracleConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V) Incompatible object argument for function call
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at action.ActionMapping.perform(ActionMapping.java:53)
         at ControllerServlet.doResponse(ControllerServlet.java:92)
         at ControllerServlet.doPost(ControllerServlet.java:50)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    ...The renaming works fine though. I have checked mailing lists and forums as well as contacted the company's java support but everything I have tried out so far, from exchanging the xerces.jar files found in JDOM and Tomcat to rebuidling the project didn't help.
    I just can't explain to myself why this error occurs and I don't see how some additional Java code in the other 2 classes could cause it?
    I realize that the Tomcat and JDK versions I'm using are totally out of date, but that's company's current standard and I can't really change that.
    Here's the source code. I moved parts of the business logic from Java to Oracle recently but I left the SQL statements that the Oracle stored procedures are executing if it helps someone.
    package action;
    import java.sql.CallableStatement;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.StringTokenizer;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import oracle.jdbc.driver.OracleConnection;
    * This class enables the creation and insertion of a new catalogue node. A new node
    * is always inserted as the last child of the selected parent node.
    public class GliederungNewAction implements Action {
         public String perform(ActionMapping mapping, HttpServletRequest request,
                   HttpServletResponse response) {
              // fetch the necessary parameters from the JSP site
              // the parent attribute is the selected attribute!
              String parent_attribute = request.getParameter("attr");
              String catalogue = request.getParameter("catalogue");
              int parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
              // connect to database    
              HttpSession session = request.getSession();   
              db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
              if (sessConn != null) {
                   try {
                        sessConn.setAutoCommit(false);
                        OracleConnection connection = (OracleConnection)sessConn.getConnection();
                        int lastPosition = getLastNodePosition( getLastChildAttribute(connection, catalogue, parent_attribute) );
                        String newNodeAttribute = createNewNodeAttribute(parent_attribute, lastPosition);
                        // calculate the sequence number
                        int precedingSequenceNumber = getPrecedingSequenceNumber(connection, catalogue, parent_attribute);
                        if ( precedingSequenceNumber == -1 ) {
                             precedingSequenceNumber = parent_sequenceNr;
                        int sortSequence = precedingSequenceNumber + 1;
                        setSequenceNumbers(connection, catalogue, sortSequence);
                        // insert the new node into DB
                        insertNewNode(connection, catalogue, newNodeAttribute, parent_attribute, "Neuer Punkt", sortSequence);
                        connection.commit();
                   } catch(SQLException ex) {
                        ex.printStackTrace();
              return mapping.getForward();
          * Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
          * a new node in the catalogue.
         private void insertNewNode(OracleConnection connection, String catalogue, String attribute, String parent_attribute, String description, int sortSequence) {
              try {
                   String callAddNode = "{ call fasi_lob.pack_gliederung.addNode(:1, :2, :3, :4, :5) }";
                   CallableStatement cst;
                   cst = connection.prepareCall(callAddNode);
                   cst.setString(1, catalogue);
                   cst.setString(2, attribute);
                   cst.setString(3, parent_attribute);
                   cst.setString(4, description);
                   cst.setInt(5, sortSequence);
                   cst.execute();
                   cst.close();
              } catch (SQLException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    //          String insertNewNode = "INSERT INTO vstd_media_cat_attributes " +
    //                    "(catalogue, attribute, parent_attr, description, sort_sequence) VALUES(:1, :2, :3, :4, :5)";
    //          PreparedStatement insertStmt;
    //          try {
    //               insertStmt = connection.prepareStatement(insertNewNode);
    //               insertStmt.setString(1, catalogue);
    //               insertStmt.setString(2, attribute);
    //               insertStmt.setString(3, parent_attribute);
    //               insertStmt.setString(4, description);
    //               insertStmt.setInt(5, sortSequence);
    //               insertStmt.execute();
    //               insertStmt.close();
    //          } catch (SQLException e) {
    //               e.printStackTrace();
          * This method returns the attribute value of the last child of the parent under which
          * we want to insert a new node. The result set is sorted in descending order and only the
          * first result (that is, the last child under this parent) is fetched.
          * If the parent node has no children, "parent_attr.0" is returned. 
          * @param connection
          * @param catalogue
          * @param parent_attribute
          * @return attribute of the last child under this parent, or "parent_attr.0" if parent has no children
         private String getLastChildAttribute(OracleConnection connection, String catalogue, String parent_attribute) {
              String queryLastChild = "SELECT attribute FROM vstd_media_cat_attributes " +
                                            "WHERE catalogue=:1 AND parent_attr=:2 ORDER BY sort_sequence DESC";
              String lastChildAttribute;
              PreparedStatement ps;
              try {
                   ps = connection.prepareStatement(queryLastChild);
                   ps.setString(1, catalogue);
                   ps.setString(2, parent_attribute);
                   ResultSet rs = ps.executeQuery();
                   /* If a result is returned, the selected parent already has children.
                    * If not set the lastChildAttribute to parent_attr.0
                   if (rs.next()) {
                        lastChildAttribute = rs.getString("attribute");
                   } else {
                        lastChildAttribute = parent_attribute.concat(".0");
                   rs.close();
                   return lastChildAttribute;
              } catch (SQLException e) {
                   e.printStackTrace();
                   return null;
          * This helper method determines the position of the last node in the attribute.
          * i.e for 3.5.2 it returns 2, for 2.1 it returns 1 etc.
          * @param attribute
          * @return position of last node in this attribute
         private int getLastNodePosition(String attribute) {
              StringTokenizer tokenizer = new StringTokenizer(attribute, ".");
              String lastNodePosition = "0";
              while( tokenizer.hasMoreTokens() ) {
                   lastNodePosition = tokenizer.nextToken();
              return Integer.parseInt(lastNodePosition);
          * This method calculates the attribute of a node being inserted
          * by incrementing the last child position by 1 and attaching the
          * incremented position to the parent.
          * @param parent_attr
          * @param lastPosition
          * @return attribute of the new node
         private String createNewNodeAttribute(String parent_attr, int lastPosition) {
              String newPosition = new Integer(lastPosition + 1).toString();
              return parent_attr.concat("." + newPosition);
          * This method checks if the required sequence number for a new node is already in use and
          * handles the sequence numbers accordingly.
          * If the sequence number for a new node is NOT IN USE, the method doesn't do anything.
          * If the sequence number for a new node is IN USE, the method searches for the next free
          * sequence number by incrementing the number by one and repeating the query until no result
          * is found. Then all the sequence numbers between the required number (including, >= relation)
          * and the nearest found free number (not including, < relation) are incremented by 1, as to
          * make space for the new node.
          * @param connection
          * @param catalogue
          * @param newNodeSequenceNumber required sequence number for the new node
         private void setSequenceNumbers(OracleConnection connection, String catalogue, int newNodeSequenceNumber) {
              // 1. check if the new sequence number exists - if no do nothing
              // if yes - increment by one and see if exists
              //           repeat until free sequence number exists
              // when found increment all sequence numbers freeSeqNr > seqNr >= newSeqNr
              String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
                        "WHERE catalogue=:1 AND sort_sequence=:2";
              PreparedStatement ps;
              try {
                   ps = connection.prepareStatement(query);
                   ps.setString(1, catalogue);
                   ps.setInt(2, newNodeSequenceNumber);               
                   ResultSet rs = ps.executeQuery();
                   // if no result, the required sequence number is free - nothing to do
                   if( rs.next() ) {
                        int freeSequenceNumber = newNodeSequenceNumber;
                        do {
                             ps.setString(1, catalogue);
                             ps.setInt(2, freeSequenceNumber++);
                             rs = ps.executeQuery();
                        } while( rs.next() );
                        // increment sequence numbers - call stored procedure
                        String callUpdateSeqeunceNrs = "{ call fasi_lob.pack_gliederung.updateSeqNumbers(:1, :2, :3) }";
                        CallableStatement cst = connection.prepareCall(callUpdateSeqeunceNrs);
                        cst.setString(1, catalogue);
                        cst.setInt(2, newNodeSequenceNumber);
                        cst.setInt(3, freeSequenceNumber);
                        cst.execute();
                        cst.close();
    //                    String query2 = "UPDATE vstd_media_cat_attributes " +
    //                                      "SET sort_sequence = (sort_sequence + 1 ) " +
    //                                      "WHERE catalogue=:1 sort_sequnce >=:2 AND sort_sequence <:3";
    //                    PreparedStatement ps2;
    //                    ps2 = connection.prepareStatement(query2);
    //                    ps2.setString(1, catalogue);
    //                    ps2.setInt(2, newNodeSequenceNumber);
    //                    ps2.setInt(3, freeSequenceNumber);
    //                    ps.executeUpdate();
    //                    ps.close();
                   } // end of if block
                   rs.close();
              } catch (SQLException e) {
                   e.printStackTrace();
          * This method finds the last sequence number preceding the sequence number of a node
          * that is going to be inserted. The preceding sequence number is required to calculate
          * the sequence number of the new node.
          * We perform a hierarchical query starting from the parent node: if a result is returned,
          * we assign the parent's farthest descendant's node sequence number; if no result
          * is returned, we assign the parent's sequence number.
          * @param connection
          * @param catalogue
          * @param parent_attr parent attribute of the new node
          * @return
         private int getPrecedingSequenceNumber(OracleConnection connection, String catalogue, String parent_attr) {
              int sequenceNumber = 0;
              String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
                                "WHERE catalogue=:1 " +
                                "CONNECT BY PRIOR attribute = parent_attr START WITH parent_attr=:2 " +
                                "ORDER BY sort_sequence DESC";
              try {
                   PreparedStatement ps = connection.prepareStatement(query);
                   ps.setString(1, catalogue);
                   ps.setString(2, parent_attr);
                   ResultSet rs = ps.executeQuery();
                   if ( rs.next() ) {
                        sequenceNumber = rs.getInt("sort_sequence");
                   } else {
                        // TODO: ggf fetch from request!
                        sequenceNumber = -1;
                   rs.close();
                   ps.close();
              } catch (SQLException e) {
                   e.printStackTrace();
              return sequenceNumber;
    }

    After further googling I figured out what was causing the problem: in eclipse I was referring to external libraries located in eclipse/plugins directory, whereas Tomcat was referring to the same libraries (possibly older versions) in it's common/lib directory.

  • Incompatible Objects in Designer

    Hi,
    I am having 4 Folders(classes) in my Universe, how to set incompatible objects.
    Ex:
    Folder1:
    Folder2:
    Folder3:
    Folder4:
    Compatible folders(combination):
    1-->Folder1 & Folder2
    2-->Folder1 & Folder3
    3-->Folder1 & Folder4
    If i selected one object from Folder2 & another object from Folder3, then it will show incompatible objects
    If i selected one object from Folder3 & another object from Folder4, then it will show incompatible objects
    If i selected one object from Folder2 & another object from Folder4, then it will show incompatible objects
    Please give me solution.
    Thanks,
    N Praveen

    Hi,
    Cause
    This error is caused by any of the following problems in the definition of the universe:
    There are incompatible objects in the universe and the universe designer did not set the option that allows multiple SQL statements for each context.
    There are no contexts in the universe and the query has created a loop.  
    The query objects exclude all possible SQL choices for an aggregate aware function.  
    The universe contains an object which references more than one table on separate contexts.  
    Action
    The universe designer needs to make appropriate modifications to the universe with Designer.
    Detect For Loops Or Aliases in your Universe .
    Check The structure for Folder 2 & Folder 3 Objects (same for other).
    Please Check The Links Below.
    http://www.forumtopics.com/busobj/viewtopic.php?t=93487
    encountered Incompatible combination of objects (QP0004) error!

  • Problem with cesession.jar: Incompatible object argument for function call

    Hi,
    I'm looking for an actual file cesession.jar because my current version from BOXI SP2 (01.03.2007 09:22, 62 KB) causes an error.
    Who can help me?
    Best Regards
    Arnold
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
         org.apache.jsp.TutorialDesktop.start_jsp._jspService(start_jsp.java:151)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.VerifyError: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
         com.crystaldecisions.sdk.framework.internal.CEFactory.makeSessionMgr(Unknown Source)
         com.crystaldecisions.sdk.framework.CrystalEnterprise.getSessionMgr(Unknown Source)
         org.apache.jsp.TutorialDesktop.start_jsp.createAuthenticationList(start_jsp.java:26)
         org.apache.jsp.TutorialDesktop.start_jsp._jspService(start_jsp.java:132)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.

    Hello Arnold,
    Can you provide us the exact information about the implementation version and Ant-version of the cesession.jar file that you are using.
    This could be observed by opening the jar file using winrar or winzip, then go to the MANIFEST.MF file present inside META-INF folder.
    Once you will open the MANIFEST.MF file, please let us know the first seven lines present inside the same fle.
    Thanks,
    Chinmay

  • Incompatible Object

    I have a report with demographics in (gender, ethnicity) and have added a new field but when I drag it into the report it says 'Cannot drop here. Incompatible Object'. Does anyone know why the object would be incompatible?

    Hey you have to answer following qns:
    1. Are you using Multiple Dataproviders/ Universes??
    2. Are you having multiple queries from differnet datasources??
    3. Which version of BO??
    If you have above, then use Merged Dimensions option available from BO.
    1. Find the icon at toolbar after Create Variable. And Merge common Objects from different Universes/Queries.
    2. Go to Document properties-- Right click and Check "Auto-merge common dimensions".
    Now you can go...
    Thank You!!
    Sent from iPhone

  • [Tomcat] Incompatible object argument for function call

    Hello,
    I've got a jsp which use a DOM parser to read XML. This jsp works good on my station :
    Tomcat 4.1.24
    JDK 1.3.1_07
    Windows XP
    I put my webapp on another station :
    Tomcat 4.1.24 (the same)
    JDK 1.3.1_12
    Windows NT
    but there, my jsp return an error :
    java.lang.VerifyError: (class: org/apache/jsp/doFncaBourse_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:232)
    at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:151)
    at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:440)
    at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:390)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:471)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:479)
    I don't understand where it comes from so if somebody can help me, it will be wonderful.
    Thanks et good afternoon and sorry for my english.

    Is it enough to write
    set JAVA_OPT= "-noverify"
    before
    set EXECJAVA=%RUNJAVA%
    set MAINCLASS=org.apache.catalina.startup.Bootstrap
    set ACTION=start
    set SECURITY_POLICY_FILE=
    set DEBUG_OPTS=
    set JPDA=
    ?

  • Incompatible object argument for function call exception

    I am hoping someone has seen this issue before.
    Running CF 7.0.1.116466 with JRun 4.
    I have a 3rd party search engine application running on a
    separate server. I interface with the engine via their Java API. I
    am able to use the search engine when executing using a home grown
    Java application. It also worked with CF 6. However, when I try to
    implement the same cold in CF, it fails with the exception attached
    below. I am able to successfully create the objects. The error
    occurs when the objects attempt to connect with the engine.
    I have also attached the code that is causing the errors.
    "seObj" creates an interface with the search engine. It is
    constructed with the server address as a parameter. It does not
    attempt to contact the engine when it is first constructed.
    "dsObj" allows access to specific content in the engine. This
    is where the connection to the engine is attempted and the error
    occurs.
    Any assistance would be greatly appreciated.
    12/13 10:26:12 error (class: org/jacorb/orb/Delegate, method:
    getReference signature:
    (Lorg/jacorb/poa/POA;)Lorg/omg/CORBA/portable/ObjectImpl;)
    Incompatible object argument for function call
    java.lang.VerifyError: (class: org/jacorb/orb/Delegate,
    method: getReference signature:
    (Lorg/jacorb/poa/POA;)Lorg/omg/CORBA/portable/ObjectImpl;)
    Incompatible object argument for function call
    at org.jacorb.orb.ORB._getObject(Unknown Source)
    at org.jacorb.orb.ORB.string_to_object(Unknown Source)
    at com.engenium.semetric.Engine.initRef(Engine.java:731)
    at com.engenium.semetric.Engine.getDocSet(Engine.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
    at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634)
    at cfinsert2ecfm673131553.runPage(C:\Documents and
    Settings\Jameso\My Documents\workspace\SemetricCF7\insert.cfm:12)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:210)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at
    coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    at coldfusion.CfmServlet.service(CfmServlet.java:107)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
    at
    jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Hi, Thanks.
    But the problem is still there.
    If I put
    public class SimpleThread extends Thread
    No problem, but if I put
    public class SimpleThread implements Runnable
    I got java.lang.VerifyError: (class: TestNotify, method: main signature: ([Ljava/lang/String;)V) Incompatible object argument for function call
    Exception in thread "main"
    Regards,
    Youbin
    Please refer to the following code:
    public class SimpleThread implements Runnable {
        private boolean isWaited = false;
        public void run() {
            synchronized(this) {
                while (true) {
                    System.out.println("Hi ------------");
                    try {
                        Thread.sleep(5000);
                        System.out.println("Start wait()");
                        isWaited=true;
                        wait();
                        isWaited=false;
    catch (Exception e) { }
    public class TestNotify {
    public static void main(String[] args) {
    SimpleThread simpleThread = new SimpleThread();
    simpleThread.start();
    try {
    Thread.sleep(10);
    } catch (Exception e) { }
    while (simpleThread.getIsWaited()) {
    synchronized(simpleThread) {
    System.out.println("Start notify()");
    simpleThread.notify();
    System.out.println("Arrived");
    int i=0;
    while (!simpleThread.getIsWaited()) {
    i++;
    System.out.println("Arrived="+i);
    synchronized(simpleThread) {
    System.out.println("Start notify() again");
    simpleThread.notify();
    System.out.println("Arrived again");

  • Incompatible object argument for function call

    when my application is trying to access a jsp page, I am getting an error:
    Request URI:/asteroid/admin/clientDetails.jsp
    Exception:
    java.lang.VerifyError: (class: admin/clientDetails, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible object argument for function call
    i am using ora9ias Java edition.
    At this point I am out of ideas as of why this is happening.
    This application runs fine on oc4j stand alone.

    Is it enough to write
    set JAVA_OPT= "-noverify"
    before
    set EXECJAVA=%RUNJAVA%
    set MAINCLASS=org.apache.catalina.startup.Bootstrap
    set ACTION=start
    set SECURITY_POLICY_FILE=
    set DEBUG_OPTS=
    set JPDA=
    ?

  • Incompatible Objects Error,

    Hi folks,
    I am getting incompatible objects error while selecting objects from two different context in a single report ?
    Shouldnt these objects get synchronized after query execution and displayed in a single table.
    (Multiple SQL statements per context and multiple context selection options are checked in for universe parameters.)
    Please let me know how this can be fixed.
    Thanks,
    Rahul

    Hi Rahul,
    To get rid of the incompatible objects error, you need to merge the common dimension of two BO queries. For eg:
    DP1: Region, Area, Sub-Area, Key Fig1
    DP2: D-Region, D-Area, D-Sub-Area,  Key-Fig2
    You need to merge the two DP on the following:  Region -> D-Region ; Area -> D-Area ; Sub-Area -> D-Sub-Area
    You will have the option of merging dimesion on infoview or rich client tool bar.
    Regards,
    Rohit

  • What is the use of creating a detail object on a measure.

    Hi Experts,
    In BI 4.X business layer, we can create a detail object of a dimension and as well as measure.
    Can you please let me know what could be the use of the detail object of a measure object?
    In the business layer, it is showing like this...
    <Measure object>
    -><Detail Object>
    Dimensions have attributes, we create those attributes as details objects.
    when we want to see the different grains of the measure in one report. we will use these details objects.
    Example:
    1. Query 1 returns country, sales revenue
    2. Query 2 Returns Country,State,Sales revenue.
    But in the report if we want to show the State wise Revenue. It is not possible bcz both the quires are returning different grain.
    state object is incompatible object, so you can't drag the object into report.
    in this scenario we will merge the Country dimension , create the state object as details with merged dimension, then you can drag the state details detail object.
    this will give expected results Country and State wise revenue.
    Normally Dimensions and details objects will drives the measures values in report.
    So, Detail object on measure not helpful in case of relational database(Please correct me if i am wrong). It is useful only for OLAP database because when I have created a webi report on top of BEx query then it is automatically created a detail object on measure object.
    As far I know, 'Measure attribute' introduced for OLAP based business layer. which can provides information for the formatted value like unit, currency or value.
    For example:-
    Amount is key figure in BEx query and when I have created Webi report on top of that then it will create three object.
    1. Amount as meausre.
    ->2. Amount currency(detail).
    ->3. Amount formatted value(detail).
    Below is the output after running the report.
    Amount || Amount currency || Amount formatted value
    30 || $ || 30.00
    8 || $ || 8.00
    I have found one difference, We can't implement the index awareness on detail object which we have created on measure object although we can implement the index awareness on detail object which we have created on top dimension object.
    But Still I am looking for good example of Detail object on measure object..
    Any thought would be welcome...
    Thanks,
    Sachin

    I moved this to the Semantic Layer space for faster response.

  • PM How to define new scenarios / subscreens as selectable entries

    Hello!
    I've a customer who wants to use an own subscreen in PM / IW24.
    He wants to select it like a predefined scenario in the user default values / ref. object / scenario ...
    I can create new dynpros / subscreens ... no problem. But how to tell PM that these subscreens shall be used as a selectable scenario in iw24?
    Thanks a lot in advance for your help.
    Best regards,
    Ingo

    Select target database and go to the bottom screen.
    Select "Metric Baselines", most likely
    Metric Baselines are currently disabled for this database instance.
    Solution re-enable
    Enabling metric baselines causes a small set of instance performance metrics
    to be persisted to the Automatic Workload Repository. Click the Enable Metric
    Baselines button to enable this feature now.
    George

  • Skipping over incompitable object - on Undeployment of Resource Adpater

              Problem Statement: WLS6.1 SP2 on NT 4.0
              ** Single WLS Admin Server - NOT CLUSTERED****
              1. Deployed Resource Adpater at JNDI IICF.
              2. ManagedConnectionFactoryCreated.
              3. Trying to Undeploy - Generates following errors.
              After effects:
              View JNDI has (access denied). Is JNDI corrput now?
              The IiConnectionFactory is completely serializable. All members are String or
              primitive int types. Only one transient member of PrintWrite.
              Weblogic Log:
              IiManagedConnectionFactory::createConnectionFactory(?):1
              Skipping over incompatible object at name=IICF, className=IiConnectionFactory
              javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalExcept
              ion: failed to unmarshal interface javax.naming.NamingEnumeration; nested except
              ion is:
              java.lang.ClassNotFoundException: IiConnectionFactory: This error could
              indicate that a component was deployed on a cl
              uster member but not other members of that cluster. Make sure that any component
              deployed on a server that is part of a cluster is also deployed on all other
              me
              mbers of that cluster
              java.lang.ClassNotFoundException: IiConnectionFactory: This error could indicate
              that a component was deployed on a cluster me
              mber but not other members of that cluster. Make sure that any component deploye
              d on a server that is part of a cluster is also deployed on all other members
              of
              that cluster
              at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:16
              2)
              at weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:10
              6)
              at weblogic.common.internal.WLObjectInputStream.resolveClass(WLObjectInp
              utStream.java:49)
              at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
              :918)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at weblogic.jndi.internal.BindingEnumeration.readExternal(BindingEnumera
              tion.java:65)
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              at weblogic.rmi.internal.CBVInputStream.readObjectInternal(CBVInputStrea
              m.java:191)
              at weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream.java:1
              82)
              at weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream.java:1
              69)
              at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
              at weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
              ava:232)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
              ef.java:263)
              at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
              ef.java:229)
              at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              at $Proxy49.listBindings(Unknown Source)
              at weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:
              309)
              at javax.naming.InitialContext.listBindings(InitialContext.java:399)
              at weblogic.management.console.webapp._jndi.__nav.printContext(__nav.jav
              a:116)
              at weblogic.management.console.webapp._jndi.__nav._jspService(__nav.java
              :254)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:265)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
              cherImpl.java:241)
              at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112
              at weblogic.management.console.actions.ForwardAction.perform(ForwardActi
              on.java:35)
              at weblogic.management.console.actions.internal.ActionServlet.doAction(A
              ctionServlet.java:171)
              at weblogic.management.console.actions.internal.ActionServlet.doGet(Acti
              onServlet.java:91)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:265)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2495)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2204)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    Might sound funny but try adding the connectors compiled classes (or the
              jar) in to WLS's classpath...
              I has a similar problem...
              "Chris R" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Problem Statement: WLS6.1 SP2 on NT 4.0
              > ** Single WLS Admin Server - NOT CLUSTERED****
              >
              > 1. Deployed Resource Adpater at JNDI IICF.
              > 2. ManagedConnectionFactoryCreated.
              > 3. Trying to Undeploy - Generates following errors.
              >
              > After effects:
              >
              > View JNDI has (access denied). Is JNDI corrput now?
              >
              > The IiConnectionFactory is completely serializable. All members are String
              or
              > primitive int types. Only one transient member of PrintWrite.
              >
              >
              > Weblogic Log:
              >
              > IiManagedConnectionFactory::createConnectionFactory(?):1
              > Skipping over incompatible object at name=IICF,
              className=IiConnectionFactory
              > javax.naming.CommunicationException. Root exception is
              java.rmi.UnmarshalExcept
              > ion: failed to unmarshal interface javax.naming.NamingEnumeration; nested
              except
              > ion is:
              > java.lang.ClassNotFoundException: IiConnectionFactory: This error
              could
              > indicate that a component was deployed on a cl
              > uster member but not other members of that cluster. Make sure that any
              component
              > deployed on a server that is part of a cluster is also deployed on all
              other
              > me
              > mbers of that cluster
              > java.lang.ClassNotFoundException: IiConnectionFactory: This error could
              indicate
              > that a component was deployed on a cluster me
              > mber but not other members of that cluster. Make sure that any component
              deploye
              > d on a server that is part of a cluster is also deployed on all other
              members
              > of
              > that cluster
              > at
              weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:16
              > 2)
              > at
              weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:10
              > 6)
              > at
              weblogic.common.internal.WLObjectInputStream.resolveClass(WLObjectInp
              > utStream.java:49)
              > at
              java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
              > :918)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              > at
              java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              > at
              weblogic.jndi.internal.BindingEnumeration.readExternal(BindingEnumera
              > tion.java:65)
              > at
              java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
              > at
              java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
              > at
              weblogic.rmi.internal.CBVInputStream.readObjectInternal(CBVInputStrea
              > m.java:191)
              > at
              weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream.java:1
              > 82)
              > at
              weblogic.rmi.internal.CBVInputStream.readObject(CBVInputStream.java:1
              > 69)
              > at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
              > at
              weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
              > ava:232)
              > at
              weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
              > ef.java:263)
              > at
              weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
              > ef.java:229)
              > at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              > at $Proxy49.listBindings(Unknown Source)
              > at
              weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:
              > 309)
              > at
              javax.naming.InitialContext.listBindings(InitialContext.java:399)
              > at
              weblogic.management.console.webapp._jndi.__nav.printContext(__nav.jav
              > a:116)
              > at
              weblogic.management.console.webapp._jndi.__nav._jspService(__nav.java
              > :254)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:265)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:200)
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
              > cherImpl.java:241)
              > at
              weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112
              > )
              > at
              weblogic.management.console.actions.ForwardAction.perform(ForwardActi
              > on.java:35)
              > at
              weblogic.management.console.actions.internal.ActionServlet.doAction(A
              > ctionServlet.java:171)
              > at
              weblogic.management.console.actions.internal.ActionServlet.doGet(Acti
              > onServlet.java:91)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:265)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > pl.java:200)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              > rvletContext.java:2495)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              > pl.java:2204)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

  • Error while accessing seesion bean from java client, is the lookup ok?

    I got the following error..
    Exception in thread "main" java.lang.VerifyError: (class: com/sun/enterprise/iio
    p/POAEJBORB, method: addCSIv2Component signature: (Lcom/sun/corba/ee/internal/co
    re/IOR;[B)Lcom/sun/corba/ee/internal/core/IOR;) Incompatible object argument for
    function call
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:199)
            at org.omg.CORBA.ORB.create_impl(ORB.java:303)
            at org.omg.CORBA.ORB.init(ORB.java:352)
            at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:140)
            at com.sun.enterprise.util.ORBManager.init(ORBManager.java:69)
            at com.sun.enterprise.naming.java.javaURLContextFactory.getObjectInstanc
    e(javaURLContextFactory.java:27)
            at javax.naming.spi.NamingManager.getURLObject(NamingManager.java:594)
            at javax.naming.spi.NamingManager.getURLContext(NamingManager.java:543)
            at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
    a:282)
            at javax.naming.InitialContext.lookup(InitialContext.java:357)
            at samples.helloworld.ejb.Client.main(Client.java:32)
    the program is:
    env.put("java.naming.factory.initial",
                       "com.sun.jndi.cosnaming.CNCtxFactory");
               env.put("java.naming.provider.url", "iiop://" + host + ":"+port);
               System.out.println("after setting properties.");
               Context initial = new InitialContext(env);
               System.out.println("before setting initial context.");
               Object objref = initial.lookup("GreeterEJB");
               System.out.println("after lookup.");
    //END OF ADDITIONS FOR IAS
               //Context initial = new InitialContext();
               //Object objref = initial.lookup("GreeterEJB");
               System.out.println("before home");
               GreeterHome home = (GreeterHome)PortableRemoteObject.narrow(objref,
                                                GreeterHome.class);
               System.out.println("before create");
               Greeter remote = home.create();
               String msg = remote.getGreeting();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    This error usually shoots up due to the incompatibility with the dependecies. Can you please summarise how you went on compiling the application. Meanwhile, I'm trying to simulate same scenario with the GreeterEJB and the Converter examples.
    Regards
    Raj

  • VerifyError trying intantiate the oracles TransformerFactory for XSL

    Hi,
    When I try intantiating the Oracle4s TransformerFactory, I obtain a verifyError, next is the error message.
    (class: oracle/xml/jaxp/JXSAXTransformerFactory, method: reportConfigException signature: (Ljava/lang/Exception;IILjavax/xml/transform/SourceLocator;)V) Incompatible object argument for function call
    This occurs, setting the environment variable "javax.xml.transform.TransformerFactory" to values null and "oracle.xml.jaxp.JXSAXTransformerFactory";
    With this error it4s imposible process any xml with an xsl file.
    I would regard any help
    Thanks,
    Rodolfo

    It is the content of the "type" attribute of the "xml-stylesheet" processing instruction that leads to a null return value. W3C says the following at http://www.w3.org/TR/xslt20/#xslt-mime-definition :
    There is no experimental, vendor specific, or personal tree predecessor to "application/xslt+xml", reflecting the fact that no applications currently recognize it. This new type is being registered in order to allow for the expected deployment of XSLT 2.0 on the World Wide Web, as a first class XML application.
    So, for the time being, you should use the good old "text/xsl" in place of "application/xslt+xml".

  • Re: [iPlanet-JATO] Re: Translation hangs tool (retitled Custom Superclasses and warning T008)

    Sonal,
    I believe that you are misinterpreting the documentation.
    I understand that PgCommon has to extend ViewBeanBase. I tried to
    make the following changes in PgCommon and compiled it. Then I ran
    the extraction which threw up the following error:
    I believe that you are confusing extraction issues with translation issues.
    The warning message that indicates the need for a class mapping strategy to
    address custom superclasses in the original project is a TRANSLATION time
    warning.
    T008 No mapping found for [<ndClassType>]
    Falling back to [Object]. Please add entry for [<ndClassType>] to
    class mapping file, restart the toolbox and re-run the translation.
    As such, the remedy for this warning is detailed in the documentation under
    the heading
    Extraction/Translation Error & Warning Messages
    3.3 Notes on MigrationClassMappings.properties
    It sounds to me that you have misinterpreted the instructions and have
    attempted to modify the original PgCommon declaration, and then re-extract.
    This is incorrect. This implies that you see this as an extraction tool
    situation, which it is not. This is a translation tool consideration, and as
    such does not require any adjustment of the original NetDynamics' object. So
    please, return to the original PgCommon declaration, and recompile. Then run
    the extraction tool. Then run the translation tool, and make note of the
    translation tool warnings and deal with them.
    As indicated in the documentation (although perhaps not clearly enough), the
    solution to warning T008 is not to make your original PgCommon extend
    ViewBeanBase, but rather to adjust the MigrationClassMappings.properties so
    that the TRANSLATION tool will take your class mappings into account when it
    translates the ND objects into JATO objects.
    Specifically, if you add the following entry into the
    MigrationClassMappings.properties file:
    PgCommon PgCommonViewBean
    then the translation tool will cause all classes which previously extended
    PgCommon to be translated into new classes which now extend
    PgCommonViewBean.
    Your final step is to adjust PgCommonViewBean's constructor. Note, we are
    talking about PgCommonViewBean here (i.e. the output of the Translation
    tool, not the original ND object).
    Change it from this:
    public PgCommonViewBean()
    super(PAGE_NAME);
    setDefaultDisplayURL(DEFAULT_DISPLAY_URL);
    registerChildren();
    initialize();
    TO THIS
    public PgCommonViewBean(String name)
    // Adjust the constructor because this is a superclass
    // of the other viewbeans. It is NOT a stand along page
    // Therefore its constructor should be adjusted to pass the
    // page name argument up to the ViewBeanBase class
    super(name);
    /* Delete the following lines, they are not needed if this is acting as a
    superclass of other viewbeans.
    setDefaultDisplayURL(DEFAULT_DISPLAY_URL);
    registerChildren();
    initialize();
    ----- Original Message -----
    From: "Todd Fast" <toddwork@c...>
    Sent: Wednesday, April 25, 2001 5:16 PM
    Subject: Re: [iPlanet-JATO] Re: Translation hangs tool
    Sonal--
    Have you tried recompiling the entire application? It sounds as if theremay
    be a problem with incompatible versions of PgCommon and PgReplaceCDSIDwhich
    I assume extends it. Blow away all your project class files and recompile
    in the ND Studio before trying again.
    Also, make sure there are no .ser files hanging around in your project
    directory.
    Todd
    ----- Original Message -----
    From: <ssingh@n...>
    Sent: Wednesday, April 25, 2001 6:56 AM
    Subject: [iPlanet-JATO] Re: Translation hangs tool
    Todd/Charles,
    Thans for all the help.
    The client has a small application, in which all pages extend from
    PgCommon. PgCommon extends CSpPage. I read through the "Notes on
    MigrationClassMappings.properties" file in iMT1.1.1 documentation.
    I understand that PgCommon has to extend ViewBeanBase. I tried to
    make the following changes in PgCommon and compiled it. Then I ran
    the extraction which threw up the following error:
    java.lang.VerifyError: (class: prHRAdminDE/PgReplaceCDSID, method:
    stLinkToHome_onBeforeDisplayEvent signature:
    (Lspider/event/CSpDisplayEvent;)I) Incompatible object argument for
    function call
    at java.lang.ClassLoader.resolveClass0(Native Method)
    at java.lang.ClassLoader.resolveClass(ClassLoader.java:545)
    at spider.util.CSpClassLoader.loadClass(CSpClassLoader.java,
    Compiled Code)
    at spider.util.CSpClassLoader.loadClassWithPackage
    (CSpClassLoader.java:291)
    at spider.util.CSpClassLoader.loadClassWithPackage
    (CSpClassLoader.java:217)
    at spider.util.CSpClassName.instantiate(CSpClassName.java:180)
    at spider.intrp.CSpIntrpModel.createModel
    (CSpIntrpModel.java:945)
    at spider.intrp.CSpIntrpModel.createNodeObject
    (CSpIntrpModel.java:282)
    at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:500)
    at spider.CSpProject.readPostV40ChildObjects(CSpProject.java,
    Compiled Code)
    at spider.CSpProject.readObject(CSpProject.java:806)
    at spider.intrp.CSpIntrpModel.createNodeObject
    (CSpIntrpModel.java:293)
    at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:500)
    at spider.intrp.CSpIntrpModel.open(CSpIntrpModel.java:479)
    at spider.CSpider.instantiateFirstProjectInstance
    (CSpider.java:6404)
    at spider.CSpider.createAndSetNewProjectInstance
    (CSpider.java:6187)
    at spider.CSpider.allocateProjectUserContext
    (CSpider.java:5471)
    at spider.CSpider.preloadProjects(CSpider.java, Compiled Code)
    at spider.CSpider.initialize(CSpider.java:542)
    at com.iplanet.moko.netdyn.extract.PseudoCP.createProjects
    (PseudoCP.java:136)
    at com.iplanet.moko.netdyn.extract.PseudoCP.initialize
    (PseudoCP.java:106)
    at com.iplanet.moko.netdyn.extract.PseudoCP.<init>
    (PseudoCP.java, Compiled Code)
    at com.iplanet.moko.netdyn.tools.ExtractTool.invoke
    (ExtractTool.java, Compiled Code)
    at com.iplanet.moko.tools.gui.ToolInvocationThread.run
    (ToolInvocationThread.java, Compiled Code)
    ===================================
    Any more documentation availbale on how to migrate a common base
    page? I beleive that it would be a fairly common issue in NetD
    migrations.
    ===================================
    New PgCommon
    public class PgCommon extends ViewBeanBase implements ViewBean
    //]]SPIDER_CLASS END
    //[[SPIDER_EVENTS BEGIN
    public static boolean DEBUG = true;
    //[[SPIDER_EVENT<this_onAfterInitEvent>
    public PgCommon()
    super("PgCommon");
    public void this_onAfterInitEvent(CSpInitEvent event){
    Properties props =
    HRAdminProperties.getInstance();
    DEBUG = (props.getProperty
    ("hronlineadmin.debug").equals("TRUE"))?true:false;
    //CSpLog.setSendErrorsToHtml(false);
    //return (PROCEED);
    //]]SPIDER_EVENT<this_onAfterInitEvent>
    //]]SPIDER_EVENTS END

Maybe you are looking for

  • [Converted] appears when opening CS2 files

    Our office uses InDesign CS2 v.4.0.5 on Windows XP Professional SP3, and we're having a problem with one computer. When we attempt to open any InDesign documents on it, the pages open as "FileName.indd @ 100% [Converted]" and then bring up a Save As.

  • Fixing table position on the template and printing on the last page

    Hi, I have a requirement where i need to print a table at a fixed position and at the last page. if there is a single page, then the said table should print at the bottom of the page ... if there are multiple line records, the records should print on

  • Can I execute a thread JPanel?

    I want my Jpanel to do a bouncing ball. So I decided to use a thread to update the coordinates regularly. How do I set the panel to visible and at the same time run run()? As you will see, it doesn't work (Code for drawing I haven't placed yet. Inste

  • Email hyperlinks / converting to PDF

    Hello I've got an issue when exporting a document from Pages to PDF - the hyperlink to my email address becomes corrupt by one letter. Visibly there is no indication that this is the case but it means that people responding to my CV have been emailin

  • World wide web crawling and gateway

    Hi all,We'd like to crawl a world wide web site and open the documents/contents thru the gateway.While we set up the www data source, with the "using gateway" option selected, the portal asks for a web service: which is the correct one? Do we need to