Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bug with Charts -> Image export

    When testing your image export using the code here:
    http://www.smartclient.com/smartgwte...t_image_export
    I am not able to export the chart.

    I get this in the console:
    Code:
    14:29:27.972:INFO:Log:initialized
    14:29:29.332:INFO:Log:isc.Page is loaded
    14:29:40.861:MDN0:WARN:RPCManager:com.isomorphic.contentexport.ImageExportundefined - response: {operationId: "custom",
    clientContext: undef,
    internalClientContext: undef,
    context: Obj,
    transactionNum: 0,
    httpResponseCode: undef,
    httpResponseText: undef,
    xmlHttpRequest: undef,
    transport: "hiddenFrame",
    status: -1,
    clientOnly: undef,
    isStructured: true,
    callbackArgs: null,
    results: Obj,
    data: "com.isomorphic.contentexport.ImageExport"}
    Remote Debugging unavailable (Messaging endpoint not responding).  To enable Remote Debugging, see the Remote Debugging overview in the reference.
    Using smartgwt 5.0p 07.03.16 power

    #2
    Please see the FAQ for the information you need to post in order to enable others to help you.

    Comment


      #3
      The code is here:
      http://www.smartclient.com/smartgwte...t_image_export

      My smartgwt version:


      Using smartgwt 5.0p 07.03.16 power

      Chrome Version 48.0.2564.109 (64-bit) on a Mac (10.11.2)

      Server Logs:
      Code:
      === 2016-03-08 11:11:28,797 [ec-8] DEBUG RPCManager - Processing 1 requests.
      === 2016-03-08 11:11:28,798 [ec-8] DEBUG RPCManager - Request #1 (RPCRequest) data: {
          appID:"isc_builtin",
          className:"builtin",
          methodName:"exportImage",
          arguments:[
              "<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1632px' height='952px' viewBox='0 0 1632 952' version='1.1'><metadata><!-- Generated by SmartClient v10.0p_2016-03-07/PowerEdition Deployment --></metadata><g transform='translate(5 5) scale(1)'><svg width='1622' height='942'><g><text id='isc_DrawItem_0' x='780' y='14' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='14px' font-weight='bold' font-style='normal' fill='#808080' text-anchor='start'>Revenue</text><rect id='isc_DrawItem_1' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='butt' stroke='#000000' fill='#df5545' fill-opacity='1' x='719' y='921' width='16' height='16'></rect><text id='isc_DrawItem_2' x='740' y='933' dominant-baseline='text-before-edge' font-family=\"Arial\" font-size='10px' font-weight='normal' font-style='normal' fill='#333333' text-anchor='start'>North</text><rect id='isc_DrawItem_3' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='butt' stroke='#000000' fill='#7ae02d' fill-opacity='1' x='770' y='921' width='16' height='16'></rect><text id='isc_DrawItem_4' x='791' y='933' dominant-baseline='text-before-edge' font-family=\"Arial\" font-size='10px' font-weight='normal' font-style='normal' fill='#333333' text-anchor='start'>South</text><rect id='isc_DrawItem_5' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='butt' stroke='#000000' fill='#4d89f9' fill-opacity='1' x='823' y='921' width='16' height='16'></rect><text id='isc_DrawItem_6' x='844' y='933' dominant-baseline='text-before-edge' font-family=\"Arial\" font-size='10px' font-weight='normal' font-style='normal' fill='#333333' text-anchor='start'>East</text><rect id='isc_DrawItem_7' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='butt' stroke='#000000' fill='#2de0e0' fill-opacity='1' x='869' y='921' width='16' height='16'></rect><text id='isc_DrawItem_8' x='890' y='933' dominant-baseline='text-before-edge' font-family=\"Arial\" font-size='10px' font-weight='normal' font-style='normal' fill='#333333' text-anchor='start'>West</text><text id='isc_DrawItem_9' x='0' y='841' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>0</text><text id='isc_DrawItem_10' x='0' y='796' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>200</text><text id='isc_DrawItem_11' x='0' y='750' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>400</text><text id='isc_DrawItem_12' x='0' y='705' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>600</text><text id='isc_DrawItem_13' x='0' y='660' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>800</text><text id='isc_DrawItem_14' x='0' y='615' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>1,000</text><text id='isc_DrawItem_15' x='0' y='569' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>1,200</text><text id='isc_DrawItem_16' x='0' y='524' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>1,400</text><text id='isc_DrawItem_17' x='0' y='479' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>1,600</text><text id='isc_DrawItem_18' x='0' y='434' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>1,800</text><text id='isc_DrawItem_19' x='0' y='388' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>2,000</text><text id='isc_DrawItem_20' x='0' y='343' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>2,200</text><text id='isc_DrawItem_21' x='0' y='298' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>2,400</text><text id='isc_DrawItem_22' x='0' y='252' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>2,600</text><text id='isc_DrawItem_23' x='0' y='207' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>2,800</text><text id='isc_DrawItem_24' x='0' y='162' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>3,000</text><text id='isc_DrawItem_25' x='0' y='117' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>3,200</text><text id='isc_DrawItem_26' x='0' y='71' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>3,400</text><text id='isc_DrawItem_27' x='0' y='26' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' text-anchor='start'>3,600</text><line id='isc_DrawItem_28' stroke-width='2px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#999999' fill='none' fill-opacity='1' x1='30' y1='837' x2='1617' y2='837'></line><line id='isc_DrawItem_29' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='792' x2='1617' y2='792'></line><rect id='isc_DrawItem_30' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='747' width='1587' height='44'></rect><line id='isc_DrawItem_31' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='746' x2='1617' y2='746'></line><line id='isc_DrawItem_32' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='701' x2='1617' y2='701'></line><rect id='isc_DrawItem_33' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='657' width='1587' height='43'></rect><line id='isc_DrawItem_34' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='656' x2='1617' y2='656'></line><line id='isc_DrawItem_35' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='611' x2='1617' y2='611'></line><rect id='isc_DrawItem_36' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='566' width='1587' height='44'></rect><line id='isc_DrawItem_37' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='565' x2='1617' y2='565'></line><line id='isc_DrawItem_38' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='520' x2='1617' y2='520'></line><rect id='isc_DrawItem_39' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='476' width='1587' height='43'></rect><line id='isc_DrawItem_40' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='475' x2='1617' y2='475'></line><line id='isc_DrawItem_41' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='430' x2='1617' y2='430'></line><rect id='isc_DrawItem_42' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='385' width='1587' height='44'></rect><line id='isc_DrawItem_43' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='384' x2='1617' y2='384'></line><line id='isc_DrawItem_44' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='339' x2='1617' y2='339'></line><rect id='isc_DrawItem_45' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='295' width='1587' height='43'></rect><line id='isc_DrawItem_46' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='294' x2='1617' y2='294'></line><line id='isc_DrawItem_47' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='248' x2='1617' y2='248'></line><rect id='isc_DrawItem_48' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='204' width='1587' height='43'></rect><line id='isc_DrawItem_49' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='203' x2='1617' y2='203'></line><line id='isc_DrawItem_50' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='158' x2='1617' y2='158'></line><rect id='isc_DrawItem_51' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='114' width='1587' height='43'></rect><line id='isc_DrawItem_52' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='113' x2='1617' y2='113'></line><line id='isc_DrawItem_53' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='67' x2='1617' y2='67'></line><rect id='isc_DrawItem_54' stroke-width='3px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='butt' stroke='#808080' fill='#F7F7F7' fill-opacity='1' x='30' y='23' width='1587' height='43'></rect><line id='isc_DrawItem_55' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#BBBBBB' fill='none' fill-opacity='1' x1='30' y1='22' x2='1617' y2='22'></line><polyline id='isc_DrawItem_56' stroke-width='1px' stroke-opacity='1' stroke-dasharray='none' stroke-linecap='round' stroke='#df5545' fill='none' fill-opacity='1' points='40 812 85 695 130 656 174 677 219 764 264 741 309 647 353 616 398 737 443 763 488 735 532 797 577 809 622 780 667 659 712 726 756 784 801 738 846 686 891 727 935 656 980 716 1025 667 1070 758 1115 813 1159 791 1204 679 1249 728 1294 701 1338 619 1383 801 1428 655 1473 624 1517 639 1562 658 1607 776'></polyline><polyline id='isc_DrawItem_57' stroke-width='0px' stroke-opacity='0' stroke-dasharray='none' stroke-linecap='round' stroke='#df5545' fill='url(#gradient1)' fill-opacity='0.5' points='40 837 40 812 85 695 130 656 174 677 219 764 264 741 309 647 353 616 398 737 443 763 488 735 532 797 577 809 622 780 667 659 712 726 756 784 801 738 846 686 891 727 935 656 980 716 1025 667 1070 758 1115 813 1159 791 1204 679 1249 728 1294 701 1338 619 1383 801 1428 655 1473 624 1517 639 1562 658 1607 776 1607 837 1607 837 40 837'></polyline><text id='isc_DrawItem_58' x='46' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 46 842)' text-anchor='start'>1/1/2002</text><text id='isc_DrawItem_59' x='91' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 91 842)' text-anchor='start'>2/1/2002</text><text id='isc_DrawItem_60' x='136' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 136 842)' text-anchor='start'>3/1/2002</text><text id='isc_DrawItem_61' x='180' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 180 842)' text-anchor='start'>4/1/2002</text><text id='isc_DrawItem_62' x='225' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 225 842)' text-anchor='start'>5/1/2002</text><text id='isc_DrawItem_63' x='270' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 270 842)' text-anchor='start'>6/1/2002</text><text id='isc_DrawItem_64' x='315' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 315 842)' text-anchor='start'>7/1/2002</text><text id='isc_DrawItem_65' x='359' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 359 842)' text-anchor='start'>8/1/2002</text><text id='isc_DrawItem_66' x='404' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 404 842)' text-anchor='start'>9/1/2002</text><text id='isc_DrawItem_67' x='449' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 449 842)' text-anchor='start'>10/1/2002</text><text id='isc_DrawItem_68' x='494' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 494 842)' text-anchor='start'>11/1/2002</text><text id='isc_DrawItem_69' x='538' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 538 842)' text-anchor='start'>12/1/2002</text><text id='isc_DrawItem_70' x='583' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 583 842)' text-anchor='start'>1/1/2003</text><text id='isc_DrawItem_71' x='628' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 628 842)' text-anchor='start'>2/1/2003</text><text id='isc_DrawItem_72' x='673' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 673 842)' text-anchor='start'>3/1/2003</text><text id='isc_DrawItem_73' x='718' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 718 842)' text-anchor='start'>4/1/2003</text><text id='isc_DrawItem_74' x='762' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 762 842)' text-anchor='start'>5/1/2003</text><text id='isc_DrawItem_75' x='807' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 807 842)' text-anchor='start'>6/1/2003</text><text id='isc_DrawItem_76' x='852' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 852 842)' text-anchor='start'>7/1/2003</text><text id='isc_DrawItem_77' x='897' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 897 842)' text-anchor='start'>8/1/2003</text><text id='isc_DrawItem_78' x='941' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 941 842)' text-anchor='start'>9/1/2003</text><text id='isc_DrawItem_79' x='986' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 986 842)' text-anchor='start'>10/1/2003</text><text id='isc_DrawItem_80' x='1031' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1031 842)' text-anchor='start'>11/1/2003</text><text id='isc_DrawItem_81' x='1076' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1076 842)' text-anchor='start'>12/1/2003</text><text id='isc_DrawItem_82' x='1121' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1121 842)' text-anchor='start'>1/1/2004</text><text id='isc_DrawItem_83' x='1165' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1165 842)' text-anchor='start'>2/1/2004</text><text id='isc_DrawItem_84' x='1210' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1210 842)' text-anchor='start'>3/1/2004</text><text id='isc_DrawItem_85' x='1255' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1255 842)' text-anchor='start'>4/1/2004</text><text id='isc_DrawItem_86' x='1300' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1300 842)' text-anchor='start'>5/1/2004</text><text id='isc_DrawItem_87' x='1344' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1344 842)' text-anchor='start'>6/1/2004</text><text id='isc_DrawItem_88' x='1389' y='852' dominant-baseline='text-before-edge' font-family=\"Tahoma\" font-size='10px' font-weight='normal' font-style='normal' fill='#444444' transform='rotate(90 1389 842)' text-anchor='start'>7/1/2004</text><text id='isc_DrawItem_89' x='1434' y='852' dominant-baseline='text-before-edge' font-family=\"Taho....[truncated 7078bytes - to change, set config param RPCManager.maxRequestDebugLength to desired max bytes (in server.properties) - zero disables/negative value allows arbitrary length messages].
      === 2016-03-08 11:11:28,799 [ec-8] INFO  IDACall - Key[type=com.isomorphic.servlet.IDACall, annotation=[none]] - Performing 1 operation(s)
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG XML - Parsed XML from jar:file:/Users/eduardo/Documents/git/kids/kids/target/kids-1.4.5-SNAPSHOT/WEB-INF/lib/isomorphic-core-rpc-5.0-p20160307.jar!/isc_builtin.app.xml: 0ms
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'Application'
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG PoolableDataSourceFactory - Activated DataSource 13 of type 'Application'
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'ServerObject'
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 603 of type 'ServerObject' and assigned it to thread http-nio-8080-exec-8
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 603 of type 'ServerObject' in the pooling flow
      === 2016-03-08 11:11:28,803 [ec-8] DEBUG PoolableDataSourceFactory - Activated DataSource 603 of type 'ServerObject'
      === 2016-03-08 11:11:28,805 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'Method'
      === 2016-03-08 11:11:28,805 [ec-8] DEBUG XML - Parsed XML from /Users/eduardo/Documents/git/kids/kids/target/kids-1.4.5-SNAPSHOT/V010405SNAPSHOT/sc/system/schema/Method.ds.xml: 0ms
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'Object'
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 604 of type 'Object' and assigned it to thread http-nio-8080-exec-8
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 604 of type 'Object' in the pooling flow
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Activated DataSource 604 of type 'Object'
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'fields'
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Activated DataSource 456 of type 'fields'
      === 2016-03-08 11:11:28,806 [ec-8] WARN  Validation - attribute 'name' is not declared in Component Schema '{fields.ds.xml}' and strict mode is enabled.  See 'Strict Mode' overview in the documentation for details.Object.fields /Object[@ID=Method]/fields
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'name'
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'name' in the pooling flow
      === 2016-03-08 11:11:28,806 [ec-8] WARN  Validation - attribute 'args' is not declared in Component Schema '{fields.ds.xml}' and strict mode is enabled.  See 'Strict Mode' overview in the documentation for details.Object.fields /Object[@ID=Method]/fields
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'args'
      === 2016-03-08 11:11:28,806 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'args' in the pooling flow
      === 2016-03-08 11:11:28,807 [ec-8] WARN  Validation - attribute 'language' is not declared in Component Schema '{fields.ds.xml}' and strict mode is enabled.  See 'Strict Mode' overview in the documentation for details.Object.fields /Object[@ID=Method]/fields
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'language'
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'language' in the pooling flow
      === 2016-03-08 11:11:28,807 [ec-8] WARN  Validation - attribute 'script' is not declared in Component Schema '{fields.ds.xml}' and strict mode is enabled.  See 'Strict Mode' overview in the documentation for details.Object.fields /Object[@ID=Method]/fields
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG ISCKeyedObjectPool - Borrowing object for 'script'
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource null of type 'script' in the pooling flow
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 605 of type 'Method' and assigned it to thread http-nio-8080-exec-8
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG PoolableDataSourceFactory - Created DataSource 605 of type 'Method' in the pooling flow
      === 2016-03-08 11:11:28,807 [ec-8] DEBUG PoolableDataSourceFactory - Activated DataSource 605 of type 'Method'
      === 2016-03-08 11:11:28,809 [ec-8] DEBUG RPCDMI - appConfig: isc.Application.create({
          rpcBindings:[
              {
                  ID:"builtin",
                  className:"com.isomorphic.rpc.BuiltinRPC",
                  visibleMethods:[
                      {
                          name:"downloadWSDL"
                      },
                      {
                          name:"downloadClientContent"
                      },
                      {
                          name:"downloadClientExport"
                      },
                      {
                          name:"xmlToJS"
                      },
                      {
                          name:"uploadProgressCheck"
                      },
                      {
                          name:"saveFile"
                      },
                      {
                          name:"appendToFile"
                      },
                      {
                          name:"loadFile"
                      },
                      {
                          name:"deleteFile"
                      },
                      {
                          name:"loadSharedXML"
                      },
                      {
                          name:"saveSharedXML"
                      },
                      {
                          name:"getAvailableScriptEngines"
                      },
                      {
                          name:"devConsoleEvalServerScript"
                      },
                      {
                          name:"evalJava"
                      },
                      {
                          name:"getLogNames"
                      },
                      {
                          name:"getLogEntries"
                      },
                      {
                          name:"clearLogEntries"
                      },
                      {
                          name:"getLogThresholds"
                      },
                      {
                          name:"setLogThreshold"
                      },
                      {
                          name:"setTemporaryLogThreshold"
                      },
                      {
                          name:"revertTemporaryLogThresholds"
                      },
                      {
                          name:"getPdfObject"
                      },
                      {
                          name:"exportImage"
                      },
                      {
                          name:"areServerTimingsTracked"
                      },
                      {
                          name:"trackServerTimings"
                      }
                  ]
              },
              {
                  ID:"builtin_tools",
                  className:"com.isomorphic.tools.BuiltinRPC",
                  visibleMethods:[
                      {
                          name:"getDataSourceFromTable"
                      },
                      {
                          name:"getDataSourceJSONFromTable"
                      },
                      {
                          name:"getDataSourceFromHibernateMapping"
                      },
                      {
                          name:"getDataSourceJSONFromHibernateMapping"
                      },
                      {
                          name:"getTables"
                      },
                      {
                          name:"getFieldsFromTable"
                      },
                      {
                          name:"getBeanFields"
                      },
                      {
                          name:"getHibernateBeans"
                      },
                      {
                          name:"getDatabaseProductNameAndVersion"
                      },
                      {
                          name:"getDatabaseTableTypes"
                      },
                      {
                          name:"setAttributes"
                      },
                      {
                          name:"clearAttributes"
                      },
                      {
                          name:"getAttributes"
                      },
                      {
                          name:"getAttribute"
                      },
                      {
                          name:"getDataSourceConfigFromJavaClass"
                      },
                      {
                          args:"cName",
                          language:"groovy",
                          name:"getJavaSource",
                          script:"\n                    if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");                    \n                    //import org.apache.bcel.Repository;\n\n                    try {\n                        return org.apache.bcel.Repository.lookupClass(cName).toString();\n                    } catch (Throwable e) {\n                        return \"Unable to reverse engineer class \"+cName+\": \"+e.getMessage();\n                    }\n                "
                      },
                      {
                          name:"loadDataSource"
                      },
                      {
                          name:"dsFromXML"
                      },
                      {
                          name:"dsConfigFromXML"
                      },
                      {
                          name:"getDefinedDataSources"
                      }
                  ]
              },
              {
                  ID:"builtin_adminconsole",
                  className:"com.isomorphic.tools.AdminConsole",
                  visibleMethods:[
                      {
                          name:"getDefinedDatabases"
                      },
                      {
                          name:"testDB"
                      },
                      {
                          name:"saveDBConfig"
                      },
                      {
                          name:"setDefaultDB"
                      },
                      {
                          name:"importDataSources"
                      },
                      {
                          name:"discoverJNDIDatabases"
                      }
                  ]
              }
          ]
      })
      
      === 2016-03-08 11:11:28,817 [ec-8] ERROR InterfaceProvider - Unable to instantiate class 'com.isomorphic.contentexport.ImageExport' - check to make sure you have isomorphic_contentexport.jar (and its dependencies: isomorphic_core_rpc.jar, batik-script.jar, groovy-2.3.6.jar, commons-jxpath-1.3.jar, commons-pool-1.6.jar, xml-apis-ext.jar, batik-gvt.jar, httpcore-4.3.2.jar, xml-apis-1.3.04.jar, batik-svg-dom.jar, core-renderer.jar, xercesImpl-2.9.1.jar, commons-fileupload-1.3.1.jar, batik-ext.jar, commons-lang-2.6.jar, batik-awt-util.jar, batik-xml.jar, commons-vfs-1.0.jar, batik-css.jar, poi-ooxml-schemas-3.9-20121203.jar, activation.jar, poi-ooxml-3.9-20121203.jar, batik-bridge.jar, isc-jakarta-oro-2.0.6.jar, groovy-sql-2.3.6.jar, log4j-1.2.17.jar, batik-parser.jar, slf4j-api-1.7.7.jar, jtidy-r938.jar, xmlbeans-2.3.0.jar, commons-io-2.2.jar, velocity-1.7.jar, commons-cli-1.2.jar, hibernate-validator-4.1.0.Final.jar, mail.jar, javax.persistence.jar, iText-2.0.8.jar, groovy-jsr223-2.3.6.jar, batik-anim.jar, poi-3.9-20121203.jar, batik-util.jar, batik-dom.jar, validation-api-1.0.0.GA.jar, commons-collections-3.2.1.jar, httpclient-4.3.5.jar, commons-codec-1.6.jar) in your CLASSPATH
      === 2016-03-08 11:11:28,818 [ec-8] DEBUG RPCDMI - Invocation threw exception
      java.lang.ClassNotFoundException: com.isomorphic.contentexport.ImageExport
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:264)
          at com.isomorphic.base.Reflection.classForName(Reflection.java:141)
          at com.isomorphic.base.Reflection.getClassCache(Reflection.java:472)
          at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:190)
          at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:174)
          at com.isomorphic.interfaces.InterfaceProvider.load(InterfaceProvider.java:92)
          at com.isomorphic.rpc.BuiltinRPC.exportImage(BuiltinRPC.java:1022)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
          at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:805)
          at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:303)
          at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
          at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
          at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:334)
          at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:182)
          at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
          at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:117)
          at com.isomorphic.servlet.IDACall.doPost(IDACall.java:76)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
          at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
          at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
          at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
          at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
          at de.mks_infofabrik.kids.server.filter.GWTCacheControlFilter.doFilter(GWTCacheControlFilter.java:50)
          at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
          at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
          at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
          at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
          at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
          at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
          at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:745)
      === 2016-03-08 11:11:28,820 [ec-8] WARN  RequestContext - rpcRequest.execute() failed:
      java.lang.ClassNotFoundException: com.isomorphic.contentexport.ImageExport
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
          at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:264)
          at com.isomorphic.base.Reflection.classForName(Reflection.java:141)
          at com.isomorphic.base.Reflection.getClassCache(Reflection.java:472)
          at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:190)
          at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:174)
          at com.isomorphic.interfaces.InterfaceProvider.load(InterfaceProvider.java:92)
          at com.isomorphic.rpc.BuiltinRPC.exportImage(BuiltinRPC.java:1022)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
          at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:805)
          at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:303)
          at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
          at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
          at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:334)
          at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:182)
          at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
          at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:117)
          at com.isomorphic.servlet.IDACall.doPost(IDACall.java:76)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
          at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
          at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
          at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
          at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
          at de.mks_infofabrik.kids.server.filter.GWTCacheControlFilter.doFilter(GWTCacheControlFilter.java:50)
          at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
          at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
          at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
          at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
          at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
          at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
          at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
          at java.lang.Thread.run(Thread.java:745)
      === 2016-03-08 11:11:28,821 [ec-8] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
      === 2016-03-08 11:11:28,822 [ec-8] INFO  Compression - /kids-dev/V010405SNAPSHOT/sc/IDACall: 614 -> 382 bytes
      Seems com.isomorphic.contentexport.ImageExport is not found.
      But why? In my main html I included:
      Code:
      <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Drawing.js"></script>
       <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Charts.js"></script>
      And the charts are working correctly.

      Comment


        #4
        Using
        <inherits name="com.smartgwt.Drawing"/>
        <inherits name="com.smartgwt.Charts"/>
        did not help either. Still getting the same exception

        Comment


          #5
          See the error message in the log? You are missing either isomorphic_contentexport.jar or one of its dependencies.

          Comment


            #6
            Yes I see it, but how to include it ? is it a maven dependency?
            I have
            Code:
            <!-- The SmartGWT power edition -->
                    <dependency>
                        <groupId>com.isomorphic.smartgwt.power</groupId>
                        <artifactId>smartgwt-power</artifactId>
                        <version>${smartgwt.version}</version>
                    </dependency>
            
                    <!-- Add support for SQLDataSources -->
                    <dependency>
                        <groupId>com.isomorphic.smartgwt.power</groupId>
                        <artifactId>isomorphic-sql</artifactId>
                        <version>${smartgwt.version}</version>
                    </dependency>
                    
                    <!-- Real-Time Messaging -->
                    <dependency>
                        <groupId>com.isomorphic.smartgwt.power</groupId>
                        <artifactId>isomorphic-messaging</artifactId>
                        <version>${smartgwt.version}</version>
                    </dependency>
            
                    <!-- Add the Network Performance module -->
                    <dependency>
                        <groupId>com.isomorphic.smartgwt.power</groupId>
                        <artifactId>isomorphic-network</artifactId>
                        <version>${smartgwt.version}</version>
                        <type>pom</type>
                    </dependency>
            And tried with
            Code:
            <dependency>
                        <groupId>com.isomorphic.smartgwt.power</groupId>
                        <artifactId>isomorphic-contentexport</artifactId>
                        <version>${smartgwt.version}</version>
                    </dependency>
            But this doesn't work

            Comment


              #7
              [WARNING] The POM for com.isomorphic.smartgwt.power:isomorphic-contentexport:jar:5.0-p20160307 is missing, no dependency information available

              Comment


                #8
                It's isomorphic-content-export.

                Comment


                  #9
                  Thanks.
                  Now I get:

                  Code:
                  === 2016-03-08 11:51:11,388 [ec-1] DEBUG RPCDMI - Invocation threw exception
                  java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
                      at com.isomorphic.contentexport.ImageExport.writePNG(ImageExport.java:29)
                      at com.isomorphic.rpc.BuiltinRPC.exportImage(BuiltinRPC.java:1028)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:497)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:805)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:303)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
                      at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
                      at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:334)
                      at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:182)
                      at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
                      at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:117)
                      at com.isomorphic.servlet.IDACall.doPost(IDACall.java:76)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
                      at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
                      at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
                      at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
                      at de.mks_infofabrik.kids.server.filter.GWTCacheControlFilter.doFilter(GWTCacheControlFilter.java:50)
                      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
                      at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
                      at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
                      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
                      at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
                      at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
                      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
                      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                      at java.lang.Thread.run(Thread.java:745)
                  Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent
                      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
                      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
                      ... 50 more
                  === 2016-03-08 11:51:11,390 [ec-1] WARN  RequestContext - rpcRequest.execute() failed:
                  java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
                      at com.isomorphic.contentexport.ImageExport.writePNG(ImageExport.java:29)
                      at com.isomorphic.rpc.BuiltinRPC.exportImage(BuiltinRPC.java:1028)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:497)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:805)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:303)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
                      at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:231)
                      at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:334)
                      at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:182)
                      at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
                      at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:117)
                      at com.isomorphic.servlet.IDACall.doPost(IDACall.java:76)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
                      at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                      at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
                      at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
                      at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
                      at de.mks_infofabrik.kids.server.filter.GWTCacheControlFilter.doFilter(GWTCacheControlFilter.java:50)
                      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
                      at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
                      at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
                      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
                      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
                      at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
                      at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
                      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
                      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
                      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                      at java.lang.Thread.run(Thread.java:745)
                  Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent
                      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
                      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
                      ... 50 more
                  === 2016-03-08 11:51:11,391 [ec-1] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
                  === 2016-03-08 11:51:11,391 [ec-1] INFO  Compression - /kids-dev/V010405SNAPSHOT/sc/IDACall: 608 -> 382 bytes
                  So batik is missing?
                  Which maven module is necessary for this?

                  Is this documented somewhere? in http://github.smartclient.com/isc-maven-plugin/ I didn't find anything. For example, how to know it is isomorphic-content-export and not isomorphic-contentexport ?

                  Comment


                    #10
                    The Java Module Dependencies doc covers all of the dependencies. The Maven plugin gives the list of modules when you run the isc:install goal, however, we already had plans to also add this module list to the Maven wiki.

                    You'll note that Batik is only necessary for IE8 and earlier. If you need to support that browser, you need dependencygroup-batik added as well.

                    Comment


                      #11
                      Thanks.

                      If Batik is only necessary for IE8 and earlier why am I getting this exception I posted ?
                      Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent I am using chrome as I posted earlier and do not need to support IE8.

                      Comment


                        #12
                        Maybe the problem is somewhere else. Please take a look at the exception.

                        Comment


                          #13
                          Isomorphic? I am still not able to export images, please refer to the exception above

                          Comment


                            #14
                            Sorry, we didn't realize you meant you were still getting that exception. There's not much more we can do on that - you're clearly still missing libraries, so something must be wrong in your project confit somewhere.

                            We are however, still looking into whether there's a Batik dependency for non-IE8.

                            Comment


                              #15
                              Yes please check this, as I don't want to add unnecessary dependencies.

                              Even though, while trying to add:
                              Code:
                                      <dependency>
                                          <groupId>com.isomorphic.smartgwt.power</groupId>
                                          <artifactId>dependencygroup-batik</artifactId>
                                          <version>${smartgwt.version}</version>
                                      </dependency>
                              I get:
                              Code:
                              Missing artifact com.isomorphic.smartgwt.power:dependencygroup-batik:jar:5.0-p20160310

                              Comment

                              Working...
                              X