用户
 找回密码
 立即注册

15

主题

41

帖子

627

积分

高级会员

Rank: 4

积分
627
发表于 2023-3-14 08:40:00
2023/03/13 11:04:05 [SmobilerProcess8269_RunSingleProcess] Init:listenval=60 MaxMemory=0 IsHidden=False
2023/03/13 11:04:05 [SmobilerProcess-EX] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Smobiler.Core.MobileServer.set_StartUpForm(Type Value)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
   at Smobiler.Service.Process.SmoProcessDomain.Start(Dictionary`2 dataModel)
   at Smobiler.Service.Process.Program.Main(String[] args)
C:\Program Files (x86)\Smobiler Service\server\Config\AppSettings\8269.appsetting
Try `SmobilerProcess --help' for more information.
2023/03/13 11:04:06 [SmobilerProcess8269_RunSingleProcess_While_Ex] System.Exception: Process HasExited with code 0
   at KfZfIn3fR2RRjQjc3I.g2TmXOvfOhw5TB4ipY.ISUXDZ7rUf()
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_While_Finally server status True deamon status False
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] Begin Leap......
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] Leap Sucessful.....
2023/03/13 11:04:06 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False

分享至 : QQ空间
0 人收藏
使用道具 举报 回复
发表于 2023-3-14 09:42:57
应该是你起始窗体写的不对,起始窗体可以在frmMain.cs中查看,

例如上图的起始窗体就是SmobilerForm6

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
使用道具 举报 回复 支持 反对
发表于 2023-3-14 10:06:32
Lula.Jin 发表于 2023-3-14 09:42
应该是你起始窗体写的不对,起始窗体可以在frmMain.cs中查看,

例如上图的起始窗体就是SmobilerForm6 ...

恩恩,这个问题解决了,但又出现了新的错误
2023/03/14 10:00:47 [SmobilerProcess-EX] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at System.Net.Sockets.TcpListener.Start(Int32 backlog)
   at ..()
   at Smobiler.Core.MobileServer.(Boolean )
   at Smobiler.Core.MobileServer.StartServer()
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Smobiler.Service.Process.SmoProcessDomain.Start(Dictionary`2 dataModel)
   at Smobiler.Service.Process.Program.Main(String[] args)
C:\Program Files (x86)\Smobiler Service\server\Config\AppSettings\8269.appsetting
Try `SmobilerProcess --help' for more information.
2023/03/14 10:00:47 [SmobilerProcess8269_RunSingleProcess_While_Ex] System.Exception: Process HasExited with code 0
   at KfZfIn3fR2RRjQjc3I.g2TmXOvfOhw5TB4ipY.ISUXDZ7rUf()
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_While_Finally server status True deamon status False
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] Begin Leap......
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] Leap Sucessful.....
2023/03/14 10:00:47 [SmobilerProcess8269_StopSingleProcess] for RunSingleProcess_Finally server status True deamon status False
使用道具 举报 回复 支持 反对
发表于 2023-3-14 10:10:09
知道这个是什么意思,解决了,谢谢
使用道具 举报 回复 支持 反对
发新帖
您需要登录后才可以回帖 登录 | 立即注册