Generic Error at Image Mapping at CRXDE Component Extractor

When I try to map a image from this website I just imported at CRXDE Lite at CQ5.4 (Component Extractor), I got this generic error message.
I've already try to map the image with image component, flash component and others, everytime with the same error.
Both the component folder and the Path folder exists. Can somebody help me?

Here's the error.log output for this situation:
14.03.2012 14:43:04.060 *ERROR* [0:0:0:0:0:0:0:1 [1331746984029] POST /libs/wcm/bin/siteimporter/generate HTTP/1.1] com.day.cq.wcm.siteimporter.servlet.PageGeneratorServlet Could not generate page component java.lang.IllegalArgumentException: relPath is not a relative path: {}
{}etc
{}designs
{}logo.jpg
at org.apache.jackrabbit.spi.commons.name.PathFactoryImpl.create(PathFactoryImpl.java:47)
at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:62)
at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:37)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:1783)
at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1735)
at com.day.cq.wcm.siteimporter.util.PageGenerator.replace(PageGenerator.java:175)
at com.day.cq.wcm.siteimporter.servlet.PageGeneratorServlet.doPost(PageGeneratorServlet.java :113)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:148)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:344)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:375)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:529)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:269)
at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:119)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:84)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:161)
at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:183)
at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)
at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)
at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)
at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)
at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)
at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)
at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)
at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)
at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )
at java.lang.Thread.run(Unknown Source)
I've already tried the follow paths to my component:
  /etc/designs/
  /etc/designs (with and without last character "/")
  /etc/designs/logo.jpg
  /etc/designs/test (with and without last character "/")
  /etc/designs/test/logo.jpg
Can anybody help me figure out what's going on?
Thanks.

