Return-Path: Delivered-To: apmail-ws-savan-dev-archive@minotaur.apache.org Received: (qmail 73656 invoked from network); 3 Sep 2010 10:05:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 10:05:47 -0000 Received: (qmail 35487 invoked by uid 500); 3 Sep 2010 10:05:47 -0000 Delivered-To: apmail-ws-savan-dev-archive@ws.apache.org Received: (qmail 34766 invoked by uid 500); 3 Sep 2010 10:05:43 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 34755 invoked by uid 99); 3 Sep 2010 10:05:42 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 10:05:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.97.145.184] (HELO mail.newinformatics.net) (213.97.145.184) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 10:05:18 +0000 Received: from PCOMEGA2 ([192.168.1.7]) by newinformatics.net with MailEnable ESMTP; Fri, 03 Sep 2010 12:04:49 +0200 From: "Jose \(New Informatics\)" To: Subject: Exception on AXIS only when running executable JAR Date: Fri, 3 Sep 2010 12:04:59 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 Thread-Index: ActLT3d/+kDjv1MgRQGwhnK33NyUbQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Virus-Checked: Checked by ClamAV on apache.org HI, Please, i need help with this problem. I don't find any solution. I developed a client axis web service in IDE Eclipse (only client side). Project is compiled and works perfectly but when I build an executable = JAR and running it launch an Exception like this... org.apache.axis.ConfigurationException: java.lang.NullPointerException java.lang.NullPointerException at sun.misc.MetaIndex.mayContain(Unknown Source) at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source) at sun.misc.URLClassPath.getResource(Unknown Source) at sun.misc.URLClassPath.getResource(Unknown Source) at java.lang.ClassLoader.getBootstrapResource(Unknown Source) at java.lang.ClassLoader.getResource(Unknown Source) at java.lang.ClassLoader.getResource(Unknown Source) at java.lang.ClassLoader.getResource(Unknown Source) at java.lang.ClassLoader.getResourceAsStream(Unknown Source) at org.apache.axis.utils.ClassUtils.getResourceAsStream(ClassUtils.java: 227) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid er.java:170) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.(AxisEngine.java:156) at org.apache.axis.client.AxisClient.(AxisClient.java:52) at = org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.(Service.java:144) at cat.gencat.justicia.tta.client.axis.JwsServiceSoapBindingQSServiceLoc ator.(JwsServiceSoapBindingQSServiceLocator.java:17) at cat.gencat.justicia.tta.client.TablasMaestras.ObtenerTablaMaestra(Tab lasMaestras.java:55) at cat.gencat.justicia.tta.client.Exemple.DescargarTablas(Exemple.java:1 80) at cat.gencat.justicia.tta.client.Exemple.main(Exemple.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown = Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) I'm sure I included in project all Axis JARs files. This only happened when running as JAR. When running into Eclipse IDE it works. Also I notice you that I haven't axis installed because I no need = developing a Web Service (server side). How can I resolve it?.=20 Thanks in advance. Jos=E9. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org