Java.util.EmptyStackException Mapping error

Hi All,
I am integrating SAP ECC 6.0 system with SAP SNC.
For these i am using  standard content of SAP SNC
I am getting following mapping error :
TransformerConfigurationException occurred when loading XSLT InvoiceRequest_InvoicInvoic01_01.xsl; details: Could not load stylesheet.com.sap.engine.lib.xml.util.NestedException: Error parsing query. -> java.util.EmptyStackException
Plz help me out
Regards Milan

hi,
check the interaface mapping which is used in your flow
inside integration repository - is it working over there?
do you see the XSL file in the external archives in repository?
Regards,
Michal Krawczyk
http://mypigenie.com XI/PI FAQ

Similar Messages

  • Java.util.EmptyStackException

    Hi All,
    I am trying to configure weblogic 6.1 with Iplanet Webserver 6.0. I have all the EJB's placed in weblogic and the client class,jsp's and servlets in the IWS. I am getting theHome page but when I enter the user name and password I am getting the following error.
    GetData: 'weblogic.socket.GetData@4183d3 - fd: '2372', numBytes: '1249''
    java.util.EmptyStackException
    at weblogic.utils.collections.Stack.pop(Stack.java:82)
    at weblogic.rjvm.InboundMsgAbbrev.getAbbrev(InboundMsgAbbrev.java:85)
    at weblogic.rjvm.MsgAbbrevInputStream.readImmutable(MsgAbbrevInputStream.java:193)
    at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.jav
    a:207)
    at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.readC
    lassDescriptor(ChunkedObjectInputStream.java:300)
    at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:901)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInput
    Stream.java:110)
    at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInput
    Stream.java:123)
    at weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:694)
    at weblogic.rjvm.ConnectionManagerServer.handleIdentifyRequest(ConnectionManagerSe
    rver.java:263)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:628)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:658)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Kindly any one help me to solve this problem.
    Thanks and Regards,
    Arunkumar.

    I have no idea, I would have assumed that it would accept some trash coding. Correcting that particular example might provide some progress towards an answer.
    If the answer is that you have to have clean HTML, I'd look into HTMLTidy (I think JTidy is its Java implementation).

  • No graphs in DB load test: java.util.EmptyStackException

    Hi,
    We're getting ERROR [ViewGraphAction] Error creating counter tree java.util.EmptyStackException in wls_oats when trying to "view Run Graphs".
    It does not show any tree, so it is impossible to select graphs.
    Anyhting we can do about this?
    Edited by: ao on 2011-jun-14 16:28

    may be because you r trying to re-use the border edge variable. Try having a new instance. If that doesn't work, then check for JVM settings on either boxes of WinXP and MAC.
    hope i make it ;-)
    kamesh

  • Java.util.zip.ZipException error in opening zip file

    Hello all,
    We are using Sun Java System web server 6.1 SP2. When I tried to deploy an application, I received this message: "Posted content length of --- exceeds limit of --- " the -dashes are the size of the file actually.
    I then added an init-param to the web.xml specifying the maximum size.
    After doing that, I tried to deploy the war file using administration interface, but received a network tcp/ip error. I then deployed it using command line wdeploy command. It worked but the web server won't start up after the deployment. The following error messages are found in the log file. Any thoughts as to whats wrong here? Is there a bug in SP2?
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/search', ResourcePath='/WEB-INF/sun-web-search.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]:
    tldConfigJar(/WEB-INF/sun-web-search.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: URI='/jstl-fmt', ResourcePath='/WEB-INF/fmt.tld' [22/Sep/2006:17:30:44] finer ( 5668): ContextConfig[search]: tldConfigJar(/WEB-INF/fmt.tld): java.util.zip.ZipException: error in opening zip file
    [22/Sep/2006:17:30:48] failure ( 5668): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2, org/xml/sax/ext/Attributes2), stack: java.lang.NoClassDefFoundError: org/xml/sax/ext/Attributes2 at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1717) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:983) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1431) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1301) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.apache.xerces.parsers.AbstractSAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:274) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:882) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1004) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3752) at com.iplanet.ias.web.WebModule.start(WebModule.java:257) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:652) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355) at org.apache.catalina.startup.Embedded.start(Embedded.java:995) at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431) at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500) at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161) [22/Sep/2006:17:30:48] failure ( 5668): CORE3186: Failed to set configuration

    ooks like you are running into bug: 4719677
    When you deploy a web application using the Administration Server from a
    remote machine, the maximum upload size by default is 10 MB. This can be
    changed by editing the
    install-root/bin/https/webapps/instance-app/WEB-INF/web.xml file. In the
    servlet webappdeploy, insert an init param named maxUploadSize with a
    value in bytes specifying the maximum upload size. Example:
    <init-param>
    <param-name>maxUploadSize</param-name>
    <param-value>90000000</param-value>
    </init-param>

  • Java.util.zip.ZipException error when building

    Good Day All,
    I am a newbie and this is my first JWS deployment. I have an app that I am writing in Netbeans 6.1 that I want to deploy via JWS. The app accesses five different JAR libraries and that is where my troubles started. I thought that I needed to figure a way to configure Netbeans so the libraries would be deployed with my app JAR so it would run correctly using JWS.
    I was trying to get things working and now my problem is that when I build I am getting the following error:
    init:
    deps-jar:
    compile:
    Copy libraries to C:\Java\DataMed\dist\lib.
    To run this application from the command line without Ant, try:
    java -jar "C:\Java\DataMed\dist\DataMed.jar"
    jnlp:
    jnlp-init-generate-master:
    C:\Java\DataMed\nbproject\jnlp-impl.xml:61:  The following error occurred while executing this line:
    C:Java\DataMed\nbproject\jnlp-impl.xml:386:  java.util.zip.ZipException:  error in opening zip file
    BUILD FAILED (total time: 0seconds)Scrolling to line 386 in the jnlp-impl.xml file it says:
    componentsprop="jnlp.components">I futzed with my options so much I can't seem to figure out how to get everything reset so I can get a clean build ! As a newbie to Netbeans I sometimes have difficulty figuring out where all the different things are hidden ... I **think** it all went bad when I was working on the Properties > Libraries > Compile > Compile-time Libraries but I can't remember.
    So I have two questions really:
    1) How can I resolve the ZipException error? I suspect it is one of the JAR libraries but how can I tell ?
    2) How do I get JWS to find my five libraries ? I now suspect that I am supposed to upload the five libraries to the webserver and then in my JNLP it will have links to the libraries in the <resources> part of the code. Is that correct ?
    Edited by: DBirdManAR on Aug 10, 2008 7:22 AM
    Rather than spend to much time figuring this out, I just used my revert modifications through my SVN to go back to a previous version that builds correctly.

    Hi,
    I have the same problem but I cannot solve it.
    Help much appreciated.
    Regards,

  • Java.util.zip.ZipException: error in opening zip file Deploment Error

    Hi All,
    I am getting the fallowing Deployment exception while i am trying to deploy my webdynpro DC. Kindly help me if anybody know the solution for it.
    deployment aborted : file:/C:/DOCUME1/291123/LOCALS1/Temp/temp7081pg.comiprscipr~dc_intreg_process.ear
    Aborted: development component 'ipr/scipr/dc_intreg_process'/'pg.com'/'GGD_EPREGDEV_D'/'20101220152524'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error while getting the internal libraries of application pg.com/iprsciprdc_intreg_process in operation update.. Reason: error in opening zip file; nested exception is:      java.util.zip.ZipException: error in opening zip file (message ID: com.sap.sdm.serverext.servertype.i
    Thanks,
    Mahesh Nuli.

    Hello Ram,
    It is saying that the library file is missing. Can you deploy pg.com/iprsciprdc_intreg_process  first and try to deploy this ear temp7081pg.comiprscipr~dc_intreg_process.ear.
    Regards
    Nizamudeen SM

  • Webb Exception - java.util.zip.ZipException: error in opening zip file

              I am tring to run my Servlet with myWAR.war. So I started first installing the CookieCounter example that came with weblogic, I did exactly as the document said but I getting the following exception:
              Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application '/weblogic/myserver/cookieWar.war'
              java.util.zip.ZipException: error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              at java.lang.Thread.run(Thread.java:479)
              Has anybody encountered the problem before I created the jar using jar cvf cookieWar.war cookie- under the command line
              

    I have seen problems like this in the past. When you create your war file, try using "jar
              cv0f" so that the jar file won't be compressed...
              mark bouchard wrote:
              > I am having this same error... the strange thing is i have two different ear files...
              > one of them works, the other doesn't. there are NO differences between them according
              > to Araxis Merge... both will deploy, and both show servlets as being registered,
              > but i can only call the servlets from one...
              >
              > what is BEA's suggested way of creating an ear file? on NT and on UNIX please....
              >
              > use the java.util.zip methods? or use a utility like jar or winzip? Personally,
              > i've found this deployment to be HIGHLY flakey at best.... my same ear files
              > deploy perfectly with iPlanet's app server.
              >
              > Mark Spotswood <[email protected]> wrote:
              > >I think this is basically the same as a file not found error.
              > >The error message says it can't open the file. Its looking
              > >for the file under: /weblogic/myserver/cookieWar.war
              > >Make sure the file is in that directory/readable, etc.
              > >--
              > >mark
              > >
              > >Paul Garduno wrote:
              > >
              > >> Just to let you know, I am getting the same error message. I haven't
              > >worked on it but hope to at some point. I would like to know if the
              > >Weblogic people have seen this error.
              > >>
              > >> Paul Garduno
              > >>
              > >> bionic99 wrote:
              > >>
              > >> > I am tring to run my Servlet with myWAR.war. So I started first installing
              > >the CookieCounter example that came with weblogic, I did exactly as
              > >the document said but I getting the following exception:
              > >> > Thu Jan 04 11:26:45 MST 2001:<E> <HTTP> Error reading Web application
              > >'/weblogic/myserver/cookieWar.war'
              > >> > java.util.zip.ZipException: error in opening zip file
              > >> > at java.util.zip.ZipFile.open(Native Method)
              > >> > at java.util.zip.ZipFile.<init>(ZipFile.java:69)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:57)
              > >> > at weblogic.utils.jar.JarFile.<init>(JarFile.java:44)
              > >> > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:582)
              > >> > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java,
              > >Compiled Code)
              > >> > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:388)
              > >> > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
              > >> > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > >> > at java.lang.reflect.Method.invoke(Native Method)
              > >> > at weblogic.Server.startServerDynamically(Server.java:99)
              > >> > at weblogic.Server.main(Server.java:65)
              > >> > at weblogic.Server.main(Server.java:55)
              > >> > at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
              > >> > at java.lang.Thread.run(Thread.java:479)
              > >> >
              > >> > Has anybody encountered the problem before I created the jar using
              > >jar cvf cookieWar.war cookie- under the command line
              > >
              

  • OC4J startup failed: java.util.zip.ZipException: error in opening zip file

    I am getting the following error. Can someone help me on how to fix this issue?
    Thanks
    E:\oracle\product\oas\10.1.3.1\j2ee\home>java -jar oc4j.jar
    OC4J startup failed
    org.xml.sax.SAXException: META-INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2
    ee\home\oc4j.jar, line 466: Could not process 'external-classes' for /E:/oracle/
    product/oas/10.1.3.1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META
    -INF/boot.xml in E:\oracle\product\oas\10.1.3.1\j2ee\home\oc4j.jar): caught java
    .util.zip.ZipException: error in opening zip file.
    at oracle.classloader.util.XMLConfiguration.fail(XMLConfiguration.java:1
    279)
    at oracle.classloader.util.XMLConfiguration.registerExternalsFromPackage
    Names(XMLConfiguration.java:833)
    at oracle.classloader.util.XMLConfiguration.registerExternalsForPostProc
    essing(XMLConfiguration.java:842)
    at oracle.classloader.util.XMLConfiguration.endElement(XMLConfiguration.
    java:716)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
    nt(AbstractSAXParser.java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
    l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
    ML11Configuration.java:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
    java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
    stractSAXParser.java:1242)
    at oracle.classloader.util.XMLConfiguration.configureLoaders(XMLConfigur
    ation.java:277)
    at oracle.classloader.util.InitialLoadersFactory.populateLoaders(Initial
    LoadersFactory.java:389)
    at oracle.classloader.util.InitialLoadersFactory.initLoaders(InitialLoad
    ersFactory.java:230)
    at oracle.classloader.util.InitialLoadersFactory.create(InitialLoadersFa
    ctory.java:167)
    at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:26)

    Sorry for the delay, i can't attach it so i'll just post it
    User:
    Logname: root
    Monday February 23 14:29:15 GMT 2009
    smpatch settings:
    smpatch analyze:
    Entitlement:
    Sun UC patch revision:
    112945-03
    Solaris release:
    Solaris 9 s9_58shwpl3 SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 15 April 2002
    Solaris Kernel: Generic_112233-05
    Machine Type: sun4u
    Platform: SUNW,Sun-Fire
    Java -version:
    Unrecognized option: -version:1.5+
    Could not create the Java virtual machine.
    Software Cluster:
    CLUSTER=SUNWCXall
    All ccr properties:
    Sun UC package status:
    SUNWbreg not installed
    SUNWccccr not installed
    SUNWccccrr not installed
    SUNWccsign not installed
    SUNWcsmauth not installed
    SUNWppro-plugin-sunos-base not installed
    SUNWppror not installed
    SUNWpprou not installed
    SUNWupdatemgrr not installed
    SUNWupdatemgru not installed

  • IOException java.util.zip.ZipException: error in opening zip file

    Hi Folks,
    In my application one Zip file will be placed in the server. to unzip that zip file i have used java.util.Zip.
    It is working fine.but some times it gets the following error.
    **IOException java.util.zip.ZipException: error in opening zip file**
    why is it so? but very rarely. I couldnt identify the exact scenario, where it causes the problem.
    Normally that zip file contains set of images of customer.
    Please share your inputs.
    Thanks,
    Balu.

    Thanks for ur reply.
    EJB is not used in my application.
    VC++ application at customer side prepares the zip file, and it will upload that zip to te server using ftp.
    After uploading done, at the server end one java program(contains main function) will access that folder to unzip.
    Thanks,
    Balu.

  • WHY? java.util.zip.ZipException: error in opening zip file

    i'm trying to restart tomcat 4.1 (bin/startup.bat) and getting the following error (windows xp profession machine)
    code:
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:65)
    at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1082)
    at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
    at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: error in opening zip file
         at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1110)
         at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.java:200)
         at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:202)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:140)
    thanks!

    These exceptions occur when opening JAR files (since they are renamed ZIPs). Most likely the file cannot be ffound because you have classpaths setup incorrectly

  • Java.util.zip.ZipException Error

    I created a jar file, and put in C:\tools
    C:\tools>java -jar myjar.jar is working fine
    However, if I try to run myjar.jar in other directories, then I have problems.
    I already set the classpath:
    SET CLASSPATH=.;%CLASSPATH%;C:\tools\myjar.jar;
    Here's the error. Any ideas???
    C:\>java -jar myjar.jar
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e file specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:117)
    at java.util.jar.JarFile.<init>(JarFile.java:55)

    You always need to specify a proper file name when you use the -jar switch. If you are not in c:\tools you have to run with "java -jar c:\tools\myjar.jar".
    Setting the classpath in particular doesn't help becuase the file name given to the -jar switch will override all settings for classpath. http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.html#userclass
    But since you now have myjar.jar in your classpath, you can run the application from any directory with "java your.main.ClassName" :)

  • Re: RE: Re: Webb Exception - java.util.zip.ZipException: error in opening zip

    Instead of uploading the servlet via the WL Console, try FTPing it into the
              applications directory and starting up WL
              "robert wright" <[email protected]> wrote in message
              news:3b96bd64$[email protected]..
              > I am having this problem as well has anyone found a solution?
              

    I have the same problem using FTP and hotdeploy, when i try to upload the application, half of the times it fails with the "error in opening zip file
              at java.util.zip.ZipFile.open(Native Method)
              at java.util.zip.ZipFile.<init>(Unknown Source)"
              I dont know why it happens, it seemed that was needed more space, but now, it has enough space for everything in everywhere...
              Has anybody another idea?
              

  • Looking for a Utility to map error code to error message

    Hi All
    I am looking for a utility that would map my error codes to corresponding error messages. If you know there such a utility, please point me to it. In addition, I am looking for a utility that would validates input -- eg. length, range of input. Thanks.

    In addition, I am looking for a utility that would validates input -- eg. length, range of input. Whatever you do, don't use asserts for this.

  • Java.util.zip ZipException Error Opening File

    I have code that uploads a file in my strut then i change its extension to .zip and want to extract that file.
    (please note that the file is create under zip and renamed as .xtr before upload, when user uploads it we change its name to zip. I am telling here so that u can see there s nothing wrong with the file. Soem how, I can also extract it from windows. )
    when my code runs, and it tried to read entries in the enumeration, it says "error opening file". I am not posting the code because, I hve used many examples and it has nothing to do with the code.
    My problem is as i mentioned above, my files` name is changed may be its handler doesnt quiet. more over i hve tried the code with upload a zip file. After upload it says the same.
    Can any one provide me a clue to move around ??

    when my code runs, and it tried to read entries in
    the enumeration, it says "error opening file". I am
    not posting the code because, I hve used many
    examples and it has nothing to do with the code. Then I would suggest you fix your code to tell you what the error is. Printing the stack trace would be a good start.

  • Java.util.regex.Pattern.error(Pattern.java:1713)

    Hi,
    I have some users migrating from Toad to SQL Developer.
    The following script was correctly running with Toad and not with SQL Developer :
    DECLARE
    I_DEB DATE;
    I_FIN DATE;
    BEGIN
    I_DEB := to_date('01072010','ddmmyyyy');
    I_FIN := to_date('17092010','ddmmyyyy');
    MY_SCHEME.MY_PRC ( I_DEB, I_FIN );
    COMMIT;
    END;
    spool c:\temp\out.csv
    Select FIELD1 From TABLE1 order by FIELD1;
    spool off
    SQL Developer is able to run the script in 2 parts :
    - 1st without the "spool" section
    - 2nd the "spool" section only
    But it can't run all the script in the same run.
    Is anybody knows this problem ?
    Thanks,

    Try putting a slash(/) after the END:
    END;
    /

Maybe you are looking for