Similar Messages

  • A generic error occurred in GDI+ while assing tiff image file to Bitmap and Image

    Hi,
    I am getting "A generic error occurred in GDI+" error while reading the tiff image file to Bitmap or Image.
    Below is my sample code.
    string filePath=@"c:\Images\sample.tif";
    Bitmap bmp=new Bitmap(filePath);   // here getting exception
    int totalpages=bmp.GetFrameCount(.....);
    etc......
    I tried using Bitmap.FromFile() and also from FromStream() even for Image also but there is no use.
    Moreover i m having full permissions for the file path and the tiff file is having multiple pages.
    Can anyone help me to solve this issue please.
    Thanks & Regards,
    Kishore
    Kishore

    Make sure that the Tif file is valid (can other software open it)?  If you are able to save a Tif using GDI+, try saving that Tif, then opening it.  Part of me wonders if there is something about that specific Tif that GDI+ doesn't like.
    You could also try using WIC to open the TIF, perhaps you would have better luck there.

  • GDI+ Generic Error, multple frame tiff, multiple image formats

    This is a question I posted on stack exchange, but have not gotten any answers.  This is occurring on Windows Server 2008 R2 systems.
    I have seen many issues involving the GDI+ Generic Error, but I have not seen this particular matter raised before. We are consistently getting the error, on Windows systems other than Windows 8, when attempting to read (System.Drawing.Image.SelectActiveFrame)
    a multiple-frame tiff that includes frames in mixed Photometric Interpretation formats. That is to say, the file includes both RGB color and min-is-white formats, with corresponding differences in the Bits/Sample and Samples/Pixel frame parameters. The error
    is consistently raising as soon as a frame is encountered with a format that is different from that of the first frame.
    // Convert File from .tiff to .PDF
    static void ConvertFile(string file, string pdffilename)
    string localMessage = string.Empty;
    try
    //if it's a PDF Just renamed it and continue
    if (file.ToLower().Contains(".pdf"))
    File.Copy(file, pdffilename);
    return;
    // If file exists return
    if (File.Exists(pdffilename)) { return; }
    using (var stream = new FileStream(pdffilename, FileMode.Create))
    localMessage = "01";
    var document = new iTextSharp.text.Document();
    localMessage = "01";
    var writer = iTextSharp.text.pdf.PdfWriter.GetInstance(document, stream);
    localMessage = "02";
    var bm = Bitmap.FromFile(file);
    localMessage = "03";
    var total = bm.GetFrameCount(FrameDimension.Page);
    localMessage = "04";
    document.Open();
    //iTextSharp.text.pdf.PdfContentByte cb = writer.DirectContent;
    localMessage = "05";
    iTextSharp.text.Image img = null;
    for (var currentframe = 0; currentframe < total; ++currentframe)
    localMessage = "06=>" + currentframe.ToString();
    bm.SelectActiveFrame(FrameDimension.Page, currentframe);
    localMessage = "07=>" + currentframe.ToString();
    img = iTextSharp.text.Image.GetInstance(bm, ImageFormat.Bmp);
    localMessage = "08=>" + currentframe.ToString();
    img.ScalePercent(72f / img.DpiX * 100);
    localMessage = "09=>" + currentframe.ToString();
    img.SetAbsolutePosition(0, 0);
    localMessage = "10=>" + currentframe.ToString();
    iTextSharp.text.Rectangle pageRect = new iTextSharp.text.Rectangle(0, 0, img.ScaledWidth, img.ScaledHeight);
    localMessage = "11=>" + currentframe.ToString();
    document.SetPageSize(pageRect);
    localMessage = "12=>" + currentframe.ToString();
    document.NewPage();
    localMessage = "13=>" + currentframe.ToString();
    document.Add(img);
    localMessage = "14";
    bm.Dispose();
    localMessage = "15";
    document.Close();
    localMessage = "16";
    stream.Close();
    catch (Exception exception)
    string msg = exception.Message + "\r\n" +
    "Coversion Error--\r\n" +
    "\tinput file name: " + file + "\r\n" +
    "\toutput file name: " + pdffilename + "\r\n" +
    "\tlocal message" + localMessage + "\r\n";
    Console.WriteLine(msg);
    SaveError(msg);
    throw;
    The "local message" is always "06=>n", where n is the 0-based index of the frame that transitions to a new format.
    The error occurs whether the transition is from black and white to color, or color to black and white.  The issue does not seem to occur on Windows 8 boxes, but we only have W8 developer PCs, not servers.  It is a production process and needs to
    be deployed on a server.
    Does anyone know why this is happening or how to fix it?

    Hi,
    For the GDI related issue, i think you may ask in the following forums:
    http://forums.asp.net/150.aspx/1?System+Drawing+GDI+
    Thanks for your understanding.
    Regards.
    Vivian Wang

  • AS3 Image Map Linking Issue - No compiler errors

    Hello,
    I've made an image map in Flash using AS3, however it does not seem to be working properly.
    The links only work in a strange succession. In order to click all the links you must first click the last link followed by the first link, then the second link. After that the image map behaves as it is supposed to. I'm not sure why this is happening.
    It complies without error and aside from the little quirk mentioned above, it works beautifully.
    I've checked and double checked the AS, even copied and pasted some code from one button to another to see if it would make a difference, but to no avail.
    I am using the code listed below:
    [quote]
    button1.addEventListener(MouseEvent.CLICK, callLink1);
    function callLink1 (event: MouseEvent) :void {
         var url:String = ("http://www.google.com");
         var request:URLRequest = new URLRequest (url);
         try
             navigateToURL (request, "_parent");
             catch (e:Error) {
                 trace ("Error occurred!");
    [/quote]
    Any and all help would be much appreciated, thank you!

    I'd second Dan's last point, there is really not enough information here to help identify the actual problem.
    What I would suggest is that you put everything into one event handler so perhaps that might simplify working on it..something like:
    button1.addEventListener(MouseEvent.CLICK, callLink);
    button2.addEventListener(MouseEvent.CLICK, callLink);
    button3.addEventListener(MouseEvent.CLICK, callLink);
    function callLink(event: MouseEvent):void {
        var url:String;
        switch (event.target) {
            case button1 :
                url="http://www.google.com";
                break;
            case button2 :
                url="http://www.yahoo.com";
                break;
            case button3 :
                url="http://forums.adobe.com/thread/417263?tstart=0";
                break;
            default :
                url="http://www.adobe.com";
                break;
        var request:URLRequest = new URLRequest (url);
        try {
            navigateToURL(request, "_parent");
        } catch (e:Error) {
            trace("Error occurred!");
    If you have everything set up in one listener function like that it may be easier to debug and maintain.

  • Image maps error with IE 6

    Hallo!
    I have a problem with Internet Explorer 6 (Windows XP) and only 2 image maps with rollovers on a page with a total of 6 image maps.
    This is the page:
    http://www.eqmultimedia.it/paolobisi/home_2009f.html
    Everything is OK on Mac OS X (Safari and Firefox) and IE 7 on Windows XP and Vista.
    ONLY the 2 image maps named "ART FOR SALE" and "CONTACT" do not work with IE 6.
    This is my workflow:
    - Page design in Photoshop.
    - Slices, image maps, rollovers and remote rollovers with ImageReady
    - Save html page and images folder from ImageReady
    - Import html page and images folder in Golive CS
    - Check and correct ALL the links in the image-map code generated with ImageReady
    - Export site from Golive (with Flatten Script Library) and FTP transfer on Unix server.
    I suspect that the image-map code is not FULLY loaded by IE6 and for this reason only 2 image maps on the page do not works.
    Any suggestion will be very appreciated.
    Thank you and sorry for my English!
    ettore

    Correct link:
    www.eqmultimedia.it/paolobisi/home_2009f.html
    Sorry!
    ettore

  • Image Map duplication error

    I have a curious problem with image maps. Whenever they are
    placed in the top of the page, in a table, they are duplicated and
    offset in the bottom of the page and vice versa. If I draw an IM
    for example in the bottom of the page there is a hot spot created
    with the same link in the top of the page in the first table row.
    If I delete the unwanted hot spot (duplicate) it removes the
    wanted IM.
    If I delete the image in the bottom table it seems that when
    I added a Flash button the top IM then had no problem. In Photoshop
    there are no maps in the image.
    Is this due to a #div container, padding, floats, or
    something ?
    Here is the map code;
    <map name="Map" id="Map"><area shape="rect"
    coords="48,137,293,167" href="../color/index.html" target="_top"
    alt="blah"
    onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
    onmouseover="MM_nbGroup('over','navBarRLink02','images/cmO_02.jpg','',1)"
    onmouseout="MM_nbGroup('out')" /><area shape="rect"
    coords="134,110,329,134" href="../HP9180_review.htm" target="_top"
    alt="printer reviews"
    onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
    onmouseover="MM_nbGroup('over','navBarRLink02','images/printerO_02.jpg','',1)"
    onmouseout="MM_nbGroup('out')" /><area shape="rect"
    coords="207,67,332,93" href="portraits.html" target="_top"
    alt="portraits"
    onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
    onmouseover="MM_nbGroup('over','navBarRLink02','images/portraitsO_02.jpg','',1)"
    onmouseout="MM_nbGroup('out')" />
    <area shape="rect" coords="231,42,328,67"
    href="stills.html" target="_top" alt="stills"
    onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
    onmouseover="MM_nbGroup('over','navBarRLink02','images/stillsO_02.jpg','',1)"
    onmouseout="MM_nbGroup('out')" />
    <area shape="rect" coords="246,16,344,40"
    href="beauty.html" target="_top" alt="beauty"
    onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
    onmouseover="MM_nbGroup('over','navBarRLink02','images/navBarR_02.jpg','',1)"
    onmouseout="MM_nbGroup('out')" />
    </map></body>
    </html>

    Your narrative is too vague to follow. Sorry.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Neil Snape" <[email protected]> wrote in
    message
    news:g0shio$sg4$[email protected]..
    > Unfortunately I didn't save the original html page that
    was doing this.
    > Thanks for your replies though.
    >
    > What I did was delete the Td, and TR, more than once ,
    then rather than
    > importing the same image just added a background image.
    I was then able to
    > place two Flash buttons into the TR, and no duplication
    of the hot zones.
    > After
    > deleting the Flash buttons I was able to add two text
    zones and place hot
    > zones
    > over the text whereas before they were duplicating and
    deplacing the
    > zones.
    > Strange, I have no idea why, but it works as expected
    now.
    >

  • Can I use an Image Map to link to an SLP

    I am working on a project starting with the Desktop Catalog with Homepage layout, and have created 4 additional generic SLPs.  I added an image to the homepage slp and would like to use an image map to link to the 4 generic slps that I created.  But I get an error when running the site and clicking on any of the image map links.  Clicking on the link opens a new window with a "This program cannot display the webpage".  At times I have gotten a script error when clicking the link rather than the This program... message, but I cant seem to replicate that at the moment.
    I am able to do a simple hyperlink on the image to an slp, but this, of course, only gives me the ability to link to one of my additional pages....
    Any ideas?
    John

    I did finally figure this out...  it is possible to map to an slp file from an image map...  the trick has to do with how slp files work in RH,and makes sense, sort of, once I got it to work.  When you generate html5, htm files are generated fromthe slps.
    When you link to an slp file in a regular hyperlink, during the generation of the site, RH translates the slp refernce to the htm file reference that is generated from the slp.  But for some reason, i.e., a bug IMHO, with an image map, when you link to an slp file, RH does not convert this slp reference to the .htm reference (as it does with normal, non-image map hyperlinks. 
    So the way to get this to work, is when you create the image map link, put in the htm file name that will be created during generation.
    John

  • Image Map not working in Dreamweaver CC

    I'm trying to create an image map over a jpeg but when I try to draw a rectangle over the image, a grey stroke gets placed over the image then moves with the cursor.
    Here is the only code on the page. Any ideas as to why this isn't working?
    <img src="/SampleImage.jpg" alt="" width="900" height="2779" style="margin: 5px; width: 649px; height: 2000px;"/>

    Let me see if I have this right...
    1. From Design View, you are clicking your image to select it
    2. You are then selecting the Rectangle tool from the bottom left of the Properties window
    3. You are then clicking and dragging on the image in Design View to create your map area
    4. DW puts a grey line around the image and moves it instead of adding the image map and area tags?
    Run your page for code errors at http://validator.w3.org. I can't duplicate what you describe and DW will do strange things when code errors are present, it could be an error DW doesn't know how to fix that's causing the normal image map functionality to fail.
    If you have clean code and are doing what I list above and it's still not working, it may be time to clear the program cache:Deleting a corrupted cache file

  • ExternalException was unhandled : A generic error occurred in GDI+.

    I am try to save this bitmap as jpg file for every 5 sec. It works fine at another application, before I move this method to another app. The error message shows ExternalException was unhandled : A generic error occurred in GDI+. I do not know if
    it is write permission issure or anything else. Since I use same computer and try to save at same file path, the error message keep going. I think I need help.
    The error code:
    public void captureScreen()
    bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    Debug.WriteLine("width:{0}, height:{1}", Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
    gfxScreenshot = Graphics.FromImage(bmpScreenshot);
    gfxScreenshot.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
    //Save the screenshot to the specified path that the user has chosen
    i++;
    string i1 = Convert.ToString(i);
    string name = "good" + i1 + ".jpg";
    ImageCodecInfo jpg = GetEncoder(ImageFormat.Jpeg);
    System.Drawing.Imaging.Encoder myEncoder = System.Drawing.Imaging.Encoder.Quality;
    EncoderParameters myEncoderParameters = new EncoderParameters(1);
    EncoderParameter myEncoderParameter = new EncoderParameter(myEncoder,
    50L);
    myEncoderParameters.Param[0] = myEncoderParameter;
    bmpScreenshot.Save(name, jpg,
    myEncoderParameters);
    Bitmap bitmap = new Bitmap(name);
    System.Drawing.Image image = (System.Drawing.Image)bitmap;
    The error shows here:
    bmpScreenshot.Save(name, jpg,
    myEncoderParameters);
    And Only alow me save one jpg, then pop up error

    Hi
    Since I can't reproduce your issue with some
    undefined code.
    Just take a look at from
    Graphics.FromImage Method
      in MSDN  document.
    You should always call the Dispose method to release the
    Graphics and related resources created by the
    FromImage method.  Please try and test it again.
    If still can't resolve, please post the complete code.  Thanks.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSRS 2012 SP2 - Windows 2008R2 - Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+

    Hi,
    I have built new SQL 2012 SSRS SP2 with Windows 2008R2 and BAR reports are not showing (just "x" mark in the left corner).
    Following is the log file information. I have gone through other forums and all are with windows 8 or windows 2012. Your help is much appreciated.
    library!ReportServer_0-15!d7c!08/13/2014-10:52:17:: i INFO: RenderForNewSession('/ProductionReporting/PlantProduction')
    reportrendering!ReportServer_0-15!d7c!08/13/2014-10:52:18:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred
    in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
       at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
       at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
       at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
       --- End of inner exception stack trace ---;
    Thanks,
    Vel
    Vel Thavasi

    Hi Vel,
    According to the error message, the issue is related to GDI+. Based on my research, it is a known issue that the GDI+ need to be updated on Windows Server 2008 R2. If we want to know what version of GDI+, we can do a file search for Gdiplus.dll.
    To fix this issue, please install the hotfix for your Windows Server 2008 R2 from the following kb:
    http://support.microsoft.com/kb/2495074
    There following thread about the similar issue is for your reference:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/50c071db-b4fc-4a2e-a9f4-e10e833c97d2/report-not-rendering-charts-in-pdf-a-generic-error-occurred-in-gdi?forum=sqlreportingservices
    If there are any other questions, please let me know freely.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Report not rendering charts in pdf (A generic error occurred in GDI+)

    I've found the following exception stack trace in the Report Server log:
    ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: , Microsoft.ReportingServices.ReportProcessing.RenderingObjectModelException: A generic error occurred in GDI+. ---> System.Runtime.InteropServices.ExternalException:
    A generic error occurred in GDI+.
       at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
       at Microsoft.Reporting.Chart.WebForms.Chart.Save(Stream imageStream, ChartImageFormat format)
       at Microsoft.ReportingServices.OnDemandReportRendering.ChartMapper.GetImage(ImageType imageType)
       --- End of inner exception stack trace ---;
    I've got no idea what this is, any help would be appreciated. I don't know what could potentially cause this, so I don't even know how to start looking for a fix.
    Other info:
    SSRS 2012 BI
    Win Server 2008 R2 (Running on Hyper-V)
    The pdf report(s) renders and is saved to the location it is meant to, but devoid of any charts. A data driven subscription controls the rendering.

    Hi,
    This is a known issue with Windows GDI+. To resolve the issue, please install the hotfix for youR Windows Server 2008 R2 from:
    http://support.microsoft.com/kb/2495074
    Regards,
    Mike Yin
    TechNet Community Support

  • Bitmap.Save 'A generic error occurred in GDI+'

    Hello All,
    I was just going to play around by generating some bitmaps programatically.
    I started off with this simple example, expecting everything to go smoothly, but have run into a strange error.
    The following code is by no means good, just something simple and complete I would expect to work:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    namespace BitmapOutput
        public partial class Form1 : Form
            /// <summary>
            /// The picture i am drawing
            /// </summary>
            System.Drawing.Bitmap myBitmap;
            /// <summary>
            /// Graphics object for drawing
            /// </summary>
            System.Drawing.Graphics myGrafx;
            public Form1()
                InitializeComponent();
                this.myBitmap = new Bitmap(800, 600);
                this.myGrafx =                 System.Drawing.Graphics.FromImage(this.myBitmap);
                this.DrawPicture();
                this.ShowPicture();
                this.SavePicture();
            public void DrawPicture()
                this.myGrafx.DrawEllipse(
                    new Pen(System.Drawing.Color.AliceBlue),                 new Rectangle(0, 0, 100, 100));
            public void ShowPicture()
                this.pictureBox1.Image = this.myBitmap;
            public void SavePicture()
                this.myBitmap.Save("Output\\out.bmp" ,                    System.Drawing.Imaging.ImageFormat.Bmp );
    This runs fine until the SavePicture(...) function is called.
    I get the exception:
    "A generic error occurred in GDI+."
    at the this.myBitmap.Save(...); line.
    Most likely there is some detail that I have overlooked, and I appreciate it if anyone could point out to me what I could do to fix it.
    But, I'd like to think that this code would work, it makes sense, and requires little effort, that should be one of the goals of .net
    Any help or ideas are greatly appreciated!
    P.S. how do I use 'code' tags?

    Actually, the fix is to properly dispose of your objects in order.  This is one advantage of C#, with the using() syntax:
    // new image with transparent Alpha layer
    using (var bitmap = new Bitmap(330, 18, PixelFormat.Format32bppArgb))
    using (var graphics = Graphics.FromImage(bitmap))
    // add some anti-aliasing
    graphics.SmoothingMode = SmoothingMode.AntiAlias;
    using (var font = new Font("Arial", 14.0f, GraphicsUnit.Pixel))
    using (var brush = new SolidBrush(Color.White))
    // draw it
    graphics.DrawString(user.Email, font, brush, 0, 0);
    // setup the response
    Response.Clear();
    Response.ContentType = "image/png";
    Response.BufferOutput = true;
    // write it to the output stream
    bitmap.Save(Response.OutputStream, ImageFormat.Png);
    Response.Flush();
    Notice how I dispose (end the using) of the graphics parameter, before I save it?  You don't have to use the using() statements, just call Dispose() at the end of the scope I show above.
    I ran into this problem today on Azure (works locally in the cloud, just an Azure 1.3 thing!), and I saw the link to the blog post above.  That was a good link, as it pointed me in the direction of disposing the graphics earlier.
    But, there is no point of increasing hte memory usage of two bitmaps if you dispose of your graphics properly before saving.
    http://eduncan911.com

  • The error is " The Mapping to Node has not been completed

    Hi All,
    I am getting a strange type of error and need help immediately.
    The error is " The Mapping to Node COMPONENTCONTROLLER.1.PLANNING_ENTITY Has Not Been Completed" for the node that exists in the Parent component and is being used in all the child nodes thru reverse mapping.
    I have done mapping in all the child nodes but still the message is coming.
    Could anybody tell me the reason .
    Regards,
    Arti.

    Basically somewhere you have defined a context node 'PLANNING_ENTITY'  to be an Input-Element. At the same time you did not define (through a component usage at design time) where the input to that node is coming from. This means the mapping path to the node is not complete, and the node does not know where it is mapped to.
    Either:
    - You untick the checkbox 'Input-Element (ext.)' inside the controller context, or
    - You find the component that uses the component with the node 'PLANNING_ENTITY' and select Component_Usage->'Name of Usage'->'Add controller usage'. Inside the controller menu you see then, you can now provide a mapping to the context node.
    I realise this now sounds a little confusing, but I'm happy to provide more details should you need them.
    Cheers,
    Robin

  • Images and image maps do not respond to events on Safari

    Hello everyone,
    We have been experiencing issues with events not responding to images associated with image maps, on Safari browser. After the DOM is loaded with new image and corresponding image maps, events such as mouseover and click observing this divs do not respond or get triggered. DOM seems to be updated correctly but behaves differently (and it works correctly in all other browsers except Safari).
    This behaviour is only noticed in Safari browser running both on Windows and Mac. (Tested on Safari Version 3.1.1 on running on Windows and Mac)
    For you all to have a closer look at this issue, I have created a sample that has this problem, similar to one we experienced during one of our recent projects. Please click on the link below to get to the sample (I recommend you to try this either in Firefox or IE before you do on Safari)
    http://www.hivegroup.com/safari/test.html
    (In the above sample,
    - the javascript code initializes the DOM with image and image map
    - assigns two event listeners to the div containing this image and image map
    - when mouse pointer brought over the image, it shows the area id in the 'mobox' div
    - when clicked, DOM is updated with a new image and new corresponding image map, assigns new event listeners and should continue with the same kinda behaviour it did for the first image (but doesn't in Safari browser))
    All inputs on this issue are welcome and greatly appreciated.
    Thanking you in advance.
    Regards,
    Shashi.

    Let me explain what the pink area is. Like the first image that contains two white boxes, the pink area (as you call it) is a new image (containing four pink areas or boxes having an area id denoted to each) that imgDiv occupies after the 'click' event occurs.
    Yep, i gathered that from seeing it work on firefox...
    The point that I'm trying to make here is, there shouldn't be any difference in behaviour when imgDiv holds first image (two white boxes) or the second image (four pink boxes) that you get after we click on image or the third image (containing 6 boxes, multiple colors) which you won't be able to reach in safari browser.
    well... I can reach them, but only via the blue space.
    . We'll notice change in the red box displaying target id only when we mouse over a new area that is not currently being displayed in the red box.
    except in webkit for safari 2, where thered bpx content sticks at whatever it was when the first image was clicked, unless mouse is moved to the 'all area', and then it sticks on imgdiv.
    I completely understand what you see in safari 2. But are you saying there's some error in my script ? If so could you please point out and justify.
    I dunno Shashi, just pointing out the errors that Safari 2 reports when I view your test page, in the hope it might help. I know little of javascript

  • Getting Error in User Mapping

    Menu path :  User Administration > User Mapping > User Mapping .
    Searching    (blank) in Users
    Clicking start
    getting the following error :
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.user_administration/com.sap.portal.user_mapping/com.sap.portal.userMappingAdmin/com.sap.portal.userMappingAdmin
    Component Name : com.sap.portal.usermanagement.admin.UserMappingAdmin
    User with id USER.R3_DATASOURCE.AC010-99 not found!.
    Exception id: 05:41_15/12/05_0004_3446650
    See the details for the exception ID in the log file
    Please help me out. cannot understand anything .

    Hi Alfred
    In the log file I found the following information :
    Date : 12/19/2005
    Time : 10:52:40:250
    Category : /System/Server
    Message ID : 00142216317C004A0000000B0000095C0004083FBD63465C
    Severity : Error
    Location : com.sap.portal.portal
    Source Name : com.sap.portal.portal
    Thread : Thread[PRT-Async 0,5,PRT-Async]
    Message : Exception ID:10:52_19/12/05_0005_3446650
    [EXCEPTION]
    com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal
    Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/
    com.sap.portal.userMappingAdmin/
    com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.
    run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable
    .run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException: User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Datasource : 3446650:D:\usr\sap\EP1\JC00\j2ee\cluster\server0\log\defaultTrace.trc
    Application : sap.com/irj
    Argument Objs : com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/com.sap.portal.
    userMappingAdmin/com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.
    ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException:
    User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.
    getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Arguments : com.sapportals.portal.prt.component.
    PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/administrator/super_admin/
    super_admin_role/com.sap.portal.user_administration/
    com.sap.portal.user_mapping/com.sap.portal.
    userMappingAdmin/com.sap.portal.userMappingAdmin
    Component class : com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent
    User : RAKTIMB
         at com.sapportals.portal.prt.core.PortalRequestManager.
    handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.
    doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.
    AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.
    ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.
    run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sapportals.portal.prt.component.
    PortalComponentException: PortalComponentException
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doContent(UserMappingAdminComponent.java:150)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.
    AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.
    callPortalComponent(PortalRequestManager.java:328)
         ... 7 more
    Caused by: com.sap.security.api.NoSuchUserException: User with id USER.R3_DATASOURCE.AC010-99 not found!
         at com.sap.security.core.imp.UserFactory.getReadonlyUsers(UserFactory.java:274)
         at com.sap.security.core.imp.UserFactory.getUsers(UserFactory.java:288)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingTableModel.searchUsers(UserMappingTableModel.java:171)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.searchUsers(UMTableModel.java:566)
         at com.sapportals.portal.prt.component.usermanagement.
    UMTableModel.search(UMTableModel.java:438)
         at com.sapportals.portal.prt.component.usermanagement.
    UserMappingAdminComponent.doHandleHTMLBEvent(UserMappingAdminComponent.java:226)
         ... 11 more
    Dsr Component : IN45CCUSAPEP01_EP1_3446650
    Dsr Transaction : 77742a80704f11da8ab400142216317c
    Dsr User : Guest
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Server
    Resource Bundlename :
    Session : 314
    Source : com.sap.portal.portal
    ThreadObject : Thread[PRT-Async 0,5,PRT-Async]
    Transaction :
    User : RAKTIMB
    Regards
    Raktim

Maybe you are looking for

  • Conta Inválida Conta de Ativos

    Olá, bom dia. Estou com a seguinte situação e gostaria de saber se alguém pode me ajudar. Meu cliente precisa atualizar uma informação no cadastro de um fornecedor e quando ele clica em ATUALIZAR aparece a mensagem: "CONTA INVÁLIDA CONTA DE ATIVOS".

  • Lower half of my screen is green!

    Okay, now I'm frustrated. I've got my project all lined up and I click FILE -> BUILD. (My intent is to burn a VIDEO_TS folder in Toast, because DVD SP won't burn for me, but that's another discussion). Simulating my disc seems fine. However, when I b

  • Problem exporting my projections

    exporting the projection of my photos, Lightroom 5 always stops at 10% of the process. I've tried numerous times and always stops at this 10% progress of the process. What can I be doing wrong?

  • Pages 5 Bug - Lists dont recognise state of continued lists

    Hi, I'm not sure if this is a bug or a useless feature. The checkbox wich allows proceeeding or continuing a list automatic doesnt take any effect. It cant be saved with the list. Everytime I want to continue a list after some other pragraph, it star

  • How to start I/O tuning

    Hi, How can i tune I/O? Kindly, anyone can explain I/O tuning step wise.