An error occurred creating the form. See Exception.InnerException for

I'm stuck on this problem. Any assistance will be welcome. I've no problem sharing the code and/or project if needed.

System.InvalidOperationException was unhandled
Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Value cannot be null.
Parameter name: path"
Source="Tin Can"
StackTrace:
at FreakishNoteGenerator.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at FreakishNoteGenerator.My.MyProject.MyForms.get_form1()
at FreakishNoteGenerator.My.MyApplication.OnCreateMainForm() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorMy ProjectApplication.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at FreakishNoteGenerator.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at System.Activator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.ArgumentNullException
Message="Value cannot be null.
Parameter name: path"
Source="mscorlib"
ParamName="path"
StackTrace:
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at FreakishNoteGenerator.Foundry.TBLoad() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.vb:line 143
at FreakishNoteGenerator.Foundry.MasterLoadF() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.vb:line 37
at FreakishNoteGenerator.Foundry.rbRep_CheckedChanged(Object sender, EventArgs e) in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.vb:line 209
at System.Windows.Forms.RadioButton.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.RadioButton.set_Checked(Boolean value)
at FreakishNoteGenerator.Foundry.rbRep_CheckedChanged(Object sender, EventArgs e) in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.vb:line 207
at System.Windows.Forms.RadioButton.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.RadioButton.set_Checked(Boolean value)
at FreakishNoteGenerator.Foundry.InitializeComponent() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.Designer.vb:line 113
at FreakishNoteGenerator.Foundry..ctor() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorFoundry.vb:line 16
at FreakishNoteGenerator.LoginForm..ctor() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorLoginForm.vb:line 5
at FreakishNoteGenerator.form1..ctor() in C:Documents and Settings403803DesktopDesktop HolderTin Can Sup 1.3 codeFreakishNoteGeneratorform1.vb:line 22
InnerException:

Comments

  • This is code in question. I'm lost enough that I don't know where to begin looking for this stupid error.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion