Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

订阅功能有问题,UI的控制台显示:未将对象引用设置到对象的实例。 #17

Closed
kalwu opened this issue Aug 14, 2019 · 7 comments

Comments

@kalwu
Copy link

kalwu commented Aug 14, 2019

如题

@ghost
Copy link

ghost commented Aug 14, 2019

好像从2.32就有这个问题了

@Adiwon
Copy link

Adiwon commented Aug 15, 2019

同样遇到这个问题,2.32版本
而且从url和二维码添加订阅都没有反应

@2dust
Copy link
Owner

2dust commented Aug 15, 2019

日志信息,位置在当前目录下的guiLogs

@Adiwon
Copy link

Adiwon commented Aug 15, 2019

日志信息,位置在当前目录下的guiLogs

`--------------------------------info[11:43:17]--------------------------------
System.Exception: Webserver Stop 127.0.0.1

--------------------------------info[11:43:17]--------------------------------
System.Exception: Webserver Stop 192.168.0.107

--------------------------------info[11:43:17]--------------------------------
System.Exception: Webserver Stop 无法访问已释放的对象。
对象名:“System.Net.HttpListener”。

--------------------------------由于线程退出或应用程序请求,已中止 I/O 操作。[11:43:17]--------------------------------
System.Net.HttpListenerException (0x80004005): 由于线程退出或应用程序请求,已中止 I/O 操作。
在 System.Net.HttpListener.GetContext()
在 v2rayN.HttpProxyHandler.HttpWebServer.b__4_0(Object o)

--------------------------------ID 为 6628 的进程当前未运行。[11:43:19]--------------------------------
System.ArgumentException: ID 为 6628 的进程当前未运行。
在 System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
在 v2rayN.Handler.V2rayHandler.V2rayStop()

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver Stop 127.0.0.1

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver Stop 192.168.0.107

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver Stop 无法访问已释放的对象。
对象名:“System.Net.HttpListener”。

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver prefixes http://127.0.0.1:1082/pac/

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver running...

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver prefixes http://192.168.0.107:1082/pac/

--------------------------------拒绝访问。[11:43:20]--------------------------------
System.Net.HttpListenerException (0x80004005): 拒绝访问。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 v2rayN.HttpProxyHandler.HttpWebServer..ctor(String[] prefixes, Func`2 method)

--------------------------------info[11:43:20]--------------------------------
System.Exception: Webserver running...

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver Stop 127.0.0.1

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver Stop 192.168.0.107

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver Stop 无法访问已释放的对象。
对象名:“System.Net.HttpListener”。

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver prefixes http://127.0.0.1:1082/pac/

--------------------------------在前缀“http://127.0.0.1:1082/pac/”上侦听失败,因为它与计算机上的现有注册冲突。[11:43:44]--------------------------------
System.Net.HttpListenerException (0x80004005): 在前缀“http://127.0.0.1:1082/pac/”上侦听失败,因为它与计算机上的现有注册冲突。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 v2rayN.HttpProxyHandler.HttpWebServer..ctor(String[] prefixes, Func`2 method)

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver prefixes http://192.168.0.107:1082/pac/

