Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
AnswerRe: LINQ with ref parameter Pin
Richard Deeming4-Aug-16 2:43
mveRichard Deeming4-Aug-16 2:43 
QuestionCompress pdf/csv files to zip files Pin
NJdotnetdev3-Aug-16 8:34
NJdotnetdev3-Aug-16 8:34 
AnswerRe: Compress pdf/csv files to zip files Pin
OriginalGriff3-Aug-16 8:49
mveOriginalGriff3-Aug-16 8:49 
SuggestionRe: Compress pdf/csv files to zip files Pin
Richard Deeming3-Aug-16 10:24
mveRichard Deeming3-Aug-16 10:24 
GeneralRe: Compress pdf/csv files to zip files Pin
OriginalGriff3-Aug-16 10:49
mveOriginalGriff3-Aug-16 10:49 
GeneralRe: Compress pdf/csv files to zip files Pin
BillWoodruff3-Aug-16 19:47
professionalBillWoodruff3-Aug-16 19:47 
GeneralRe: Compress pdf/csv files to zip files Pin
Richard Deeming4-Aug-16 2:00
mveRichard Deeming4-Aug-16 2:00 
QuestionUsing SerializationEngine to input .obj file Pin
andycruce2-Aug-16 14:12
andycruce2-Aug-16 14:12 
I am using the following code line to input a .obj file with an associated .mtl file and several associated .jpg files pointed to by the .mtl file:

aerobaticsSceneControl.Scene - SerializationEngine.Instance.LoadScene(modelFile);

where model file the pointer to the .obj file.

I have on .obj file that loads correctly. However in another file I have downloaded I get the following exception message at the line above:

An unhandled exception of type System.ArgumentNullException; occurred in mscorlib.dll

Additional Information Value can not be null

I get the following debug messages which as someone new to this type of programming doesn't make any sense:

C#
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\Aerobatics Scene.vshost.exe'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x17dc has exited with code 0 (0x0).
The thread 0x5678 has exited with code 0 (0x0).
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\Aerobatics Scene.exe'. Symbols loaded.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.SceneGraph.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.WinForms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'D:\Aerobatics Project\Mitch's Stuff\July 13\Aerobatics Project\Aerobatics Scene\bin\Debug\SharpGL.Serialization.dll'. Symbols loaded.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.Composition\v4.0_4.0.0.0__b77a5c561934e089\System.ComponentModel.Composition.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'Aerobatics Scene.vshost.exe' (CLR v4.0.30319: Aerobatics Scene.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.ArgumentNullException' in mscorlib.dll
The program '[22836] Aerobatics Scene.vshost.exe' has exited with code -1 (0xffffffff).


I've used 3-D Builder to make sure that all the .jpg files properly link to the pointers in the .mtl file and that all seems Ok.

I'd appreciate any suggestions on where to go from here. Model loads properly when I remove the pointer to the .mtl file from the .obj file so at least I know the .obj file is not a fault.

Thanks for any help,

Andy Cruce
AnswerRe: Using SerializationEngine to input .obj file Pin
Richard MacCutchan2-Aug-16 20:30
mveRichard MacCutchan2-Aug-16 20:30 
AnswerRe: Using SerializationEngine to input .obj file Pin
Pete O'Hanlon2-Aug-16 20:57
mvePete O'Hanlon2-Aug-16 20:57 
Questionhow to use cast linq concept Pin
Member 100705702-Aug-16 2:27
Member 100705702-Aug-16 2:27 
AnswerRe: how to use cast linq concept Pin
OriginalGriff2-Aug-16 2:42
mveOriginalGriff2-Aug-16 2:42 
QuestionEager loading question Pin
Member 93644551-Aug-16 21:53
Member 93644551-Aug-16 21:53 
AnswerRe: Eager loading question Pin
Nathan Minier2-Aug-16 2:58
professionalNathan Minier2-Aug-16 2:58 
AnswerRe: Eager loading question Pin
Agent__0073-Aug-16 18:52
professionalAgent__0073-Aug-16 18:52 
Question.. Pin
Daniyaltjm1-Aug-16 20:49
Daniyaltjm1-Aug-16 20:49 
AnswerRe: check the password wi-fi in c# Pin
Richard MacCutchan1-Aug-16 22:11
mveRichard MacCutchan1-Aug-16 22:11 
General... Pin
Daniyaltjm1-Aug-16 22:14
Daniyaltjm1-Aug-16 22:14 
GeneralRe: check the password wi-fi in c# Pin
OriginalGriff1-Aug-16 22:41
mveOriginalGriff1-Aug-16 22:41 
GeneralMessage Closed Pin
1-Aug-16 22:46
Daniyaltjm1-Aug-16 22:46 
GeneralRe: check the password wi-fi in c# Pin
OriginalGriff1-Aug-16 22:50
mveOriginalGriff1-Aug-16 22:50 
GeneralMessage Closed Pin
1-Aug-16 23:05
Daniyaltjm1-Aug-16 23:05 
GeneralRe: check the password wi-fi in c# Pin
Pete O'Hanlon2-Aug-16 0:34
mvePete O'Hanlon2-Aug-16 0:34 
GeneralRe: check the password wi-fi in c# Pin
Richard MacCutchan1-Aug-16 23:03
mveRichard MacCutchan1-Aug-16 23:03 
GeneralMessage Closed Pin
1-Aug-16 23:11
Daniyaltjm1-Aug-16 23:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.