gersonkurz / pserv3 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pserv3
Automatically exported from code.google.com/p/pserv3
What steps will reproduce the problem?
1. Launch pserve3
2. File, Connect to remote computer.
3. Type in IP address
What is the expected output? What do you see instead?
Just in time debugger. No connection. see below
What version of the product are you using? On what operating system?
Pserve 3.4 - Windows 7 professional 64bit service pack 1 -
connecting to Windows 2k8 server 64bit.
Connects OK to other 2k8 servers of similar configuration.
connects OK to all servers using the 2.7 version.
Please provide any additional information below.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at pserv3.Services.ServiceObject.RefreshConfig(NativeSCManager scm)
at pserv3.Services.NativeSCManager.Refresh(List`1 Services, IntPtr lpServices, Int32 ServicesReturned)
at pserv3.Services.NativeSCManager.Refresh(List`1 Services, SC_SERVICE_TYPE ServiceType)
at pserv3.Services.NativeServiceFunctions.Refresh(List`1 Services, SC_SERVICE_TYPE ServiceType)
at pserv3.MainForm.RefreshDisplay()
at pserv3.MainForm.tsmFile_ConnectToRemoteMachine_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
pserv3
Assembly Version: 3.4.0.0
Win32 Version: 3.4.0.0
CodeBase: file:///C:/bin/gtools/pserv3.exe
----------------------------------------
GSharpTools
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/bin/gtools/GSharpTools.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GPrint
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/bin/gtools/GPrint.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Original issue reported on code.google.com by [email protected]
on 12 Sep 2012 at 10:51
If you use double quotes on a command line argument and end in a \ the string
gets passed as ending in ". e.g if you issue the command [pathed /add
"c:\program files\foo\"], the last argument gets passed as [c:\program
files\foo"]. This is because windows tries to be forgiving about spaces, but
the '\' escapes a double quote.
Since pathed is not in the svn repo, I made a github repo of the source code
from the installer.
A patch to fix this issue and one more (about to be reported) is here
https://github.com/zippy1981/GTools/commit/e29b375d14ceb24a0f1ce9039fb33ebc63beb
a43
Original issue reported on code.google.com by [email protected]
on 16 Apr 2012 at 1:29
The gtools-current.exe installer does include the sourcecode for pathed.exe.
However, its not part of the SVN repository.
Original issue reported on code.google.com by [email protected]
on 9 Apr 2012 at 1:46
https://github.com/zippy1981/GTools/commit/e29b375d14ceb24a0f1ce9039fb33ebc63beb
a43
I should have made separate patches for issues 2 and three. The relevant code
for this issue is:
try
{
List<string> removeItems = Args.GetStringList("remove");
if (removeItems != null)
Remove(removeItems);
string add = Args.GetString("add");
if (!string.IsNullOrEmpty(add))
AddHead(add);
string append = Args.GetString("append");
if (!string.IsNullOrEmpty(append))
AddTail(append);
}
catch (SecurityException ex)
{
if (EnvironmentVariableTarget == EnvironmentVariableTarget.Machine)
Console.WriteLine("ERROR, cannot manipulate the machine environment variables. {0}", ex.Message);
else throw;
}
Original issue reported on code.google.com by [email protected]
on 16 Apr 2012 at 1:31
What steps will reproduce the problem?
1. Windows XP SP3 Rus
2. Press Devices
3. See crash without possible to continue runnig program (I can only close
pserv)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at pserv3.Services.ServiceObject.RefreshConfig(NativeSCManager scm)
at pserv3.Services.NativeSCManager.Refresh(List`1 Services, IntPtr lpServices, Int32 ServicesReturned)
at pserv3.Services.NativeSCManager.Refresh(List`1 Services, SC_SERVICE_TYPE ServiceType)
at pserv3.Services.NativeServiceFunctions.Refresh(List`1 Services, SC_SERVICE_TYPE ServiceType)
at pserv3.Services.ServicesController.Refresh()
at pserv3.MainForm.RefreshDisplay()
at pserv3.MainForm.SwitchController(IServiceController scon)
at pserv3.MainForm.tsmiSwitchDevices_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
pserv3
Assembly Version: 3.4.0.0
Win32 Version: 3.4.0.0
CodeBase: file:///f:/pserv3/pserv3.exe
----------------------------------------
GSharpTools
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///f:/pserv3/GSharpTools.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3636 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GPrint
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///f:/pserv3/GPrint.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Original issue reported on code.google.com by [email protected]
on 6 Jun 2012 at 12:18
What steps will reproduce the problem?
1. launch pserv 3.4
2. Click on "Processes"
3. Click menu ->
What is the expected output? What do you see instead?
I am expect it works and create the xml file ...
But i get an exception, here it is :
************** Exception Text **************
System.InvalidOperationException: When the ListView is in virtual mode, you
cannot enumerate through the ListView items collection using an enumerator or
call GetEnumerator. Use the ListView items indexer instead and access an item
by index value.
at System.Windows.Forms.ListView.ListViewItemCollection.GetEnumerator()
at pserv3.Processes.ProcessesController.SaveAsXML(String filename)
at pserv3.MainForm.tsmFile_SaveAsXML_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
pserv3
Assembly Version: 3.4.0.0
Win32 Version: 3.4.0.0
CodeBase: file:///C:/Program%20Files/p-nand-q.com/GTools/pserv3.exe
----------------------------------------
GSharpTools
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/Program%20Files/p-nand-q.com/GTools/GSharpTools.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4223 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4226 (VistaSP2GDR.050727-4200)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
GPrint
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/Program%20Files/p-nand-q.com/GTools/GPrint.DLL
----------------------------------------
Original issue reported on code.google.com by [email protected]
on 2 Jun 2012 at 11:15
What steps will reproduce the problem?
1. Run pserv 3.4 on Windows 8 x64 Eng
What is the expected output? What do you see instead?
pserv don't run and crash with Error:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: pserv3.exe
Problem Signature 02: 3.4.0.0
Problem Signature 03: 4d1b0575
Problem Signature 04: pserv3
Problem Signature 05: 3.4.0.0
Problem Signature 06: 4d1b0575
Problem Signature 07: 2f3
Problem Signature 08: 19
Problem Signature 09: System.NullReferenceException
OS Version: 6.2.9200.2.0.0.256.4
Locale ID: 1058
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=190175
If the online privacy statement is not available, please read our privacy
statement offline:
C:\Windows\system32\en-US\erofflps.txt
Original issue reported on code.google.com by [email protected]
on 6 Apr 2013 at 5:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.