jazzymiles / sharexmod

Automatically exported from code.google.com/p/sharexmod
0 stars 0 forks source link

Object Reference Not Set To An Instance Of An Object #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Capture Image with shadow feature
2. Error message attached to this ticket is displayed
3. ShareXMod crashes and stops working

What is the expected output? What do you see instead?

Flawless upload of image to Imageshack was the result expected as experienced 
in 2.50

What version of the product are you using? On what operating system?
7.2.0.300 on Vista Ultimate

Please provide any additional information below.

I downloaded Microsoft Expression Encoder but that didn't help resolve the issue

Not sure what else you need. I've provided the best I know how but figured the 
ShareXMod log would be more detailed. I did uncheck the shadow feature and it 
works now. One of the developers stated I should be using Win 7 insead of Vista 
for it to work with the shadow feature (if I understood right but maybe I did 
not).  If I did understand right then as everything evolves the shadow feature 
no longer works on Vista. At any rate it does work by unchecking the shadow 
feature. 

Original issue reported on code.google.com by jshol...@gmail.com on 1 Apr 2013 at 1:28

Attachments:

GoogleCodeExporter commented 9 years ago
jshollis, thanks for the bug report; this has been already been fixed in the 
source however I haven't released a new build yet. Apart from this error, does 
the rest work after accepting the error?

Original comment by mcored on 1 Apr 2013 at 1:54

GoogleCodeExporter commented 9 years ago
Seems to work well. 

Original comment by jshol...@gmail.com on 1 Apr 2013 at 2:07

GoogleCodeExporter commented 9 years ago
When would you post that build?

Original comment by jshol...@gmail.com on 1 Apr 2013 at 5:58

GoogleCodeExporter commented 9 years ago
https://dl.dropbox.com/u/25501373/ShareXmod/2013-04/01/ShareXmod_x64-7.2.1.306-s
etup.exe

Original comment by mcored on 1 Apr 2013 at 6:53

GoogleCodeExporter commented 9 years ago
the x64.  Is that for an x64 machine?  I am on a 32 bit machine.

Original comment by jshol...@gmail.com on 1 Apr 2013 at 10:54

GoogleCodeExporter commented 9 years ago
There's a new featured build now, r309, with the fixes from above, plus 
command-line encoding.

Original comment by mopqu...@gmail.com on 1 Apr 2013 at 10:54

GoogleCodeExporter commented 9 years ago
You can run ShareXmod_x64 on a 32-bit machine because it is compiled for
AnyCPU. Sorry about the confusion. I could have named it ShareXmod_AnyCPU
but that was not a nice name. ShareXmod as it is now, is a forced 32-bit
exe so that MSEE4 can run without errors.

Original comment by mcored on 1 Apr 2013 at 10:59

GoogleCodeExporter commented 9 years ago
I just tried the new version with the shadow effect feature and this error 
came up in a dialog box (same as before) and then the app crashed and 
stopped working.  I click on the desktop icon to open it again It works if I 
don't choose shadow feature.

System.EntryPointNotFoundException: Unable to find an entry point named 
'GdipDeleteEffect' in DLL 'gdiplus.dll'.
   at GreenshotPlugin.UnmanagedHelpers.GDIplus.GdipDeleteEffect(IntPtr 
effect)
   at GreenshotPlugin.UnmanagedHelpers.GDIplus.ApplyBlur(Bitmap 
destinationBitmap, Rectangle area, Int32 radius, Boolean expandEdges)
   at GreenshotPlugin.Core.ImageHelper.CreateShadow(Image sourceBitmap, 
Single darkness, Int32 shadowSize, Point shadowOffset, Point& offset, 
PixelFormat targetPixelformat)
   at ShareX.UploadTask.DoBeforeImagePreparedJobs() in 
d:\Dev\ShareXmod\trunk\ShareX\UploadTask.cs:line 528
   at ShareX.UploadTask.DoThreadJob() in 
d:\Dev\ShareXmod\trunk\ShareX\UploadTask.cs:line 330
   at ShareX.UploadTask.ThreadDoWork() in 
d:\Dev\ShareXmod\trunk\ShareX\UploadTask.cs:line 245
   at HelpersLib.ThreadWorker.WorkThread() in 
d:\Dev\ShareX\trunk\HelpersLib\ThreadWorker.cs:line 61
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state, Boolean 
ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Original comment by jshol...@gmail.com on 1 Apr 2013 at 11:06

GoogleCodeExporter commented 9 years ago
The error was encountered using 7.2.309

Original comment by jshol...@gmail.com on 1 Apr 2013 at 11:08

GoogleCodeExporter commented 9 years ago
You said: 
If I did understand right then as everything evolves the shadow feature no 
longer works on Vista. At any rate it does work by unchecking the shadow 
feature. 

and what did you do :)
I just tried the new version with the shadow effect feature

Sorry - but this will not be fixed for Vista. 

Original comment by mcored on 1 Apr 2013 at 11:10

GoogleCodeExporter commented 9 years ago
The shadow border did (and does work on version 2.50).  Why would a newer 
version  7.2.309 then not support shadow border?

Original comment by jshol...@gmail.com on 1 Apr 2013 at 7:18

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r322.

Original comment by mcored on 5 Apr 2013 at 8:36