--------------------------------拒绝访问。[11:43:44]--------------------------------
System.Net.HttpListenerException (0x80004005): 拒绝访问。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 v2rayN.HttpProxyHandler.HttpWebServer..ctor(String[] prefixes, Func`2 method)

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver running...

--------------------------------info[11:43:44]--------------------------------
System.Exception: Webserver running...

--------------------------------info[11:44:08]--------------------------------
System.Exception: Webserver Stop 127.0.0.1

--------------------------------info[11:44:08]--------------------------------
System.Exception: Webserver Stop 192.168.0.107

--------------------------------info[11:44:08]--------------------------------
System.Exception: Webserver Stop 无法访问已释放的对象。
对象名:“System.Net.HttpListener”。

--------------------------------info[11:44:32]--------------------------------
System.Exception: v2rayN start up

--------------------------------info[11:44:35]--------------------------------
System.Exception: WebserverB running...

--------------------------------info[11:44:35]--------------------------------
System.Exception: Webserver at 192.168.0.107

--------------------------------未将对象引用设置到对象的实例。[11:45:39]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.<>c__DisplayClass85_0.<tsbSubUpdate_Click>b__0(Object sender2, ResultEventArgs args)
在 v2rayN.Handler.V2rayUpdateHandle.Ws_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

--------------------------------未将对象引用设置到对象的实例。[11:45:48]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.<>c__DisplayClass85_0.<tsbSubUpdate_Click>b__0(Object sender2, ResultEventArgs args)
在 v2rayN.Handler.V2rayUpdateHandle.Ws_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

--------------------------------未将对象引用设置到对象的实例。[11:46:19]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.<>c__DisplayClass85_0.<tsbSubUpdate_Click>b__0(Object sender2, ResultEventArgs args)
在 v2rayN.Handler.V2rayUpdateHandle.Ws_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

--------------------------------info[11:46:36]--------------------------------
System.Exception: v2rayN start up

--------------------------------info[11:46:38]--------------------------------
System.Exception: WebserverB running...

--------------------------------info[11:46:38]--------------------------------
System.Exception: Webserver at 192.168.0.107

--------------------------------未将对象引用设置到对象的实例。[11:46:44]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.<>c__DisplayClass85_0.<tsbSubUpdate_Click>b__0(Object sender2, ResultEventArgs args)
在 v2rayN.Handler.V2rayUpdateHandle.Ws_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

--------------------------------无效的 URI: 未能确定 URI 的格式。[11:47:47]--------------------------------
System.UriFormatException: 无效的 URI: 未能确定 URI 的格式。
在 System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
在 v2rayN.Handler.V2rayUpdateHandle.WebDownloadString(String url)

--------------------------------Application_ThreadException[11:48:28]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.menuAddServers_Click(Object sender, EventArgs e)
在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

--------------------------------Application_ThreadException[11:48:42]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.menuAddServers_Click(Object sender, EventArgs e)
在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

--------------------------------info[11:48:49]--------------------------------
System.Exception: v2rayN start up

--------------------------------info[11:48:51]--------------------------------
System.Exception: WebserverB running...

--------------------------------info[11:48:51]--------------------------------
System.Exception: Webserver at 192.168.0.107

--------------------------------未将对象引用设置到对象的实例。[11:49:31]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.<>c__DisplayClass85_0.<tsbSubUpdate_Click>b__0(Object sender2, ResultEventArgs args)
在 v2rayN.Handler.V2rayUpdateHandle.Ws_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

--------------------------------Application_ThreadException[11:50:55]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.menuAddServers_Click(Object sender, EventArgs e)
在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

--------------------------------Application_ThreadException[11:51:21]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.bgwScan_ProgressChanged(Object sender, ProgressChangedEventArgs e)
在 System.ComponentModel.BackgroundWorker.OnProgressChanged(ProgressChangedEventArgs e)

--------------------------------Application_ThreadException[11:51:29]--------------------------------
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 v2rayN.Handler.ConfigHandler.AddServer(Config& config, VmessItem vmessItem, Int32 index)
在 v2rayN.Handler.ConfigHandler.AddBatchServers(Config& config, String clipboardData, String subid)
在 v2rayN.Forms.MainForm.AddBatchServers(String clipboardData, String subid)
在 v2rayN.Forms.MainForm.bgwScan_ProgressChanged(Object sender, ProgressChangedEventArgs e)
在 System.ComponentModel.BackgroundWorker.OnProgressChanged(ProgressChangedEventArgs e)
`

@Adiwon
Copy link

Adiwon commented Aug 15, 2019

换回2.31版本后恢复正常

@2dust
Copy link
Owner

2dust commented Aug 15, 2019

#17

@2dust 2dust closed this as completed Aug 15, 2019
@Sagittarius11129
Copy link

v2rayNG 下载 在哪个标签里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants