JAVA error : java.lang.NegativeArraySizeException

Hello Experts,
We have a JAVA application which runs the below query. The application is scheduled to run as a job once every month. We notice that when the application runs for the 1st time, then we get the below error :
**************Failed to execute SQL: select tablespace_name, total_mb, used_mb, pct_used, free_mb, recycle_mb, extendible_mb from all_mspace where tablespace_name in ('ORAUSER') order by tablespace_name
Caused by: java.lang.NegativeArraySizeException
at oracle.net.ano.CryptoDataPacket.decryptAndChecksum(CryptoDataPacket)
at oracle.net.ano.CryptoDataPacket.receive(CryptoDataPacket)
at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.net.ns.NetInputStream.read(Unknown Source)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:970)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:940)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:431)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:180)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:419)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:451)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2887)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2928)
at #####################.exec(Tablespaces.java:78)
... 4 more
However, the second run of the job is successful.Could you please help on this issue.
Sorry but I cannot tell you the lines mentioned as ####### and *******  due to confidentiality.
Thanks,
Haider

We have a JAVA application which runs the below query. The application is scheduled to run as a job once every month. We notice that when the application runs for the 1st time, then we get the below error :
**************Failed to execute SQL: select tablespace_name, total_mb, used_mb, pct_used, free_mb, recycle_mb, extendible_mb from all_mspace where tablespace_name in ('ORAUSER') order by tablespace_name
Sorry but I cannot tell you the lines mentioned as ####### and *******  due to confidentiality.
Sorry - but if you won't post the info needed to help you then you won't get any help.
You haven't posted ANY info about the Java version, JDBC jar version, databse name and version, Nor have you posted ANY of the Java code involved in creating the connection or executing the JDBC code.
And the query you did post is either wrong or uses a custom table/view named 'all_mspace'.
All of the above means we can't try to reproduce the problem or even SEE the line of code that might be causing the problem.
It also means we can't even guess what else your application might be doing BEFORE the problem part of the code executes or  WHERE the problem might be. I have no reason to think the problem is in the driver or, as the other responder's link mentions, that you are even using a connection pool.
No one expects people to post confidential info. You need to create the SMALLEST section of code that reproduces the problem and then post that. You need to do that just for your own troubleshooting purposes: remove ALL unnecessary code, and keep removing stuff, until the problem goes away or you get down to a small section of code. Then you can begin troubleshooting.
Good luck with your problem.

