ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Resolved: (IVYDE-158) NullPointerException from IvyDE on startup.
Date Wed, 18 Feb 2009 10:01:01 GMT

     [ https://issues.apache.org/jira/browse/IVYDE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Lalevée resolved IVYDE-158.
-----------------------------------

    Resolution: Duplicate

It has been already fixed by IVYDE-133
Thanks for reporting though

> NullPointerException from IvyDE on startup.
> -------------------------------------------
>
>                 Key: IVYDE-158
>                 URL: https://issues.apache.org/jira/browse/IVYDE-158
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: Eclipse Ganymede, Windows XP Pro, java 6, IvyDE 2.0.0.beta1
>            Reporter: Paul Loveridge
>
> When starting eclipse all projects with any ivy dependency library in their build path
generate this error :
>         An internal error occurred during: "Resolve project 'acceptance' and ivy file
'ivy.xml' dependencies".
> I also notice that although the ivy.xml file is still present in the project root the
library entry (which usually appears underneath the JRE System Library entry) is not present.
> Work Around
> -----------
> If I remove the ivy library from the build path , close the dialog and then re-open the
dialog and re-attached the ivy library then everything compiles correctly.  
> Stack Trace
> -----------
> java.lang.NullPointerException
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.setConfStatus(IvyClasspathContainerConfiguration.java:361)
> at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(IvyClasspathContainerConfiguration.java:688)
> at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:197)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> ivysettings.xml
> ---------------
> <?xml version="1.0" encoding="utf-8"?>
> <ivysettings>
> 	<classpath file="${ivy.settings.dir}/lib/ivysvnresolver.jar" />  
> 	<classpath file="${ivy.settings.dir}/lib/trilead.jar" />  
>     	<classpath file="${ivy.settings.dir}/lib/svnkit.jar" />  
>     	<properties file="${ivy.settings.dir}/ivy.properties" override="true" />
> 	<typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />
> 	<settings defaultResolver="trunkresolver" />
> 	<caches defaultCacheDir="${ivy.cache.dir}" />
> 	<resolvers checkModified="${ivy.resolver.default.check.modified}">
> 		<svn name="ivysvn" 
> 			 repositoryRoot="${repository.root}"
> 			 userName="${svn.user}" 
> 			 userPassword="${svn.password}">
> 			 <ivy
> 				pattern="${ivy.repository}/[organisation]/[module]/[revision]/ivy.xml" />
> 			 <artifact
> 				pattern="${ivy.repository}/[organisation]/[module]/[revision]/[artifact].[ext]" />
> 		</svn>
> 		<filesystem name="filesystem">
> 			<ivy pattern="${trunk.dir}/[module]/ivy.xml" />
> 			<artifact pattern="${trunk.dir}/[module]/module.jar" />
> 		</filesystem>
> 		<chain name="trunkresolver" returnFirst="true" >
> 			<resolver ref="ivysvn" />
> 			<resolver ref="filesystem" />
> 		</chain>		
> 	</resolvers>
> </ivysettings>
> ivyconfs.xml
> ------------
> <configurations>    
>     <conf name="dev" visibility="public" extends="test,db2,oracle,sqlserver" description="Test
and all JDBC drivers"/>
>     <conf name="compile" visibility="public" description="Resources only required
by compile, usually ones that are container provided at runtime"/>
>     <conf name="runtime" visibility="public" description="Dependencies for distribution"/>
>     <conf name="test" visibility="public" extends="compile,runtime" description="Compile
+ anything that running unit tests depends on"/>    	
>     <conf name="db2" visibility="public" description="DB2 JDBC driver set"/>
>     <conf name="oracle" visibility="public" description="Oracle JDBC driver set"/>
>     <conf name="sqlserver" visibility="public" description="SQLServer JDBC driver
set"/>    	
>     <conf name="activemq" visibility="private" description="ActiveMQ runtime"/>
   	
> </configurations>    
> ivy.properties
> --------------
> org.name=tallyman
> repository.root=***REDEDACTED**
> ivy.repository=/tallyman/ivyrepos/trunk
> ivy.resolver.default.check.modified=true
> trunk.dir=${ivy.settings.dir}/..
> ivy.cache.dir=${trunk.dir}/.ivycache
> svn.user=
> svn.password=
> I've redacted the repository.root but it's just a standard http: based svn location,
of the form http://server/svn/product - I'm making sure I don't end up in the smelly stuff
with my manager.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message