No such method error when migrating to 10.3.2

Howdy!
I am migrating a Portal application from 10.0.2 to 10.3.2 and getting the following exception when trying to access any page of the app. The app is using a home grown URI re-write mechanism that worked successfully in 10.0.2 environment.
Thank you for your time.
Caused By: java.lang.NoSuchMethodError: org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.updateScopedResponse(Ljavax/servlet/http/HttpServletResponse;Lorg/apache/beehive/netui/pageflow/scoping/ScopedRequest;)Lorg/apache/beehive/netui/pageflow/scoping/ScopedResponse;
     at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.getScopedResponse(ScopedContentCommonSupport.java:340)
     at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:182)
     at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:137)
     at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)
     at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
     at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:399)
     at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
     at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
     at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
     at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:465)
     at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:291)
     at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:231)
     at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:216)
     at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:275)
     at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:719)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.updateScopedResponse(Ljavax/servlet/http/HttpServletResponse;Lorg/apache/beehive/netui/pageflow/scoping/ScopedRequest;)Lorg/apache/beehive/netui/pageflow/scoping/ScopedResponse;
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
     at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
     at alibris.jump.servlet.JumpRequest.rewrite(JumpRequest.java:495)
     at alibris.jump.servlet.UrlRules$RewriteRule.handleApplyRule(UrlRules.java:534)
     at alibris.jump.servlet.UrlRules$PatternUrlRule.applyRule(UrlRules.java:486)
alibris.common.exception.AlibrisRuntimeException: Error applying RewriteRule to URI '': pattern = '(?i)^/?$', newUrl = '/portals/alibrisPortal.portal?_nfpb=true&_pageLabel=alibrisPage_mediaNeutralHome'
     at alibris.jump.servlet.UrlRules$PatternUrlRule.applyRule(UrlRules.java:489)
     at alibris.jump.servlet.UrlRules.applyRules(UrlRules.java:242)
     at alibris.jump.servlet.filter.JumpServletFilter.doJumpFilter(JumpServletFilter.java:151)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.NonWwwFilter.doJumpFilter(NonWwwFilter.java:48)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.OldLibraryFilter.doJumpFilter(OldLibraryFilter.java:50)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.SellerStorefrontFilter.doJumpFilter(SellerStorefrontFilter.java:72)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.PiratesFilter.doJumpFilter(PiratesFilter.java:49)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.ServicesFilter.doJumpFilter(ServicesFilter.java:34)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.DirectIpFilter.doJumpFilter(DirectIpFilter.java:40)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at alibris.jump.servlet.filter.MasterServletFilter.doJumpFilter(MasterServletFilter.java:93)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
     at alibris.jump.servlet.UrlRules$PatternUrlRule.applyRule(UrlRules.java:489)
     at alibris.jump.servlet.UrlRules.applyRules(UrlRules.java:242)
     at alibris.jump.servlet.filter.JumpServletFilter.doJumpFilter(JumpServletFilter.java:151)
     at alibris.jump.servlet.filter.JumpRequestFilter.doFilter(JumpRequestFilter.java:64)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     Truncated. see log file for complete stacktrace
Caused By: javax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.updateScopedResponse(Ljavax/servlet/http/HttpServletResponse;Lorg/apache/beehive/netui/pageflow/scoping/ScopedRequest;)Lorg/apache/beehive/netui/pageflow/scoping/ScopedResponse;
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils.updateScopedResponse(Ljavax/servlet/http/HttpServletResponse;Lorg/apache/beehive/netui/pageflow/scoping/ScopedRequest;)Lorg/apache/beehive/netui/pageflow/scoping/ScopedResponse;
     at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.getScopedResponse(ScopedContentCommonSupport.java:340)
     at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:182)
     at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:137)
     at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)
     at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
     Truncated. see log file for complete stacktrace

You have a classloading issue. Have you by any chance provided a org.apache.beehive distribution in your classpath.
To my knowledge the current distrbutions of Apache Beehive do not contain the method updateScopedResponse
see also https://issues.apache.org/jira/browse/BEEHIVE-1181
If you look at this JavaDoc (http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.html)
the updateScopedResponse should be available in the fusion middleware distribution 10.3.2 (Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2))
The beehive class containing updateScopedResponse is available in sourceforge for download
(https://svn.apache.org/repos/asf/beehive/trunk/netui/src/scoping/org/apache/beehive/netui/pageflow/scoping/ScopedServletUtils.java)

Similar Messages

  • No such method error when launching the Interactive form

    Hi Experts,
    I have developed a simeple Java Webdynpro application and added an Interactive form without any controls in it. Created the context with one value node and a binary value attribute.
    I have assigned  value node to datasource and binary attribute to pdfSource. When I launch the application I am getting the following no such method error.
    java.lang.NoSuchMethodError: com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.setTemplateSource(Ljava/lang/String;)V
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    My NWDS is of Version 7.0.06
    and J2EE Engine is of Version 6.40.
    any guess why I am getting this error.
    Thanks
    Chinna.

    Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.

  • Getting no such method error   when calling  getEnvelope()

    I getting this error
    java.lang.NoSuchMethodError: org.apache.xerces.dom.ElementNSImpl.<init>(Lorg/apache/xerces/dom/CoreDocumentImpl;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         at com.sun.xml.messaging.saaj.soap.impl.ElementImpl.<init>(ElementImpl.java:45)
         at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.<init>(EnvelopeImpl.java:40)
         at com.sun.xml.messaging.saaj.soap.impl.EnvelopeImpl.<init>(EnvelopeImpl.java:49)
         at com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl.<init>(Envelope1_1Impl.java:34)
         at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEmptyEnvelope(SOAPPart1_1Impl.java:39)
         at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:78)
              SOAPPart sp = message.getSOAPPart();
              SOAPEnvelope envelope = sp.getEnvelope();
    when I call the getEnvelope() method I get this message.
    If this is problem because of wrong jar files please guide mew what jar files I must use I am using jdk 1.4
    these are the jar fiels I am using
         <classpathentry kind="lib" path="lib/log4j.jar"/>
         <classpathentry kind="lib" path="lib/xerces.jar"/>
         <classpathentry kind="lib" path="lib/xercesImpl.jar"/>
         <classpathentry kind="lib" path="lib/jdom.jar"/>
         <classpathentry kind="lib" path="lib/activation.jar"/>
         <classpathentry kind="lib" path="lib/classes12.jar"/>
         <classpathentry kind="lib" path="lib/commons-logging-api.jar"/>
         <classpathentry kind="lib" path="lib/j2ee_small_version.jar"/>
         <classpathentry kind="lib" path="lib/jakarta-regexp-1.2.jar"/>
         <classpathentry kind="lib" path="lib/jaxp.jar"/>
         <classpathentry kind="lib" path="lib/jaxp-api.jar"/>
         <classpathentry kind="lib" path="lib/saaj-api.jar"/>
         <classpathentry kind="lib" path="lib/saaj-impl.jar"/>
         <classpathentry kind="lib" path="lib/xalan.jar"/>

    Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.

  • No such method error when starting OC4J 1.3 Developer's Preview

    Hi,
    Having run 1.0.2.2.1 successfully I've now installed OC4J 1.3 Developer's Preview version. When I start up the server (java -jar oc4j.jar) I get the following error:
    java.lang.NoSuchMethodError
    at org.apache.crimson.tree.XmlDocumentBuilder.startDTD(XmlDocumentBuilder.java:615)
    at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1131)
    I'm executing the commmand from the same directory as oc4j.jar and have the CLASSPATH set as follows:
    E:\Oracle\iSuites\j2ee\home\ejb.jar;
    E:\Oracle\iSuites\j2ee\home\jndi.jar;
    E:\Oracle\iSuites\j2ee\home\oc4j.jar;
    e:\oracle\isuites\j2ee\home\crimson.jar
    Any ideas ?
    Cheers,
    Geoff

    Hi Geoff,
    As far as I know, there is no "OC4J 1.3 Developer's Preview" version;
    there is a "9.0.3 Developer's Preview Version". However, I would suggest
    using the "9.0.2 Production Version" (also available for download from the Technet web site: http://technet.oracle.com)
    Also, you need to be using JDK 1.3.1 with that version of OC4J.
    You can find information on how to run OC4J in "debug" mode from the
    Atlassian web site:
    http://www.atlassian.com
    and on the OrionSupport web site:
    http://www.orionsupport.com
    You can also try using the "verbosity" flag, as in:
    java -jar oc4j.jar -verbosity 10
    (10 is the highest value for "verbosity")
    Good Luck,
    Avi.

  • SelectInputText error when migrating to https - ADF 10g

    This is a follow-on of this thread in the JHeadstart forum:
    LoV opening error when migrating to https
    ADF/JDev 10.1.3.2 build 4066
    The app works fine in IE8 and Firefox when using HTTP. It also works in Firefox using HTTPS.
    However, in IE8, the LOV window does not popu up for an af:selectInputText component. The server log does not provide any clues.
    Does anyone know if HTTPS in ADF 10g is not supported for IE8?
    Thanks,
    Peter

    Oracle Support had a similar idea: upgrade to 10.1.3.5 because it is certified for IE8 whereas 10.1.3.2 is not.
    However, we edited the mod_osso.conf for that OC4J instance and added the following in the Location tag for the problem application:
    OssoSendCacheHeaders off
    The LOVs now appear in IE8 under HTTPS.
    Thanks for the input, Steven; you were of course right about this not being related to JHS. We'll keep the upgrade solution in mind in case of other unexplained problems with IE8.
    Regards,
    Peter

  • Fatal errors when migrating JClient from JDev 10.1.2 to JDev 10.1.3

    I have following errors after migrating a woring JClient app. from 10.1.2 to 10.1.3.
    The error messages don't say much so I hope others encountered similar errors!
    When calling the a runnable panel that was generated with the Jdev 10.1.2 wizard I have following error:
    Exception in thread "main" java.lang.VerifyError: class oracle.jbo.uicli.jui.JUActionBinding overrides final method .«?í*h8+
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at com.photoswing.view.lab.PanelPhotolabVO1.$init$(PanelPhotolabVO1.java:41)
         at com.photoswing.view.lab.PanelPhotolabVO1.<init>(PanelPhotolabVO1.java:83)
         at com.photoswing.view.lab.PanelPhotolabVO1.main(PanelPhotolabVO1.java:162)
    The JUActionBinding method is used in the navigation bar so I removed the nav bar and I get:
    Exception in thread "main" java.lang.VerifyError: class oracle.jbo.uicli.jui.JUActionBinding overrides final method .«?í*h8+
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
    What is this gibrish: «?í*h8 ??
    Your help will be appreciated.
    Fred

    Hi Steve,
    More info:
    I created a new application, model: 1 entity + 1 view, client: wizard generated form amd it works.
    I created a new JDev installation without migrating the setup of previous versions or installing the updates. I kept the default JVM for all my projects.
    I opened a copy of the 10.1.3 application, created a new wizard generated panel based on one entity based view and I get the error?
    E:\fred\jdev10.1.3\jdk\bin\javaw.exe -ojvm -classpath E:\fred\mywork10.1.3\PhotoWebshopManagement\View\classes;E:\fred\mywork10.1.3\PhotoWebshopManagement\Model\classes;E:\fred\jdev10.1.3\BC4J\lib\adfshare.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jmt.jar;E:\fred\jdev10.1.3\BC4J\lib\collections.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jct.jar;E:\fred\jdev10.1.3\lib\xmlparserv2.jar;E:\fred\jdev10.1.3\jlib\jdev-cm.jar;E:\fred\jdev10.1.3\jlib\ojmisc.jar;E:\fred\jdev10.1.3\jlib\commons-el.jar;E:\fred\jdev10.1.3\jlib\jsp-el-api.jar;E:\fred\jdev10.1.3\jlib\oracle-el.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jtester.jar;E:\fred\jdev10.1.3\jlib\help4.jar;E:\fred\jdev10.1.3\jlib\share.jar;E:\fred\jdev10.1.3\jlib\jewt4.jar;E:\fred\jdev10.1.3\jlib\oracle_ice.jar;E:\fred\jdev10.1.3\jdbc\lib\ojdbc14dms.jar;E:\fred\jdev10.1.3\jdbc\lib\orai18n.jar;E:\fred\jdev10.1.3\jdbc\lib\ocrs12.jar;E:\fred\jdev10.1.3\diagnostics\lib\ojdl.jar;E:\fred\jdev10.1.3\lib\dms.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jdomorcl.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jdatum.jar;E:\fred\jdev10.1.3\j2ee\home\jazn.jar;E:\fred\jdev10.1.3\j2ee\home\jazncore.jar;E:\fred\jdev10.1.3\BC4J\lib\adfm.jar;E:\fred\jdev10.1.3\BC4J\jlib\adfui.jar;E:\fred\jdev10.1.3\BC4J\lib\adfbinding.jar;E:\fred\trove-1.1b4\lib\trove.jar;E:\fred\commons-validator-1.1.4\commons-validator-1.1.4.jar;E:\fred\commons-httpclient-3.0\commons-httpclient-3.0.jar;E:\fred\mywork10.1.3\PhotoWebshopManagement\DTO\classes;E:\fred\jdev1012_1\BC4J\lib\adfm.jar;E:\fred\jdev1012_1\BC4J\jlib\adfjclient.jar;E:\fred\jdev1012_1\jlib\bigraphbean.jar;E:\fred\jdev1012_1\jlib\LW_PfjBean.jar;E:\fred\jdev1012_1\BC4J\lib\bc4jimdomains.jar;E:\fred\jdev1012_1\BC4J\jlib\bc4jimjui.jar;E:\fred\jdev1012_1\ord\jlib\ordim.jar;E:\fred\jdev1012_1\ord\jlib\ordhttp.jar;E:\fred\jdev1012_1\ord\jlib\jmf.jar;E:\fred\jdev10.1.3\jlib\inspect4.jar;E:\fred\jdev1012_1\BC4J\jlib\bc4jdatum.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jui.jar;E:\fred\jdev10.1.3\jlib\bigraphbean.jar;E:\fred\jdev10.1.3\jlib\LW_PfjBean.jar;E:\fred\jdev10.1.3\jdev\extensions\oracle.jdeveloper.jgoodies.1.0.4\forms-1.0.4.jar;E:\fred\jdev10.1.3\javacache\lib\cache.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jimdomains.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jimjui.jar;E:\fred\jdev10.1.3\ord\jlib\ordim.jar;E:\fred\jdev10.1.3\ord\jlib\ordhttp.jar;E:\fred\jdev10.1.3\ord\jlib\jmf.jar;E:\fred\jdev10.1.3\lib\xml.jar;E:\fred\jdev10.1.3\jdev\lib\jdev-rt.jar;E:\fred\jdev10.1.3\sqlj\lib\runtime12.jar;E:\fred\jmagick-win-5.5.7-Q8\jmagick.jar -Xmx378m -DServerSeparator=\ com.photoswing.view.system.TestPanelVatTypeVO2
    Exception in thread main
    java.lang.VerifyError: oracle.jbo.uicli.controls.JUNavigationBar
         at oracle.jbo.uicli.controls.JUTestFrame.$init$(JUTestFrame.java:67)
         at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:115)
         at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:84)
         at com.photoswing.view.system.TestPanelVatTypeVO2.main(TestPanelVatTypeVO2.java:146)
    The error points to following code of the JUTestFrame class:
    JUNavigationBar menuNavBar = new JUNavigationBar()
    protected void _updateButtonStates()
    super._updateButtonStates();
    menuItemsUpdate();
    And when running with the java client I get:
    E:\fred\jdev10.1.3\jdk\bin\javaw.exe -client -classpath E:\fred\mywork10.1.3\PhotoWebshopManagement\View\classes;E:\fred\mywork10.1.3\PhotoWebshopManagement\Model\classes;E:\fred\jdev10.1.3\BC4J\lib\adfshare.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jmt.jar;E:\fred\jdev10.1.3\BC4J\lib\collections.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jct.jar;E:\fred\jdev10.1.3\lib\xmlparserv2.jar;E:\fred\jdev10.1.3\jlib\jdev-cm.jar;E:\fred\jdev10.1.3\jlib\ojmisc.jar;E:\fred\jdev10.1.3\jlib\commons-el.jar;E:\fred\jdev10.1.3\jlib\jsp-el-api.jar;E:\fred\jdev10.1.3\jlib\oracle-el.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jtester.jar;E:\fred\jdev10.1.3\jlib\help4.jar;E:\fred\jdev10.1.3\jlib\share.jar;E:\fred\jdev10.1.3\jlib\jewt4.jar;E:\fred\jdev10.1.3\jlib\oracle_ice.jar;E:\fred\jdev10.1.3\jdbc\lib\ojdbc14dms.jar;E:\fred\jdev10.1.3\jdbc\lib\orai18n.jar;E:\fred\jdev10.1.3\jdbc\lib\ocrs12.jar;E:\fred\jdev10.1.3\diagnostics\lib\ojdl.jar;E:\fred\jdev10.1.3\lib\dms.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jdomorcl.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jdatum.jar;E:\fred\jdev10.1.3\j2ee\home\jazn.jar;E:\fred\jdev10.1.3\j2ee\home\jazncore.jar;E:\fred\jdev10.1.3\BC4J\lib\adfm.jar;E:\fred\jdev10.1.3\BC4J\jlib\adfui.jar;E:\fred\jdev10.1.3\BC4J\lib\adfbinding.jar;E:\fred\trove-1.1b4\lib\trove.jar;E:\fred\commons-validator-1.1.4\commons-validator-1.1.4.jar;E:\fred\commons-httpclient-3.0\commons-httpclient-3.0.jar;E:\fred\mywork10.1.3\PhotoWebshopManagement\DTO\classes;E:\fred\jdev1012_1\BC4J\lib\adfm.jar;E:\fred\jdev1012_1\BC4J\jlib\adfjclient.jar;E:\fred\jdev1012_1\jlib\bigraphbean.jar;E:\fred\jdev1012_1\jlib\LW_PfjBean.jar;E:\fred\jdev1012_1\BC4J\lib\bc4jimdomains.jar;E:\fred\jdev1012_1\BC4J\jlib\bc4jimjui.jar;E:\fred\jdev1012_1\ord\jlib\ordim.jar;E:\fred\jdev1012_1\ord\jlib\ordhttp.jar;E:\fred\jdev1012_1\ord\jlib\jmf.jar;E:\fred\jdev10.1.3\jlib\inspect4.jar;E:\fred\jdev1012_1\BC4J\jlib\bc4jdatum.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jui.jar;E:\fred\jdev10.1.3\jlib\bigraphbean.jar;E:\fred\jdev10.1.3\jlib\LW_PfjBean.jar;E:\fred\jdev10.1.3\jdev\extensions\oracle.jdeveloper.jgoodies.1.0.4\forms-1.0.4.jar;E:\fred\jdev10.1.3\javacache\lib\cache.jar;E:\fred\jdev10.1.3\BC4J\lib\bc4jimdomains.jar;E:\fred\jdev10.1.3\BC4J\jlib\bc4jimjui.jar;E:\fred\jdev10.1.3\ord\jlib\ordim.jar;E:\fred\jdev10.1.3\ord\jlib\ordhttp.jar;E:\fred\jdev10.1.3\ord\jlib\jmf.jar;E:\fred\jdev10.1.3\lib\xml.jar;E:\fred\jdev10.1.3\jdev\lib\jdev-rt.jar;E:\fred\jdev10.1.3\sqlj\lib\runtime12.jar;E:\fred\jmagick-win-5.5.7-Q8\jmagick.jar -Xmx378m -DServerSeparator=\ com.photoswing.view.system.TestPanelVatTypeVO2
    Exception in thread "main" java.lang.VerifyError: class oracle.jbo.uicli.jui.JUActionBinding overrides final method .
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at oracle.jbo.uicli.controls.JUTestFrame.$init$(JUTestFrame.java:67)
         at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:115)
         at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:84)
         at com.photoswing.view.system.TestPanelVatTypeVO2.main(TestPanelVatTypeVO2.java:146)
    A searched all files (all file types) of my app for JUActionBinding and didn't find any.
    I created a new client project dependant on my model project and the same wizard generated class works?
    Sorry but I'm lost and I can't provide a simple testcase.
    Regards
    Fred

  • Secondary methods : Error when starting submethod

    Hi,
    I have designed a workflow for payment request : For the approver i am displaying  the document in edit mode thorough standard method .I am calling that method ( Edit method ) in the secondary method of the decision tab( METHODS tab)  .But i am getting the error "Error when starting submethod " whenver i execute the workitem.I am working ECC 6.0 .
    Please can anyone help in getting this solved .
    regards
    Paveee.

    The answer is simple: You need to co-operate with someone who has wide authorizations. It is impossible to solve a problem when you don't even have authorization to check what went wrong. I would suggest contacting your Basis team/person.
    <i>Message was edited by Kjetil Kilhavn:</i>
    But on an entirely different note, you haven't really shared information that could tell anyone what the problem is. I'm suspecting you are using a customer-specific object type, and that the problem is in your solution, rather than authorizations. The reason I am suspecting this is that experience shows most errors are in customer-specific coding (i.e. my code) and not in SAP's own code

  • SAP BW on HANA: Error when migrating standard cube to the In-Memory Cube

    Hello,
    When migrating an standard infocube from a recently migrated BW to BW on HANA in-memory optimized cube, there is an error, for all the cubes.
    Implemented few notes, though luck yet. Appreciate if those, who saw and resolved it can help.
    Error while executing stored procedure for data implementation
    Message no. RSDRI_HDB041
    Diagnosis
    The InfoCube data to be migrated is processed using a stored procedure. This procedure reported an error.
    System Response
    Error code: 257
    Error text: sql syntax error: line 1 col 14 (at pos 14)
    Regards
    Manish Madhav

    Hi Mahish,
    I see this post is from March. I understand you have got some solution to it already.
    If yes, could you please share the solution.
    Thanks and regards,
    Aaloka

  • ACS 4.2 "Internal error" when migrate to Windows 2012 DC

    Dear All:
    We want to migrate DC 2003 to DC 2012, it 's mixed mode now. At first, We were shutdown the DC 2003 and ACS 4.2 sometimes got error "Internal error" when user couldn't access network in VPN or Wireless but not all of users. Finally, We open the DC 2003 ASAP, user can login at once. the error doesn't appear again. it is so weired. We had validated it can work with ACS 4.2 separately in windows 2012 or 2003 DC not mixed in Lab before migration. it seems to depend on DC 2003, we don't know how to do next step. Have anyone share about solve the situation? Thanks a lot.

    Update the ACS version to newer releases to work with win 2012. please check the link for the information:
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4-2/installation/guide/windows/IGwn42/install.html#wp1041376

  • How do I correct "No Such Method Error: main " ? ? ?

    Dear Java People,
    I have an error message in my program that says
    " No Such Method: main " . How do I correct this problem?
    Thank you in advance
    Stan

    Dear Java People,
    I have an error message in my program that says
    " No Such Method: main " . How do I correct this
    problem? It will be one of the following:
    -You don't have a main method at all
    -You don't have the correct signature for main. For instance it isn't static.
    -You are trying to run the wrong class. The main method is in a different class than the one you are specifying.

  • Run DDL error when migration from sqlserver 2000 to Oracle

    Hello:
    DDL was generated from Oracle SQL developer. However, it always has some errors when running the script.
    Error starting at line 6 in command:
    CREATE OR REPLACE PACKAGE sqlserver_utilities AS
    FUNCTION convert(dataType VARCHAR2,num NUMBER) RETURN NUMBER;
    FUNCTION convert(dataType VARCHAR2,date DATE, num NUMBER ) RETURN VARCHAR2;
    END sqlserver_utilities;
    Error report:
    Incorrect syntax near the keyword 'OR'.
    Error starting at line 34 in command:
    CREATE SEQUENCE tableName_id_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999 INCREMENT BY 1 NOCYCLE
    Error at Command Line:34 Column:0
    Error report:
    SQL Error: Line 1: Incorrect syntax near 'SEQUENCE'
    Thanks

    Hello, Dermot.
    Thanks for the help. I have MD_Packages, MD_Sequences, other MD tables and some MIGR tables created in the target oracle database. How could I know if it was created successful? Except those tables, no other tables(SQL server tables) were created in the target oracle database. The others errors in DDL scripts are:
    Error starting at line 370 in command:
    CREATE TABLE table_name1(
    ID NUMBER(10,0),
    Part_Activity VARCHAR2(20)
    Error at Command Line:370 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Error starting at line 376 in command:
    ALTER TABLE table_name1
    ADD CONSTRAINT PK_table_name1 PRIMARY KEY
    ID
    ENABLE
    Error report:
    SQL Error: Line 6: Incorrect syntax near 'ENABLE'.
    Error starting at line 413 in command:
    CREATE TABLE table_name2 (
    ID VARCHAR2(6) NOT NULL,
    COMPETITION NUMBER(10,0)
    Error at Command Line:413 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type VARCHAR2.
    Error starting at line 2,800 in command:
    CREATE TABLE table_name3 (
    Prefix NVARCHAR2(510),
    Type NVARCHAR2(510),
    ProductGroup NVARCHAR2(510)
    Error at Command Line:2,800 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NVARCHAR2.
    Error starting at line 2,808 in command:
    CREATE TABLE table_name4 (
    id NUMBER(10,0),
    bldg VARCHAR2(50),
    queue VARCHAR2(50),
    location VARCHAR2(50),
    type VARCHAR2(50),
    maxsize VARCHAR2(50),
    color VARCHAR2(50),
    empid VARCHAR2(50),
    serial VARCHAR2(50),
    duplex VARCHAR2(50),
    server VARCHAR2(15) DEFAULT 'Server'
    Error at Command Line:2,808 Column:0
    Error report:
    SQL Error: Column or parameter #1: Cannot find data type NUMBER.
    Thank you very much for the helo.
    Halfmoon

  • Error when migrating weblogic 10.3.0 to weblogic 10.3.2

    Hi,
    i try to migrating my application from weblogic 10.3.0 to 10.3.2
    and when i run i've got this error (from tomcat)
    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.ja
    va:197)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemEx
    ception(MessageBase.java:897)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSys
    temException(ReplyMessage_1_2.java:99)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExce
    ptionReply(CorbaMessageMediatorImpl.java:572)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.proce
    ssResponse(CorbaClientRequestDispatcherImpl.java:432)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marsh
    alingComplete(CorbaClientRequestDispatcherImpl.java:326)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaCl
    ientDelegateImpl.java:129)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    ... 36 more

    yes,
    thank you for the reply but wlfullclient.jar didn't help
    my friend figure it out it happen when sending a field bigDecimal value = 0. so i changed it not using big decimal. the problem is solved now

  • SetHtmlAttribute error when migrating 9.03 to 9.05

    We develop some web application with JDev 903 in MVC1
    using BC4J jbo datatags library. And now we try to migrate these application to JDev 9.052
    But after we migrated these application the error show up
    when <jbo:SetHtmlAttribute name="namea" value="valuea"/>
    is called in running time (inside InputRender or InputText tag).
    Error show is :
    java.lang.NoSuchMethodError: void oracle.jdeveloper.html.HTMLFieldRenderer.setHtmlAttributes(com.sun.java.util.collections.HashMap)
    And unfortunately SetHtmlAttribute tag are called in a lot of pages.
    Could somebody help us here to resolve this problem.
    Is there any compability issue regarding the migration of old web 903 to 905....?????
    Thank you

    As you are familiar from your current uses of JClient, our 9.0.3/9.0.4-style JClient binding is comprised of a layer of binding objects which you construct using appropriate factory methods in your panel classes. That is, it is code-based.
    9.0.5-style ADF databinding is comprised of a layer of binding objects, which are automatically constructed for you based on metadata in your UI Model XML file.
    The key difference at a high level is code-based versus metadata-based binding.
    The other is that in 9.0.5, all client technologies use the exact same data binding layer (and hence the same binding metadata, and design-time data binding tools and interactions). In 9.0.3/9.0.4, doing databinding for a JClient application was very different than doing it for a JSP page. Now we've unified all that.

  • No such method error

    Hi, I'm getting a message that reads: exception occured during event dispatching: java.lang.nosuchmethod error.
    Here's some of my code for a game of blackjack when I press the start game button everything works fine the textfield displays 2 cards and it gives me a total for the 2 cards.
    But when I press the hit button that's when I get the nosuchmethod error.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*; // added for event handling
    public class Blackjack_Frame
            final JFrame aFrame = new JFrame("MMSD 3610 Blackjack");
            Container contentPane = aFrame.getContentPane();
            aFrame.setSize(450, 200);
         // We don't need to set the layout manager for
         // a JFrame's content pane - it is automatically a
         // BorderLayout by default!
         // Technique for centering a frame on the screen.
         Dimension frameSize = aFrame.getSize();
         Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
         aFrame.setLocation((screenSize.width - frameSize.width)/2,
                     (screenSize.height - frameSize.height)/2);
         aFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         // Let's create the leftmost panel.  Note that we use names
         // for our components that are somewhat self-documenting.
         JPanel leftPanel = new JPanel();
         // We'll assign the panel a GridLayout (it would otherwise
         // default to FlowLayout).
         leftPanel.setLayout(new GridLayout(3, 1));
         // We'll create two labels on the fly and hand them
         // to the panel; there's no need to bother maintaining
         // a named handle on any of these labels.
         leftPanel.add(new JLabel("BLACKJACK ! :"));
         leftPanel.add(new JLabel("Your hand:"));
         leftPanel.add(new JLabel("Dealers hand:"));
         // Now, we'll attach the panel to the frame.
         contentPane.add(leftPanel, BorderLayout.WEST);
         // Repeat the process with the center panel.
         JPanel centerPanel = new JPanel();
         centerPanel.setLayout(new GridLayout(3, 1));
         // Here we make the TextField un-editable to the users
         // but it is enabled so we can display the cards
            // to the user.
           final JTextField input1TextField = new JTextField(30);
         input1TextField.setEditable(false);
         input1TextField.setEnabled(true);
         JTextField input2TextField = new JTextField(30);
         input2TextField.setEditable(false);
         input2TextField.setEnabled(true);
         JTextField input3TextField = new JTextField(30);
         input3TextField.setEditable(false);
         input3TextField.setEnabled(true);
         centerPanel.add(input1TextField);
         centerPanel.add(input2TextField);
         centerPanel.add(input3TextField);
         contentPane.add(centerPanel, BorderLayout.CENTER);
         // This panel displays all the buttons.
         JPanel buttonPanel = new JPanel();
         buttonPanel.setLayout(new GridLayout(1, 4));
         JButton hitButton = new JButton("HIT");
         JButton stayButton = new JButton("STAY");
         JButton endGameButton = new JButton("END GAME");
         JButton startGameButton = new JButton("START GAME");
         buttonPanel.add(hitButton);
         buttonPanel.add(stayButton);
         buttonPanel.add(endGameButton);
         buttonPanel.add(startGameButton);
         contentPane.add(buttonPanel, BorderLayout.SOUTH);
         // I tried using named inner classes first but didn't have much
         // luck so I had better success with anonymous inner classes.
         // First, we create a listener object to respond to
         // the "START GAME" button.
               ActionListener listen = new ActionListener()
           public void actionPerformed(ActionEvent e)
             CardDeck deck = new CardDeck();
                  deck.shuffle();
                  Hand myHand = deck.dealHand(2);
                  Hand yourHand = deck.dealHand(2);
                 input1TextField.setText(" " + (myHand) +
                     ("  Dealer's hand has " + myHand.getBlackjackHandValue()));
         };  // After doing some research I found I had to use this weird };
                // syntax because I needed to terminate the single statement
                // " ActionListener listen = new ActionListener() "
             // ... and then we register this listener with the appropriate
             // component.
             startGameButton.addActionListener(listen);     
         // We do the same for the "HIT" button.
         listen = new ActionListener()
              public void actionPerformed(ActionEvent e)
               CardDeck deck = new CardDeck();
               deck.shuffle();
               Hand myHand1 = deck.dealHand(1);
                  Card newCard = myHand1.getCard();
    // I seem to be getting the error right here.
                  Hand myHand = newCard.addCardBackInHand();
                  input1TextField.setText(" " + (myHand) +
                     ("  Dealer's hand has " + myHand.getBlackjackHandValue()));
              hitButton.addActionListener(listen);
         // We do the same for the "END GAME" button.
         listen = new ActionListener()
              public void actionPerformed(ActionEvent e)
               aFrame.dispose();
               System.exit(0);
              endGameButton.addActionListener(listen);
           aFrame.setVisible(true);
    // Class defining a hand of cards and we use the ever so helpful Stack to store the hand.
    import java.util.*;
    // The compiler provides us with a default constructor and creates a hand object, which
    // contains a empty Stack or empty hand. We then add a card object by pushing it into
    // our Stack or hand.
    class Hand
      private Stack hand = new Stack();   // Stores the cards in the hand
      public void add(Card card)
        hand.push(card);
    // This method pulls a single card from the Hand.
      public Card getCard()
        return (Card)hand.pop();
    // This method returns the number of cards that are in the hand.
      public int getCardCount()
        return hand.size();
    // This method pushes the hit card back into the hand for display purposes.
       public Hand addCardBackInHand()
         return (Card)hand.push();
      // We need a way to display our hand so we use the toString() method again to display
      // a string representation of our hand object. Here I found another helpful little
      // item called the Iterator it allows me to deal one card at a time and store it in
      // my Stack hand. We also use a buffered stream because transferring data in a buffer
      // is a lot more efficient because it stores chunks of data in memory before
      // transferring the data to or from an external device.
      public String toString()
        Iterator cards = hand.iterator();
        StringBuffer str = new StringBuffer();
        while(cards.hasNext())
          str.append(" "+ (Card)cards.next());
        return str.toString();
      public int getBlackjackHandValue()
        int val;       // Value of the hand.
        boolean ace;   // This will be set to true if we have an ace in our hand.
        int cards;     // Number of cards in the hand.
    // Here we initalize our variables with a value.
        val = 0;
        ace = false;
        cards = getCardCount();
    // Here we use a for loop to loop thru the cards in the hand and then
    // determine a value for those cards.
        for (int i = 0; i < cards; i++)
          int cardVal;                // The value of the card.
          Card card;
          card = getCard();           // Get a card from the hand.
          cardVal = card.getValue();  // Get the value of the card which should
                                      // be between 1 to 13.
          if (cardVal > 10)
            cardVal = 10;  // This assigns a value of 10 to the face cards
          if (cardVal == 1)
            ace = true;   // We have an ace in our Blackjack hand.
            val = val + cardVal;
    // Since an ace can either be a 1 or 11 in blackjack we have to make
    // allowances for that so, if we have an ace and the value of the hand
    // is less than or equal to 21 we do that by adding an extra 10 points
    // to val.
          if (ace == true && val + 10 <= 21)
             val = val + 10;
          return val;  // the value of our blackjack hand.
    }Thanks...........gee mann

    Its hard to say without seeing the Classes CardDeck and Card... stilll let me guess
         listen = new ActionListener()
    public void actionPerformed(ActionEvent e)
         CardDeck deck = new CardDeck();
         deck.shuffle();
         Hand myHand1 = deck.dealHand(1);
    Card newCard = myHand1.getCard();
    // I seem to be getting the error right here.
    Hand myHand = newCard.addCardBackInHand();Are u sure the method addCardBackInHand() is in the class "Card"... I saw a method by that name in the class Hand.... Am i right?

  • WebI report throwing error when migrated from XIR2 to XI3.1

    I have some webi reports built in BO XIR2 on OLAP universes (SAP BW3.5 based). Recently I have migrated the reports from old XIR2 environment to a new XI3.1 environment.
    The specification of new system is as below:
    BO XI3.1
    SAP BW 3.5
    No SP and FP is installed. (Actually when I tried to install the SP2, it failed)
    After the migration, some of my reports are running for 5 minutes and then throwing an error like below:
    A database error occured. The database error text is: Error in MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details. (WIS 10901).
    The same report is working fine in old system.
    Has anyone faced this problem yet?
    Regards

    Hi Jacques,
    The transports are already imported.
    What I can see is if there is a query with only dimension objects and no measure, then that is throwing error in XI3.1. But the same query is running fine in XIR2.
    Any Idea?
    Thanks and Regards

Maybe you are looking for

  • Can't create loops in Logic 8.  This *****.

    What is wrong with apple loops utility. I load an audio file in it and when I press save, it then says that "the file could not be saved. check the destination disk's available space and try again or choose a different location." It however shows whe

  • Can you add a Print Button to one page?

    I have a form with 15 or so pages of information.  I do not want the submitter to get a printout of the entire thing.  However, they are given a chance to pay via PayPal or pay by mailing a check. If they chose PayPal, no big deal.  If they chose to

  • Hide rows in Pivot table Calculated Items in OBIEE 11g

    Hi All, I have requirement to show values in Pivot table such that values are divided into two sub totals and also shown in Grand Total. For Sub Total 1, all the rows can be shown with Sub total value. But for Sub Total 2, only Total value is to be s

  • View sizing in InDesign CS6

    Just downloaded and started using InDesign 6 (8.01) on mac (OS10.7.5) and found that cmd-1/ same size view actually appears on screen at around 200%. All fine in InDesign 5 and Photoshop and Illustrator CS6. Any ideas anyone?

  • 5.1 audio with Netflix?

    I have updated my ATV2 with the latest firmware, but I am not getting Netflix streaming in 5.1 like the update was supposed to provide. I am trying to find a movie that supports it, but have been unable to. I assume this is only for HD content. Any i