Hi there,

Nevermind. It seems to have been a typo, paired with a insufficient memory situation, spiced with PEBKAC.

A small suggestion for improvement though: If the parsing of the XML fails, this should be communicated to the user more clearly. At first it took me a while to find out, that the log, which contained the needed hint for tracking the error, even existed.

mfg lutz

Am 09.09.2010 23:46, schrieb Yoav Landman:
Hi,

It appears as if there is a structural problem with the ivy.xml. Can you
attach the exact file you are trying to deploy?
Also, do you get an error when deploying the file form the UI?

Yoav

On Thu, Sep 9, 2010 at 3:30 PM, Lutz Behnke<
[email protected]>  wrote:

Hi there,

after working with my Artifactory installation for the last couple of days
without any problems, suddendly I cannot add an ivy.xml file anymore.

I have copied the last two exceptions from the end of the log below. The
full log is availiable if you need it.

Can you please help me finding out what went wrong? I have looked though
the ML-archive, but nothing seems to fit.

Please note that the first few log entries of my numerous retries, there
was a different exception being thrown. (It took some time until I found the
log and even thought Artifactory to be the cause). I have included examples
of both below.


TIA

mfg lutz

Last few Log entries upon error:

Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException:
Could not create file node resource at
'/repositories/ext-releases-local/org/eclipse/hyades/test-tools-core/4.5.2/ivy.xml'.
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:144)
[artifactory-core-2.2.5.jar:na]
at
org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:552)
[artifactory-core-2.2.5.jar:na]
... 91 common frames omitted
Caused by: javax.jcr.RepositoryException: Parsing of
/repositories/ext-releases-local/org/eclipse/hyades/test-tools-core/4.5.2/ivy.xml/artifactory:xml
error
at
org.artifactory.jcr.JcrServiceImpl.saveXmlHierarchy(JcrServiceImpl.java:888)
[artifactory-core-2.2.5.jar:na]
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) [na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[spring-aop-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
[spring-aop-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at $Proxy29.saveXmlHierarchy(Unknown Source) [na:na]
at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:565)
[artifactory-core-2.2.5.jar:na]
at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:519)
[artifactory-core-2.2.5.jar:na]
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:140)
[artifactory-core-2.2.5.jar:na]
... 92 common frames omitted
Caused by: java.lang.NullPointerException: null
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:520)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:954)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:816)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:453)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
[na:1.6.0_20]
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) [na:1.6.0_20]
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) [na:1.6.0_20]
at
org.artifactory.jcr.JcrServiceImpl.saveXmlHierarchy(JcrServiceImpl.java:872)
[artifactory-core-2.2.5.jar:na]
... 101 common frames omitted


Exceptions with the first few occurrences:

Caused by: javax.jcr.RepositoryException: Parsing of
/repositories/ext-releases-local/org/eclipse/hyades/test-tools-core/4.5.2/ivy.xml/artifactory:xml
error
at
org.artifactory.jcr.JcrServiceImpl.saveXmlHierarchy(JcrServiceImpl.java:888)
[artifactory-core-2.2.5.jar:na]
at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) [na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
[spring-aop-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
[spring-aop-3.0.2.RELEASE.jar:3.0.2.RELEASE]
at $Proxy29.saveXmlHierarchy(Unknown Source) [na:na]
at org.artifactory.jcr.fs.JcrFile.processXmlStream(JcrFile.java:565)
[artifactory-core-2.2.5.jar:na]
at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:519)
[artifactory-core-2.2.5.jar:na]
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:140)
[artifactory-core-2.2.5.jar:na]
... 92 common frames omitted
Caused by: java.lang.InternalError: processing event: -1
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:507)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
[na:1.6.0_20]
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
[na:1.6.0_20]
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) [na:1.6.0_20]
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) [na:1.6.0_20]
at
org.artifactory.jcr.JcrServiceImpl.saveXmlHierarchy(JcrServiceImpl.java:872)
[artifactory-core-2.2.5.jar:na]
... 101 common frames omitted



--
Lutz Behnke
Hochschule für Angewandte Wissenschaften Hamburg,
Labor für Allgemeine Informatik,

phone: +49 40 42875-8156    mailto:[email protected]
fax  : +49 40 2803770       http://users.informatik.haw-hamburg.de/~sage
Berliner Tor 7, 20099 Hamburg, Germany



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users





------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful,
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance.
http://p.sf.net/sfu/dell-sfdev2dev



_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

--
Lutz Behnke
Hochschule für Angewandte Wissenschaften Hamburg,
Labor für Allgemeine Informatik,

phone: +49 40 42875-8156    mailto:[email protected]
fax  : +49 40 2803770       http://users.informatik.haw-hamburg.de/~sage
Berliner Tor 7, 20099 Hamburg, Germany

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to