[ 
https://issues.apache.org/jira/browse/NPANDAY-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027418#comment-13027418
 ] 

Maria Odea Ching edited comment on NPANDAY-394 at 5/2/11 1:06 AM:
------------------------------------------------------------------

Fixed in [-r1098218|http://svn.apache.org/viewvc?rev=1098218&view=rev]. Set the 
logger on initialization of NPandayProjectImporterForm so it wouldn't cause an 
"Object reference not set to an instance of an object" error when used during 
re-sync/re-import.


      was (Author: oching):
    Fixed in [-r1098218|http://svn.apache.org/viewvc?rev=1098218&view=rev]. Set 
the logger on initialization of NPandayProjectImporterForm so it would cause an 
"Object reference not set to an instance of an object" error when used during 
re-sync/re-import.

  
> "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
>            Assignee: Maria Odea Ching
>            Priority: Minor
>             Fix For: 1.3.1-incubating
>
>
> 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

Reply via email to