Webutil - client_get_file_name - java-exception
Hello
i'm using Forms 9.0.4 with webutil 1.0.5.
when i open a file-dialog with
client_get_file_name ( 'c:\temp', null, '(JPEG-Files)|*.jpg|(All Files)|*.*', 'my headline', open_file, true );The java-Console have the following output:
java.lang.StringIndexOutOfBoundsException: String index out of range: 40
at org.apache.regexp.StringCharacterIterator.charAt(StringCharacterIterator.java:90)
at org.apache.regexp.RE.matchNodes(RE.java:1161)
at org.apache.regexp.RE.matchNodes(RE.java:1376) 20 times or more
at org.apache.regexp.RE.matchAt(RE.java:1448)
at org.apache.regexp.RE.match(RE.java:1498)
at org.apache.regexp.RE.match(RE.java:1468)
at org.apache.regexp.RE.match(RE.java:1561)
at oracle.forms.webutil.file.WebUtilFileFilter.accept(WebUtilFileFilter.java:131)
at javax.swing.JFileChooser.accept(Unknown Source)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source)any ideas?
thanks in advance!
thanks Andreas!
first i thought your right, but still i get this exception, even with the trailing |.
it does not happen if the opened directory is empty or there are just a few files.
and: i find out, that it does not happen, when i put (All Files)|*.*| in front, so the file-filter is not activ.
like this:
client_get_file_name ( 'c:\temp', null, '(All Files)|*.*|(JPEG-Files)|*.jpg|', 'my headline', open_file, true );if i activate the file-filter manually with opened dialog box the exception is not shown.
Similar Messages
-
Using Webutil(CLIENT_GET_FILE_NAME) without result
Hi all,
I used Webutil(CLIENT_GET_FILE_NAME function) in developement platform(IDS) on WINDOWS and it worked fine.Now i'm migatring on IAS/LINUX, the same feature don't produce any result and any error occurs.Here's messages i receive in Jinitiator consol when a load and exit the form module:
2004-oct.-25 10:41:08.734 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.734 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.734 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.750 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.750 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.750 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.750 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:08.750 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
2004-oct.-25 10:41:33.906 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
2004-oct.-25 10:41:33.921 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
2004-oct.-25 10:41:33.921 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
2004-oct.-25 10:41:33.921 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
2004-oct.-25 10:41:33.921 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
2004-oct.-25 10:41:33.921 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
2004-oct.-25 10:41:33.921 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
2004-oct.-25 10:41:34.140 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
Plz what can i do to make this webutil feature(CLIENT_GET_FILE_NAME) available on IAS/LINUX.
plz help!
TYAG.Grant,
thanks for getting back.
It is actually a conversion from forms6. The call is in a library procedure rather than in the form.
The original call is:
v_filename := client_get_file_name(v_photodir, NULL, v_ff, NULL, OPEN_FILE, TRUE);
I have also tried: v_filename := client_GET_FILE_NAME(File_Filter=> v_ff);
The webutil log stops at the point of open file and the java exception appears on the console.
Webutil log:
192.168.100.111:mvisser: 2004-Feb-26 10:51:57.812 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
192.168.100.111:mvisser: 2004-Feb-26 10:51:58.187 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
192.168.100.111:mvisser: 2004-Feb-26 10:51:58.203 WUT[loadSettings()] Local properties file loaded
192.168.100.111:mvisser: 2004-Feb-26 10:51:58.406 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
192.168.100.111:mvisser: 2004-Feb-26 10:51:58.703 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
192.168.100.111:mvisser: 2004-Feb-26 10:51:58.890 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
192.168.100.111:mvisser: 2004-Feb-26 10:51:59.281 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
192.168.100.111:mvisser: 2004-Feb-26 11:01:59.609 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to false
192.168.100.111:mvisser: 2004-Feb-26 11:01:59.921 WUF[setProperty()] Setting property WUF_FILENAME to false
192.168.100.111:mvisser: 2004-Feb-26 11:01:59.921 WUF[setProperty()] Setting property WUF_FILTER to ;*.bmp;*.jpeg;*.tiff;*.jpg
192.168.100.111:mvisser: 2004-Feb-26 11:02:00.312 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to false
192.168.100.111:mvisser: 2004-Feb-26 11:02:01.140 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
192.168.100.111:mvisser: 2004-Feb-26 11:02:01.140 WUF[getProperty()] Getting property WUF_GFN_OPENFILE -
Webutil client_get_file_name ignoring directory parameter
I am trying to use the Webutility client_get_file_name and evrything is working correctly except the directory setting. I would expect the look in directory would be c:\temp in the following code when the dialog comes up;
v_filename := client_get_file_name('C:\temp',nul,null,'Select SOFSRP file for upload',OPEN_FILE,TRUE);
But to my surprise the look in directory is "c:\my documents". No matter what I put in I get the same starting directory. I have verified the directories exist and I have admin rights on this client so permissions should not be an issue. I have even tried using other similar webutil functions like file_open_dialog or file_selection_dialog and they all behave the same. I really need to have the open dialog start in a defined directory passed to the utility. Thanks in advance.
P.S. I am using forms 10.1.2.0.2 with matching webutil version 10.1.2.0.10.1.2.3 is a patch which is installed on top of 10.1.2.0. Patch sets are only available for customers with current Support Contracts and access to My Oracle Support (support.oracle.com). Be sure to become familiar with the usage license:
http://www.oracle.com/technology/software/popup-license/standard-license.html
If you have a current support contract and access to MOS, here is the information needed to obtain the patch:
+10.1.2.3 (released March 2008) Same patch for both iAS and iDS+
Patch ID 5983622 -
Java Exception & error loading fmrweb.res
I have installed Oracle9i Database and oracle 9i Forms on windows XP.
When i try to run a form i get a java Exception
MessageManager: key VERSION bundle oracle.forms.engine.RunformBundle exception java.lang.IllegalArgumentException: unknown format type at
At the same time i get an error while opening the fmrweb.res file.
I have seen some solutions to this problem, but I'm not sure i fully understand them. I hope somebody could help me.What is the error message, this looks like normal informational messages
I have signed it sucessfully..Now i am getting the
following in the java console
Oracle JInitiator: Version 1.3.1.9
Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
User home directory = C:\Documents and
Settings\Aruns
Proxy Configuration: Manual Configuration
Proxy: proxy1.emirates.net.ae:8080
Proxy Overrides: 172.16.*,<local>
JAR cache enabled
Location: C:\Documents and Settings\Aruns\Oracle
racle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading
http://hpc266:8888/forms90/java/f90all_jinit.jar from
JAR cache
Cached copy of
http://hpc266:8888/forms90/java/webutil.jar is out of
date
Cached copy: Jul 4, 2005 8:50:04 AM
Server copy: Jul 4, 2005 8:52:15 AM
Downloading
http://hpc266:8888/forms90/java/webutil.jar to JAR
cache
Cached copy of
http://hpc266:8888/forms90/java/jacob.jar is out of
date
Cached copy: Jul 4, 2005 8:50:16 AM
Server copy: Jul 4, 2005 8:51:59 AM
Downloading http://hpc266:8888/forms90/java/jacob.jar
to JAR cache
connectMode=HTTP, native.
Forms Applet version is : 90270
Can anybody pls help me in this issue -
Java Exception in Main/Menu/Reporting Tools/XML Publisher/Report Definition
Hi ,
One know this error :
Java Exception: java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build(Ljava/io/InputStream;Ljava/net/URL;)Loracle/xml/parser/schema/XMLSchema;: during call of com.peoplesoft.pt.xmlpublisher.PSXPXsdUtils.getLevel0ColNames. (2,763) PSXPRPTDEFN_WRK.FUNCLIB.FieldFormula Name:GetBurstFieldValues PCPC:3211 Statement:48
Called from:PSXPRPTDEFN_WRK.FUNCLIB.FieldFormula Name:SetBurstFieldValues Statement:81
Called from:PSXPRPTDEFN_WRK.FUNCLIB.FieldFormula Name:LoadReportDefn Statement:660
Called from:PSXPRPTDEFN_WRK.FUNCLIB.FieldFormula Name:SelectReportDefn Statement:744
Called from:PSXPRPTDEFN.GBL.PostBuild Statement:36 The noted Java error was thrown during a call of the given method.
It's if i Add a New Value in the report definition (Peoplesoft 8.5 , CRM ) : No customization in this
Thanks in advance..Judging by the error, it looks like the xsd can not be constructed.
I would start of by checking if the target location is defined in the Intergration Broker.
PeopleBooks > PeopleTools 8.52: PeopleSoft Integration Broker Administration > Configuring PeopleSoft Integration Broker for Handling Services > Using the Target Locations Page to Set Target Locations for Services
http://docs.oracle.com/cd/E28394_01/pt852pbh1/eng/psbooks/tiba/book.htm?File=tiba/htm/tiba08.htm#H3007 -
"ORA-29532: Java call terminated by uncaught Java exception
Dear Oracle:
I am trying to establish an HTTPS connection from a Java stored
procedure that is wrapped in a PL/SQL procedure and loaded into a
Package. We are running on Oracle 8.1.7.
My Java code compiles and runs fine when run stand-alone outside
Oracle; I can establish the connection to a secure server and talk to
the server. However when I load this Java class (using the loadjava
utility) this class can no longer run and I get a the following
exception:
"ORA-29532: Java call terminated by uncaught Java exception:
javax.net.ssl.SSLException: SSL handshake failed:
X509CertChainIncompleteErr"
I have tried loading the JSSE from Sun and I still get the same error.
Searching in the Discussing Forums I found the following link (which
describes a procedure that logs into the UPS secure server site and
grabs some XML) http://osi.oracle.com/~mbpierma/SSL_Java_DB.html .
This code works ok if we try to connect to UPS server. However this
code doesn't work if we try to log in to a different server (such as
???). If I modify this code slightly and try to log to any other
sever server I get the same error as the one above. Investigation
lead us to understand that the certificate at the UPS web site is a
self-signed certificate -- not one generated by a major 'recognized'
authority such as Verisign or Thawte.
Further research pointed me to the following URL
http://www.znow.com/sales/oracle/network.816/a76932/appf_ora.htm#619367
This URL has the documentation for JAVA SSL for 8.1.6 which I figure
I could read and try to make it work in 8.1.7.
I looked at your Secure Hello World example, however the code is
missing the most critical parts of the whole example, it does not
specify where the certificate or any of the security settings come
from (see the attached JavaCertExample.txt file).
So, my questions are the following:
1) What should I do to avoid the error mentioned above?
2) Do you have a sample piece of code that describes how to make a
HTTPS connection using a Java stored procedure?
3) Can I make the HTTPS connection using a URL class and not using
sockets directly?
4) Do I need to load the JSEE provided by Sun?
5) Will the solution be different for Oracle 9i?
// SecureHelloClient.java
import java.net.*;
import java.io.*;
import java.util.*;
import javax.net.ssl.*;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import oracle.security.ssl.OracleSSLSocketFactory;
import oracle.security.ssl.OracleSSLProtocolVersion;
import oracle.security.ssl.OracleSSLSession;
public class SecureHelloClient
public static void main(String argv[])
String hostName = "localhost";
if(argv.length != 0)
String hostName = argv[0];
// Set the SSLSocketFactoryImpl class as follows:
java.util.Properties prop = System.getProperties();
prop.put("SSLSocketFactoryImplClass",
"oracle.security.ssl.OracleSSLSocketFactoryImpl");
try
// Get the default socket factory
OracleSSLSocketFactory sSocFactory
= (OracleSSLSocketFactory)SSLSocketFactory.getDefault();
sSocFactory.setSSLProtocolVersion(OracleSSLProtocolVersion.SSL_Version_3_0);
OracleSSLCredential sslCredObj = new OracleSSLCredential();
// Where did these values come from? caCert, userCert, trustedCert,
// Set the certificate chain and private key if the
// server requires client authentication
sslCredObj.addCertChain(caCert)
sslCredObj.addCertchain(userCert)
sslCredObj.setPrivateKey(userPvtKey, userPassword)
// Populate credential object
sslCredObj.addTrustedCert(trustedCert);
sSocFactory.setSSLCredentials(sslCredObj);
// Create the socket using factory
SSLSocket jsslSoc =
(SSLSocket)sSocFactory.createSocket(hostName, 8443);
String [] ciphers = jsslSoc.getSupportedCipherSuites() ;
// Select the ciphers you want and put them.
// Here we will put all availabel ciphers
jsslSoc.setEnabledCipherSuites(ciphers);
// We are creating socket in client mode
jsslSoc.setUseClientMode(true);
// Do SSL handshake
jsslSoc.startHandshake();
// Print negotiated cipher
System.out.println("Negotiated Cipher Suite: "
+jsslSoc.getSession().getCipherSuite());
System.out.println("");
X509Certificate[] peerCerts
= ((javax.net.ssl.SSLSocket)jsslSoc).getSession().getPeerCertificateChain();
if (peerCerts != null)
System.out.println("Printing server information:");
for(int i =0; i ? peerCerts.length; i++)
System.out.println("Peer Certificate ["+i+"] Information:");
System.out.println("- Subject: " + peerCerts.getSubjectDN().getName());
System.out.println("- Issuer: " + peerCerts[i].getIssuerDN().getName());
System.out.println("- Version: " + peerCerts[i].getVersion());
System.out.println("- Start Time: " + peerCerts[i].getNotBefore().toString());
System.out.println("- End Time: " + peerCerts[i].getNotAfter().toString());
System.out.println("- Signature Algorithm: " + peerCerts[i].getSigAlgName());
System.out.println("- Serial Number: " + peerCerts[i].getSerialNumber());
else
System.out.println("Failed to get peer certificates");
// Now do data exchange with client
OutputStream out = jsslSoc.getOutputStream();
InputStream in = jsslSoc.getInputStream();
String inputLine, outputLine;
byte [] msg = new byte[1024];
outputLine = "HELLO";
out.write(outputLine.getBytes());
int readLen = in.read(msg, 0, msg.length);
if(readLen > 0)
inputLine = new String(msg, 0, readLen);
System.out.println("");
System.out.println("Server Message:");
System.out.println(inputLine );
else
System.out.println("Can't read data from client");
// Close all sockets and streams
out.close();
in.close();
jsslSoc.close();
catch(SSLException e)
System.out.println("SSL exception caught:");
e.printStackTrace();
catch(IOException e)
System.out.println("IO exception caught:");
e.printStackTrace();
catch(Exception e)
System.out.println("Exception caught:");
e.printStackTrace();Hi,
I have the same problem.
Is some ORACLE guru that can help us ?
We need to communicate with some servlet
via POST method of https (SSL3)
and with using private certificate on the client site.
We need furthermore allow using of some proxy.
Client site is realized as set of stored procedures within ORACLE 8.1.7
In this time I am able to communicate with server without SSL and certificate
using package utl_tcp
(but with this solution without certificate is our customer not satisfied -:))
ORACLE help us please !
Pavel Pospisil
[email protected] -
Uncaught Java Exception while persisting the null bean at e-biz suite login
Dear Friends,
Recently, there was a java upgrade in my system and after that when i login to E-Biz suite, i get the following Jinitiator error and many Jinitiator windows open up with this error.
Uncaught Java Exception while persisting the null bean
Java.io.NotSerializableException:java.lang.thread
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at.java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:369)
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at sun.beans.ole.OleBeanInterface.saveBean(OleBeanInterface.java.508)It is very difficult to deal with many jinitiator error windows opening up.
Could any one tell the reason for this issue and its resolution as well?
Regards,
Sreekanth
Edited by: Sreekanth Munagala on Jun 14, 2012 8:49 AM
Edited by: Sreekanth Munagala on Jun 14, 2012 8:51 AMPlease post the details of the application release, database version and OS.
Recently, there was a java upgrade in my system What is this upgrade? From what version to what version?
What is your client OS/Browser?
What is the Jinitiator version?
and after that when i login to E-Biz suite, i get the following Jinitiator error and many Jinitiator windows open up with this error.
Uncaught Java Exception while persisting the null bean
Java.io.NotSerializableException:java.lang.thread
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at.java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:369)
at.java.io.ObjectOutputStream.outputObject(Compiled Code)
at.java.io.ObjectOutputStream.writeObject(Compiled Code)
at sun.beans.ole.OleBeanInterface.saveBean(OleBeanInterface.java.508)It is very difficult to deal with many jinitiator error windows opening up.
Could any one tell the reason for this issue and its resolution as well?Is the issue with all clients and all browsers?
Have you tried to clear the jcache and the browser history files?
Thanks,
Hussein -
Is there a way to handle custom java exception in OSB?
For example, i created a exception that extends RuntimeException.
My exception has a new field called "code".
I want to handle this exception in Oracle Service Bus process and retrieve this code to throws another exception with a XML structure that includes the code.
Is there a way to do that ?
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382515</con:errorCode>
<con:reason>Callout to java method "public static org.apache.xmlbeans.XmlObject ...</con:reason>
<con:java-exception xmlns:con="http://www.bea.com/wli/sb/context">
<con:java-content ref="jcid:33a6c126:14006f3df18:-7fd9"/>
</con:java-exception>
<con:location xmlns:con="http://www.bea.com/wli/sb/context">
<con:node>optmusPipeline</con:node>
<con:pipeline>optmusPipeline_request</con:pipeline>
<con:stage>processStage</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
it is not enough to recover the information i needed.Hi Sandro,
I've got the same situation. I agree that returning xml from function is not a best choice as you have to manually check if return status is an error or not. Processing exception in error handler is better and this is how I do it:
I am doing a java callout to a function that can throw exception. Then I add ErrorHandler to stage containing this callout (all the exception are caught here).
In the error handler I check if $fault/ctx:java-exception is not null. If not then I pass thrown exception to my utility function that converts it to xml similar to yours:
import org.apache.xmlbeans.XmlException;
import org.apache.xmlbeans.XmlObject;
public static XmlObject exceptionToXML(Throwable exception)
throws XmlException {
String xmlString = exceptionToString(exception);
return XmlObject.Factory.parse(xmlString);
public static String exceptionToString(Throwable exception) {
String cause = "";
if (exception.getCause() != null) {
cause = exceptionToString(exception.getCause());
return String
.format("<exception><name>%s</name><description>%s</description>%s</exception>",
exception.getClass().getName(), exception.getMessage(),
cause);
Calling exceptionToXML with $fault/ctx:java-exception/ctx:java-content returns:
<exception>
<name>pl.app.MyException</name>
<description>Exception message</description>
</exception>
Then you can check the exception class (IF action: $exception/name/text() = "pl.app.MyException") and handle it accordingly.
Good luck,
Krzysiek -
Does wscompile generate "fault" tag in WSDL file from Java exception class?
I'm trying to generate WSDL files from Java classes. I defined some of my own exception that inherits from "RemoteException", but wscompile doesn't generate the corresponding complex type and "fault" tag. Does anyone know if this is a bug or wscompile doesn't support from Java Exception to fault?
ThanksIt will if the exceptions do not inherit from RemoteException.
-
FRM-92100 Java Exception (jacob)
I'm using Jacob to load specific parts of Office documents into an Oracle database. This works successfully in 99.9% of cases although some users experience intermittent problems which can't be pinned down to a particilar office document and appear to be totally random. The error message indicates that the exception occurs when trying to close the Word session down.
The error message is as follows:
FRM-92100: Your connection to the Server was interrupted.
Details:
Java Exception:
com.jacob.com.ComFailException: A COM exception has been encountered:
At invoke of: Quit
Description: Not enough storage is available to complete this operation.
I have seen several references to the 92100 catch all error code but none that tie in with this description.
Could anyone point me in the right direction as to what's causing this error? My first assumption would be the RAM available on the users PC at time of transfer but can't pin this down.
Many thanks.I think that fix for bug 5375851 has resolved the problem mentioned and hence this shall be of help.
Thanks,
Message was edited by:
user482823 -
Hi,
I have a requirement of calling BI webservices from Plsql stored procedure. I generated all my wsdl java classes and loaded them into the database. However, when I tried to call one of my java class using stored procedure, it is giving me"ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError".
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
But all my dependency classes are present in database as java class objects and are valid. Can some one help me out of this?Stiphane,
You can look in USER_ERRORS to see if there's anything more specific reported by the compiler. But, it could also be the case that everything's OK (oddly enough). I loaded the JavaMail API in an 8.1.6 database and also got bytecode verifier errors, but it ran fine. Here are the errors I got when loading Sun's activation.jar, which ended up not being a problem:
ORA-29552: verification warning: at offset 12 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):12 by a throw at offset 18 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):18 by a throw at offset 30 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):30 by a throw
Hope this helps,
-Dan
http://www.compuware.com/products/devpartner/db/oracle_debug.htm
Debug PL/SQL and Java in the Oracle Database -
Java Exception: java.lang.NoSuchMethodError -while accessing Job Code Table
Recently we upgraded tools from 8.51.03 to 8.52.12
when try to open data from below navigation.
Set Up HRMS--> Foundation Tables--> Job Attributes---> Job Code Table
then getting below error. Seriously doubt if a jar file is missing in PS_APP_HOME/class. Any clue?
Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763) HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:getJavaObject PCPC:1099 Statement:19
Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindJavaObject Statement:177
Called from:HCMD_CORE.metadata.ObjectCatalog.OnExecute Name:FindObject Statement:212
Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:GetRecordField Statement:67
Called from:WCS_SOURCE.Implementation.EmployeeInformationImpl.OnExecute Name:CreateCache Statement:26
Called from:WCS_SOURCE.Impleme
The noted Java error was thrown during a call of the given method.
Error Codes
Java Exception: java.lang.NoSuchMethodError: PeopleSoft.PeopleCode.Func.CreateSQL(Ljava/lang/String;[Ljava/lang/Object;)LPeopleSoft/PeopleCode/SQL;: during call of com.peoplesoft.hr.hr.cache.MetaCatalog.getObjectCatalog. (2,763)
Problem Category/SubcategoryNot sure about 8.52, but in 8.51, I found the PeopleSoft.PeopleCode.Func class in PS_HOME/appserv/classes/peoplecode.jar, and CLASSPATH gets set to PS_HOME/appserv/classes by psconfig.sh
Not an answer, but it might give you some ideas on where to look.
Regards,
Bob -
SMC on solaris 10 x86 - toolbox java exception
Just installed (for the first time) solaris, to test it on a x86, had some difficulties with the NIC (realtek), but now seems ok.
But I can't start sun managemnt console, keep getting the same error: can't open toolbox, and gives me a java exception.
installed both jre 1.4.2 and jre 1.5.0.
the exception is
java.net.MalformedURLException: no protocol:
any idea on the problem?
Thank you in advance
StefanoThanks for your help.
Yes, the browser starts, tells me to wait for the toolbox to load, and then stops.
When i go to the message log there are always two error "toolbox not loaded" and the exception...
I've just started with solaris, and I've no other machine to try to connect...
I' ve tought of something about connection, even because of the problem with the card, but everithing else seems ok.
How can I check for this?
Thanks again.
Stefano. -
Error: ORA-29532: Java call terminated by uncaught Java exception:
Anyone have this similar problem of
ORA-29532: Java call terminated by uncaught Java exception:
javax.xml.rpc.soap.SOAPFaultException: Caught exception while handling request:
deserialization error: XML reader error: unexpected character content:
"A"
The service is running fine in a browser and returns the date. When I run it using the PL/SQL it has the error mentioned above.
I am running the following:
CREATE OR REPLACE FUNCTION GetDate_wb( p_dummy IN VARCHAR2 )
RETURN DATE
AS
l_service sys.UTL_DBWS.service;
l_call sys.UTL_DBWS.call;
l_result ANYDATA;
l_wsdl_url VARCHAR2(1024);
l_service_name VARCHAR2(200);
l_operation_name VARCHAR2(200);
l_input_params sys.UTL_DBWS.anydata_list;
l_port sys.UTL_DBWS.qname := 8988;
BEGIN
l_wsdl_url := 'http://org-lblakisa1:8988/BPEL_OD-LoginWS-context-root/getDate1SoapHttpPort?WSDL';
l_service_name := 'getDate1';
l_operation_name := 'getDate';
l_service := sys.UTL_DBWS.create_service (
wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
service_name => l_service_name);
l_call := sys.UTL_DBWS.create_call (
service_handle => l_service,
port_name => NULL,
operation_name => l_operation_name);
l_input_params(1) := ANYDATA.ConvertVarchar2(p_dummy);
l_result := sys.UTL_DBWS.invoke (
call_handle => l_call,
input_params => l_input_params);
sys.UTL_DBWS.release_call (call_handle => l_call);
sys.UTL_DBWS.release_service (service_handle => l_service);
RETURN ANYDATA.AccessDate(l_result);
END;
/Problem is resolved... We had a version issue in that 10.1.3 web service is not compatible. 10.1.2 worked.
-
LSOCP 200 Content Player Java Exception
Dear Collegues,
I am encountering an issue with the LSOCP 200.
Our client's infrastructure as follows:
SAP R/3 Enterprise 4.7 Ext 2.00
LSO 200 0029 SAPK-200PTINLSO LSO 200 (Learning Solution - Back End) I
LSOFE 200 0027 SAPK-200PRINLSOFE LSOFE 200 (Learning Solution - Front End
SAP EP 6.0
I have done all the required configuration in R/3 by pointing to the content server and pointing to the Content Player in the respective IMG Tasks.
Now, when I log on as a learner and attempt to start a course, I receive a Java Exception:
*Errors occurred
Incomplete or incorrect data:
com.sap.hcm.ls.lms.servlets.exceptions.InvalidArgumentException course update failed :
at com.sap.hcm.ls.lms.servlets.control.CourseUpdater.update(CourseUpdater.java:78)
at com.sap.hcm.ls.lms.servlets.control.EventDispatcher.updateModels(EventDispatcher.java:116)
at com.sap.hcm.ls.lms.servlets.control.RequestProcessor.doProcess(RequestProcessor.java:98)
at com.sap.hcm.ls.lms.servlets.control.RequestProcessor.process(RequestProcessor.java:83)
at com.sap.hcm.ls.lms.servlets.control.Mediator.processRequest(Mediator.java:221)
at com.sap.hcm.ls.lms.servlets.control.Mediator.doGet(Mediator.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
CAUSED BY: com.sap.hcm.ls.lms.courseengine.EngineException: failed to get macrostrategy with token=
at com.sap.hcm.ls.lms.courseengine.steamengine.SteamEngine.getSteamMacroStrategyByToken(SteamEngine.java:180)
at com.sap.hcm.ls.lms.courseengine.steamengine.SteamCourse.(SteamCourse.java:108)
at com.sap.hcm.ls.lms.courseengine.steamengine.SteamEngine.loadCourse(SteamEngine.java:303)
at com.sap.hcm.ls.lms.courseengine.steamengine.SteamEngine.loadCourse(SteamEngine.java:313)
at com.sap.hcm.ls.lms.data.session.SessionFacade.loadCourse(SessionFacade.java:587)
at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.loadCourseFromPath(CourseStateUpdater.java:354)
at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.loadCourse(CourseStateUpdater.java:176)
at com.sap.hcm.ls.lms.data.session.CourseStateUpdater.update(CourseStateUpdater.java:120)
at com.sap.hcm.ls.lms.servlets.control.CourseUpdater.update(CourseUpdater.java:74)*
The content plays on the local Content player on the desktop but the moment I attempt to play content with the server content player, this is what i get.
Could you please let me know if you have come across this problem.
Thanks and regards,
Ronald MeyerHi Abhiram,
Please get in the IMG
Training and Event Management -> SAP Learning Solution -> Learning Portal -> Select Learning Strategies
Here you need to update your strategies defined.
Regards,
Jorge
Maybe you are looking for
-
Dynamic Credentials with Webservice
I'm developing a web service and need to establish a database connection based on a heavyweight user in the database. (Please...no discussion on that design...it is what it is at least for now.) So far I've created a class defining the service method
-
Hi All, Does anyone know why you can't declare static methods in an interface? Is there a way round this problem? Cheers...
-
IPod Touch for my boys @ xmas
Hi I bought my son's iPod touches for xmas and want them to have there own apple ID but i want to control the spending when they buy music, apps etc - problem is the boys are 10, 9 & 5, so ineligible! I have created there own email address via live.c
-
Google chrome crash after 10.8.3 update
After install 10.8.3. update various apps crashes, like google chrome, teamviewer, adobe flash, skype, utorrent. The native OS X apps works normally. this is the error report: Process: Google Chrome [423] Path: /Applications/Google
-
Hello friends, How to maintain condition origin at "A" i.e. Automatic pricing instead of "C" i.e. manually entered, which is default setting on item condition detail screen. I want the conditions to be displayed automatically at the time of creating