Re: Exception: System.NullReferenceException in 0capture

<[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <E1FE65505B872347A5DE1BB83A95331E584B9209@C111QVFHMBX74.ERF.thomson.com>
Bastian,
                That fixed the problem, but I found another one or two.
When the "--collect-files" command line flag was included, a new error was output.
I also attempted to use the "New Feed" wizard but it also failed. I sent the debug info for that from the UI.

Input and output

C:\temp\docfetcher>0capture start dockfetcher.snapshot
<ran installer>
C:\temp\docfetcher>0capture finish dockfetcher.snapshot docfetcher.xml --installation-dir="C:\Program Files (x86)\DocFetcher" --main-exe=DocFetcher.exe --collect-files
Searching for executable files...
[====================] Complete

Unhandled Exception: System.NotImplementedException: The method or operation is not implemented.
   at ZeroInstall.Capture.Cli.CaptureCommand.Finish()
   at ZeroInstall.Capture.Cli.Program.Main(String[] args)

Thanks for fixing the original problem, I'll go write a bug for this one.
Phil


From: Bastian Eicher [mailto:[email protected]]
Sent: Tuesday, May 12, 2015 5:18 AM
To: 'The Zero Install system'; Miess, Philip (Legal)
Subject: RE: [Zero-install-devel] Exception: System.NullReferenceException in 0capture


Hello Phil,



the current release of the Publishing Tools (2.8.0) adds Capture support to the "New Feed" Wizard, so you can perform the whole process from the GUI.



Additionally the 0capture command-line tool has been redesigned with a simpler interface:

0capture start myapp.snapshot [--force]

0capture finish myapp.snapshot myapp.xml [--force]

        [--installation-dir=C:\myapp] [--main-exe=myapp.exe] [--collect-files]



Please let me know if anything isn't working as expected.



Regards

Bastian





-----Original Message-----

From: [email protected]<mailto:[email protected]> [mailto:[email protected]]

Sent: Freitag, 20. März 2015 20:02

To: [email protected]<mailto:[email protected]>

Subject: [Zero-install-devel] Exception: System.NullReferenceException in 0capture



Zero-install-devel,

       When I try to run 0capture or greater I get an exception.

I'm running  trying to capture the install of http://downloads.sourceforge.net/project/docfetcher/docfetcher/1.1.14/docfetcher_1.1.14_win32_setup.exe

Windows 7 x64 sp1

The pre and post commands worked but the capture command gives the following exception.



Command

0capture collect



Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.

   at ZeroInstall.Capture.CaptureDir.CollectContextMenus(Snapshot snapshotDiff, CommandMapper commandMapper, CapabilityList capabilities)

   at ZeroInstall.Capture.CaptureDir.Collect(String installationDir, String mainExe, Boolean getFiles)

   at ZeroInstall.Capture.Cli.Program.Execute(ParseResults results)

   at ZeroInstall.Capture.Cli.Program.Main(String[] args)



reproduced on a number of versions from 2.6.4 up to 1.7.3



There doesn't seem to be a page saying where to send bugs on http://0install.de.

Hopefully whoever maintains this package will see it here.



Phil

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.