Giter Site home page Giter Site logo

ivy-tools's People

Contributors

dbulla avatar

ivy-tools's Issues

Subversion handler throws NPE when loading repository, libraries missing

Works OK on HTML repositories, but got error when loading Subversion
repositories - exceptions as shown in file and below:

java.io.FileNotFoundException:
http://subversion/svn/javaexternals/trunk/repository/javax.xml/jaxb-libs/2.0.5/j
axb-libs-2.0.5.ivy.xml
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unkn
own
Source)
    at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(U
nknown
Source)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
    at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknow
n
Source)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:810)
    at
com.nurflugel.ivybrowser.handlers.BaseWebHandler.findVersionedLibrary(BaseWebHan
dler.java:167)
    at
com.nurflugel.ivybrowser.handlers.BaseWebHandler.findVersions(BaseWebHandler.jav
a:143)
    at
com.nurflugel.ivybrowser.handlers.tasks.SubversionWebDavHandlerTask.run(Subversi
onWebDavHandlerTask.java:54)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
    at
com.nurflugel.ivybrowser.handlers.BaseWebHandler.findVersionedLibrary(BaseWebHan
dler.java:171)
    at
com.nurflugel.ivybrowser.handlers.BaseWebHandler.findVersions(BaseWebHandler.jav
a:143)
    at
com.nurflugel.ivybrowser.handlers.tasks.SubversionWebDavHandlerTask.run(Subversi
onWebDavHandlerTask.java:54)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


Original issue reported on code.google.com by [email protected] on 13 Oct 2009 at 4:11

Attachments:

Inconsistent indentation

What steps will reproduce the problem?
Format an ivy.xml

What is the expected output? What do you see instead?
It is expected that the whole file uses consistent indentation. Instead
tags like <configurations> have an indent of two spaces, while <conf> tags
have an indent of eight spaces.

Please provide any additional information below.
The attached patch sets the length of indents to two chars. Thereby
formatted ivy files have an consisten indent. There's an attachment with an
unit test, too.


Original issue reported on code.google.com by StefanFriedrichBirkner on 16 Jan 2010 at 8:57

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.