"Object reference not set to an instance of an object" message is shown when
reimporting project with references unavailable in remote repo
-------------------------------------------------------------------------------------------------------------------------------------------
Key: NPANDAY-394
URL: https://issues.apache.org/jira/browse/NPANDAY-394
Project: NPanday
Issue Type: Bug
Components: Project Importer, Reference and Documentations
Affects Versions: 1.2.1
Environment: Visual Studio 2008
Windows 7
Reporter: Marecor M Baclay
The log shown below is the output log when reimporting a project with a
reference unavailable in the remote repository.
{noformat}
[INFO] Re-syncing artifacts... failed: Object reference not set to an instance
of an object.
at
NPanday.ProjectImporter.Digest.Model.Reference.downloadArtifactFromRemoteRepository(Artifact
artifact, String ext, Logger logger)
at NPanday.ProjectImporter.Digest.Model.Reference.DownloadArtifact(Artifact
artifact, Logger logger)
at NPanday.VisualStudio.Addin.ReferenceManager.CopyArtifact(Artifact
artifact, Logger logger)
at NPanday.VisualStudio.Addin.ReferenceManager.getReferencesFromPom(Logger
logger)
at NPanday.VisualStudio.Addin.ReferenceManager.ResyncArtifacts(Logger logger)
at NPanday.VisualStudio.Addin.NPandayImportProjectForm.resyncAllArtifacts()
{noformat}
Expected result:
Should be:
[INFO] Re-syncing artifacts... failed: [REFERENCE_NAME] not found in any
repository.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira