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

NullReferenceException #19

Open
guojieyuan-bd opened this issue Apr 16, 2021 · 1 comment
Open

NullReferenceException #19

guojieyuan-bd opened this issue Apr 16, 2021 · 1 comment

Comments

@guojieyuan-bd
Copy link

System.NullReferenceException: 未将对象引用设置到对象的实例。
在 IPALibrary.CodeSignature.CodeSignatureHelper.ResignExecutable(MachObjectFile file, String bundleIdentifier, List1 certificateChain, AsymmetricKeyEntry privateKey, Byte[] infoFileBytes, Byte[] codeResourcesBytes, EntitlementsFile entitlements) 在 IPALibrary.IPAFile.ResignIPA(List1 certificateChain, AsymmetricKeyEntry privateKey)
在 IPASign.MainForm.ResignIPA(IPAFile ipaFile, Byte[] mobileProvisionBytes, Byte[] signingCertificateBytes, String certificatePassword, String outputIPAPath)
在 IPASign.MainForm.btnSaveIPA_Click(Object sender, EventArgs e)
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@deepblue1004
Copy link

Same exception here

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 IPALibrary.CodeSignature.CodeSignatureHelper.ResignExecutable(MachObjectFile file, String bundleIdentifier, List`1 certificateChain, AsymmetricKeyEntry privateKey, Byte[] infoFileBytes, Byte[] codeResourcesBytes, EntitlementsFile entitlements)
   at IPALibrary.IPAFile.ResignIPA(List`1 certificateChain, AsymmetricKeyEntry privateKey)
   at IPASign.MainForm.ResignIPA(IPAFile ipaFile, Byte[] mobileProvisionBytes, Byte[] signingCertificateBytes, String certificatePassword, String outputIPAPath)
   at IPASign.MainForm.btnSaveIPA_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)

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

2 participants