Similar Messages

  • Crystal Reports 2013 java-error "java.lang.ClassCastException: class com.crystaldecisions..." when promoting

    Hi,
    when promoting "Crystal Report 2013" report (with data connectivity BW MDX Query) from BO DEV to BO PROD with BO Promotion Mgmt (LCM), we get the following error message in LCM jobs history:
    Resolution Status=Overwritten, Dependency Status=All the required dependencies are included.,
    Commit Status=Commit attempted and failed.,
    Promotion Status=Failure : Object promoted. Update failed.
    Error: java.lang.ClassCastException: class com.crystaldecisions.sdk.occa.report.lib.ByteArray:java.net.URLClassLoader@1d634758 incompatible
    with class com.crystaldecisions.sdk.occa.report.lib.PropertyBag:java.net.URLClassLoader@1d634758
    The report itself is present on BO PROD, but the overwrite (BW DEV MDX Query-> BW PROD MDX Query) is not applied, so report connectivity still points to the BW Query on the development system :-( .
    Moreover, the overwrite itself is detected when the job is "test promoted" ("active overwrite").
    Before, we successfully were able to transport crystal reports 2013 with overwrite (the connection then pointed to BW PROD). No idea yet what suddenly changed that...
    Any ideas what causes the error and what can fix it (no posts found, no SAP note, google also no hits)?
    Best regards
    Florian Pitschi

    Update:
    After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
    from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
    Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
    We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
    Best Regards
    Florian

  • Java error - java.lang.NoClassDefFoundError: apple/laf/CoreUIControl

    I'm doing Java development on the recently released 10.7. Everything's working fine until I try to run a Java command-line program that makes use of Swing facilities internally. The command-line program uses JasperReports and JasperReports is attempting to make Swing calls. When it does, it tries to load the Apple Look-and-Feel classes (apple/laf/CoreUIControl) and failing. It might be due to a failed security check (the error occurs immediately after one) but I'm not certain.
    For the moment I'm working around this by adding -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel to the command line when I start the program. Since it never actually displays a GUI, using Metal as a L&F isn't a big deal, but having to add the parameter is.
    Anyone have any suggestions that can permanently fix this?

    Are you actually using Leopard (v10.5)? If so, you're in the wrong forum. I don't know what causes your problem, but it might be related to the Java version you're using. See
    <http://support.apple.com/kb/HT4592>

  • KM Content Java Error

    We migrated from EP6 SP2 P27 to NW04 SP9 and upgraded to SPS 12.  When we go to Content Admin --> KM Content, we get a java error: java.lang.NullPointerException at com.sapportals.wcm.repository.manager.taxonomy.TaxonomyRepositoryManager.getSupportedOptions(TaxonomyRepositoryManager.java:239)
    The previous EP6 had indexes and TREX; however, TREX indexes are not migrated and they did not have Taxonomies.  But for some reason the error has to do with repository manager. 
    We have this in escalation, but support is not available until tomorrow and the customer needs to go live ASAP. 
    Anyone have ideas of how to rectify this error.  We have OSS Note 2009277 for reference.
    Leland

    Hi
    redploying par com.sapportals.wcm.repository.manager.taxonomy.TaxonomyRepositoryManager and then again cleaning it and redploying it through pcd browser can help and do a search for the par file com.sapportals.wcm.repository.manager.taxonomy.TaxonomyRepositoryManager in usr directory and then redploy.
    With regards
    subrato kundu

  • Java error while openning forms60

    hi everybody
    i got a java error "java.lang.noclassdeffounderror" while trying to open my static web page using the internet explorer v4, i'm using OAS 4.0.8.1 and oracle developer server ver 6.0.5 installed on one machine called my_app_server , my oracle 8I 8.1.0 is installed on another server.
    we are using winnt4.0 with sp6 as ower operating system on both servers.
    my web page source code is as follow
    <HTML>
    <!-- FILE: static.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Rename and modify tags and parameter values as needed -->
    <HEAD><TITLE>Oracle Developer for the Web</TITLE></HEAD>
    <BODY><BR>Please wait while the Forms Client class files download and run.
    <BR>This will take a second or two...
    <P>
    <!-- applet definition (start) -->
    <APPLET CODEBASE="/web_code/"
    CODE="oracle.forms.engine.Main"
    ARCHIVE="http://my_app_server/f60all.jar"
    HEIGHT=20
    WIDTH=20>
    <PARAM NAME="serverPort"
    VALUE="9000">
    <PARAM NAME="serverArgs"
    VALUE="module=start60.fmx userid=system/my_password@test">
    <PARAM NAME="serverApp"
    VALUE="default">
    </APPLET>
    <!-- applet definition (end) -->
    </BODY>
    </HTML>
    note1 : i can make connection to my database from the same machine which is running my OAS & developer server (my_app_server) using my connect string (test) which is defined in tnsnames.ora file on the database server and also on the server (my_app_server).
    note2 : i have set all the registry setting and define all my virtual pathes for the OAS as listed on the instructions for installing and running the demo comming with the oracle developer server.
    note3 : when running this web using netscape navigator 4.05 i got another diffrent message as follow :
    "applet oracle.forms.engine.main can't start: class oracle/forms/engine/main got a security violation: method verification error"
    please i need your help.
    thank you in advance
    moh_gaber
    [email protected]
    null

    Hi Hussein,
    problem is solved. It was due to a profile option with bad values.
    Thanks anyway.
    Regards,
    Jose L.
    Edited by: Jose Luis FM on Sep 8, 2008 12:12 PM

  • Java.lang.NegativeArraySizeException ERROR, Help!!!!

    Hi,
    I am running the following line of code and it is generating an error, I am not sure what is causing this error. ANy thoughts or pointers???
    Command:
    C:\Users\Sheetal\marcxml\marc4j>java org.marc4j.util.MarcXmlWriter summerland.xml
    Error
    java.lang.NegativeArraySizeException
    at org.marc4j.MarcReader.parse(Unknown Source)
    at org.marc4j.marcxml.MarcXmlReader.parse(Unknown Source)
    at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Unknow
    n Source)
    at org.marc4j.marcxml.Converter.convert(Unknown Source)
    at org.marc4j.marcxml.Converter.convert(Unknown Source)
    at org.marc4j.util.MarcXmlWriter.main(Unknown Source)
    Total time: 61 miliseconds
    thanks
    sheetal

    The xml document is probably malformed and it exposes a bug in MarcReader (bad error handling)
    Kaj

  • Java.lang.NegativeArraySizeException in comm.channel

    Hello,
    have this error in RWB for comm.channel for file adapter.
    java.lang.NegativeArraySizeException
    We don´t have something special in the adapter of the comm.channel.
    This is the source directory: $DATA1.SSBWSLS
    Any idea where this comes from?
    Best regards
    Dirk

    Hi Michal,
    last entry in trace is from 10th, this error came up yesterday!
    We moved to SP14 on 24th!
    So I think this is my way to OSS!
    Thanks for remembering me to the Vis Admin!
    Best regards
    Dirk
    Beg your pardon for not giving any points. The function disappeared from my log in as the score too!
    Don`t know what`s going on there!
    Wait for answer from SDN support!

  • ExecuteBatch() with java.lang.NegativeArraySizeException

    Friends,
    I'm using this code :
    try {
    conn.setAutoCommit(false);
    PreparedStatement pstat = conn.prepareStatement("INSERT INTO tb_fre_tran_in (fre_tran_id, fre_tran_in_tlv_seq, fre_tran_in_tlv_value) VALUES (?, ?, ?)");
    for (iCount=0; iCount<in.getSizeFields(); iCount++) {
    pstat.setInt(1, iFreTranId);
    pstat.setInt(2, Integer.parseInt(in.getFieldTag(iCount)));
    pstat.setString(3, in.getFieldValue(iCount));
    pstat.addBatch();
    System.out.println(iCount + "-> " + iFreTranId + "Passei pelo addBatch()");
    int[] res = pstat.executeBatch();
    System.out.println(iFreTranId + "-->" + res.length);
    conn.commit();
    pstat.close();
    } catch (Exception e) {
    e.printStackTrace();
    When the program going to execute the "int[] res = pstat.executeBatch();" line I got a error telling that "java.lang.NegativeArraySizeException"
    Somebody has some idea whats happening ???
    Thanks a lot,
    Juliano

    Anyone how solved this problem?
    I get the same one. I run with jdbc-odbc bridge.
    Not good att all. It fails always in my application.
    while((txtFileRow=reader.readLine())!=null & txtFileRow.length()>0)
    System.out.println(txtFileRow);
    char firstChar=txtFileRow.charAt(0);
    if(firstChar=='1') {
    stmt.setInt(1, nextIdInsert); //id
    stmt.setInt(2, seqnrInsert++); //sequence
    else if(firstChar=='2') {
    stmt.setInt(1, nextIdUpdate); //id
    stmt.setInt(2, seqnrUpdate++); //sequence
    stmt.setInt(3, 1); //status
    stmt.setString(4, "DATA"); //record_type
    stmt.setInt(5, 63); //length ????????????????????????
    stmt.setString(6, txtFileRow); //message_part1
    stmt.addBatch();
    rownr++;
    if(rownr%100==0){
    int[] result=stmt.executeBatch(); //!!!!!!!!!!!!!!!!!!!!
    stmt.clearBatch();
    int[] result=stmt.executeBatch(); //!!!!!!!!!!!!!!!!!!

  • (OMS) java.lang.NegativeArraySizeException

    Running RedHat 7.2 RDBMS 9.2
    When I start the OMS (oemctl start oms) about 1 minute later I see the following in the oms.nohup:
    The OMS is now started and ready.
    java.lang.NegativeArraySizeException:
    at java.lang.String.(String.java)
    at java.lang.String.(String.java)
    at oracle.sysman.vxn.VxnBootService.run(VxnBootService.java:118)
    At this point the jobs and events and all other functionailty appears to function properly, but the oem console will not come up nor can I stop or get status of the OMS server. My only option is to kill -9 the OMS via the OS and restart every time I wish the access the OEM console. Futhermore, If I bring up the GUI (oem console) prior to the error I have full functionailty of the Console even after the error. Although once the error is encounterd I cannot open a new console. This problem has shown itself all of a sudden after the system have been working properly for about six months. My orginal confiuration was RDBMS 8.1.7.2 the I upgraded to 9.0.1 the problem still exists, then I reinstall the RDBMS and OMS v9.2 with no configuration other then the basic load and the problem still presists.
    I think that it may either some with the JRE version (which is currently 1.1.8) or something with OS.
    PATH variable in the $OH/bin/oemctl is
    PATH=/apps/oracle/jre/1.1.8/bin:$PATH
    export PATH
    [oracle@]$ jre
    Java(tm) Runtime Loader Version 1.1.8
    Usage: jre [-options] classname [arguments]
    I am working with Oracle Support with this issue but no resolve has come yet..
    If anyone has encounted this error or has input your ideas are welcomed..
    Thanks in advance
    Valentine

    Hi Michal,
    last entry in trace is from 10th, this error came up yesterday!
    We moved to SP14 on 24th!
    So I think this is my way to OSS!
    Thanks for remembering me to the Vis Admin!
    Best regards
    Dirk
    Beg your pardon for not giving any points. The function disappeared from my log in as the score too!
    Don`t know what`s going on there!
    Wait for answer from SDN support!

  • Java.lang.NegativeArraySizeException:allocArray

    Hello All,
    Need your help in resoving the below issue.
    Our application is deplover over weblogic 10.3.0.0
    Jrockit_160_05.
    We see only the below messge in stdout logs all of sudden, in production, but not in uat.
    Only difference between uat nad prod is the jrockit version.
    jdk_1.60_65_Unlimited
    Error receiving mcast package. Sleeping 500ms
    java.lang.NegativeArraySizeException: allocArray
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:335)
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:282)
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:379)
            at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:282)
            at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:364)
    Error receiving mcast package. Sleeping 500ms
    java.lang.NegativeArraySizeException: allocArray
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:335)
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:282)
            at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:379)
            at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:282)
            at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:364)

    This is a known bug when using global scoped work manager with max thread constraints set to -1.
    You can contact the support for a patch from CR384080 or can do the following workaround :
    1. Use application scoped work manager instead of global work manager.
    2. Use a positive integer value (say 5) as setting for the Maximum Threads Constraint Count instead of the default -1.
    3. Create a global work manager and delete the Maximum Threads Constraint. Create it later with a positive value when required and avoid using -1.

  • ASC 2.0 - switch statement causes crash with java.lang.NegativeArraySizeException

    Compiling the following program using ASC 2.0 (it should be a minimal testcase):
    $ ./mxmlc Main.as
    package {
        import flash.display.Sprite ;
        public class Main extends Sprite {
            public function Main() {
                var i:int = 0;
                switch {
                    case -0x3A073416:
                        return;
                    case 0x75B22630:
                        return;
                    default:
                        return;
                return;
    gives the following crash:
    Internal error: java.lang.NegativeArraySizeException
            at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_lookup_switchStm t(ABCGeneratingReducer.java:5773)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_switchStmt(ABCGe neratingReducer.java:5659)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.action_455(CmcEmitter.java:6411)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction(CmcEmitter.java:92 14)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39436)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39413)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 464)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39435)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39413)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals(CmcEmitter.java:39 455)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent(CmcEmitter.java: 39435)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39413)
            at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.burm(CmcEmitter.java:39715)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateInstructions(ABCGenerat or.java:232)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:397)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction(A BCGenerator.java:351)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateFunction(ABCGenerator.j ava:266)
            at com.adobe.flash.compiler.internal.as.codegen.ClassDirectiveProcessor.finishClassDefinitio n(ClassDirectiveProcessor.java:487)
            at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareClass(Global DirectiveProcessor.java:424)
            at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:207)
            at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)
            at com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declarePackage(Glob alDirectiveProcessor.java:449)
            at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProc essor.java:224)
            at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcess or.java:189)
            at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:126)
            at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleABCBytesRequest(ASCompila tionUnit.java:374)
            at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(Compil ationUnitBase.java:866)
            at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBas e.java:107)
            at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:309)
            at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase. java:305)
            at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 8)
            at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:22 2)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
                    public function Main() {
                    ^

    Hi,
    The range between the min and case case values was causing an overflow, as it was larger than 2^3 -1.  I have just fixed this bug.
    Until the next compiler drop, you can work around the problem by making one of the case values non-const (example below), which will cause the compiler to not try and create a lookup switch table and avoid the buggy code path.
    var i:int = 0;
    var caseValue:int = -0x3A073416;
    switch
              case caseValue:
            return;
        case 0x75B22630:
            return;
        default:
            return;

  • Image upload java.lang.NegativeArraySizeException

    Hi all,
    When I am trying to upload image(176 x 220) to server its giving the following error
    java.lang.NegativeArraySizeException
    at HelloServlet.doPost(HelloServlet.java:55)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Unknown Source)
    why its giving this error?.....can anyone help me please
    Thanks in advace,
    siv
    Edited by: siv on Apr 26, 2008 9:13 AM

    You really need to provide your code. My guess is that you are accessing an invalid index in an array on line #55 of HelloServlet.java

  • ERROR: The Propagation operation ended in error. java.lang.reflect.Undeclar

    Dear all,
    i am using bea weblogic 10.0 ant i am downloading the running Inventory.
    but the below problem occurc when i run ant task for downloading that is
    ant -buildfile propagation_ant.xml downloadSrc the below problem occurs. i am new to bea so how can i debug the problem
    VERBOSE: InventoryTreeWalker: visiting node: Application:ContentServices:BEA Repository:ContentNodes:Webmasters:Sports:I won`t step down from presidency Khan.txt
    ERROR: The Propagation operation ended in error.
    java.lang.reflect.UndeclaredThrowableException
    at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
    at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
    at $Proxy54.policyExists(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
    at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
    at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
    at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
    at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
    at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
    at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
    at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    ERROR: The Propagation operation ended in error.
    java.lang.reflect.UndeclaredThrowableException
    at weblogic.security.providers.xacml.authorization.XACMLAuthorizerMBeanImpl.policyExists(XACMLAuthorizerMBeanImpl.java:245)
    at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.bea.p13n.security.internal.SecurityProviderProxy.invoke(SecurityProviderProxy.java:48)
    at $Proxy54.policyExists(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:241)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate$3.run(SecurityPolicyDelegate.java:239)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.kernelRunAs(SecurityPolicyDelegate.java:433)
    at com.bea.p13n.entitlements.management.internal.SecurityPolicyDelegate.policyExists(SecurityPolicyDelegate.java:246)
    at com.bea.p13n.entitlements.management.internal.RDBMSSecurityPolicyManager.getSecurityPolicy(RDBMSSecurityPolicyManager.java:204)
    at com.bea.p13n.entitlements.management.SecurityPolicyManager.getSecurityPolicy(SecurityPolicyManager.java:119)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicy(SecurityHelper.java:146)
    at com.bea.propagation.content.online.util.SecurityHelper.getSecurityPolicies(SecurityHelper.java:122)
    at com.bea.propagation.content.online.hierarchy.ContentNodeHierarchy.discoverChildren(ContentNodeHierarchy.java:113)
    at com.bea.propagation.framework.hierarchy.ListNodeHierarchy.getChildrenNodes(ListNodeHierarchy.java:113)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:215)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst_Recur(InventoryTreeWalker.java:224)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:158)
    at com.bea.propagation.framework.InventoryTreeWalker.walkDepthFirst(InventoryTreeWalker.java:102)
    at com.bea.propagation.framework.tool.io.InventoryTreeExport.walkDepthFirst(InventoryTreeExport.java:88)
    at com.bea.propagation.framework.tool.io.InventoryFolderExport.walkDepthFirst(InventoryFolderExport.java:110)
    at com.bea.propagation.framework.tool.io.InventoryArchiveExport.walkDepthFirst(InventoryArchiveExport.java:103)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:1017)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.writeInventoryToLocalFile(InventoryManagementServlet.java:991)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation_Remote(InventoryManagementServlet.java:510)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.downloadOperation(InventoryManagementServlet.java:453)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doService(InventoryManagementServlet.java:318)
    at com.bea.propagation.framework.tool.servlet.InventoryManagementServlet.doPost(InventoryManagementServlet.java:199)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    your error seems to indicate that your embeddedLdap isnt in sync with the Database ? Did you either delete files from your file systems or cleanup the portal db or finally used a copy of some existing database for your domain?

  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError:

    Dears
    I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         ... 58 more
    Any body has faced a similar issue. Please let me know your views
    Best regards
    Mohamed Chargui

    The JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
    Jdeveloper 11.1.1.6 support is JSF 1.2.
    Upgrade to JDeveloper 11.1.2.0.0.
    With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>1.0.0.0_2-0-2</implementation-version>
    *<exact-match>true</exact-match>*
    </library-ref>
    Edited by: dvohra16 on Feb 28, 2013 6:43 AM

  • Error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.

    Hi ,
    oracle apps version : 11.5.10.2 and database version 11.2.0.2.
    OS version Solaris Sparc 64 Bit.
    We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
    error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
    Regards
    Kk

    Hi ,
    D:\Documents and Settings\800045916>java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
    Regards
    Kk

Maybe you are looking for

  • ISE Wired Central Web Authentication no url redirect

    We are setting up ISE for wired guest accest but are having trouble with the client being redirected.  The switch gets the download from ISE and shows that it should use the URL redirect with the correct ACL. ISEtest3560#show authentication sessions

  • Error in xRPM admin

    Hello Gurus, I need a small help from you regarding new portfolio creation. I am getting the following error message in Portal--> Portfolio Management --> Administration: 1. No Portfolios exist 2. Runtime error: Object type has not been instantiated

  • Can't uninstall Photoshop CS

    after discovering that users will now have to download Photoshop CS in order to activate rather than use the CDs, the solution includes removing the failed install of Photoshop CS. Now my Windows XP system is saying that there is any error using the

  • Why write(13), write(10)?

    I have a book that contains a sample program that illustrates the use of Sockets, and there is some code in that program that I do not understand. It says: String host = new String("somehost.com"); int port = 4444; Socket sock = new Socket(host, port

  • Drilldown and Multiple types of Counts

    We need an operational analytics around Siebel Activities Activities dimension are primarily - Activity Type - Owner - Owner Supervisor Activity Fact in our case comprises of - Count #s - Overdue #s [Count where Activity Status = 'Open' AND DUE_DATE