Announcement

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

    PDF Attempt Fails w/ Class Not Found

    Attempting my first PDF export...

    Test Code:
    Code:
    package com.smartgwt.sample.client;
    
    import com.google.gwt.core.client.EntryPoint;
    import com.smartgwt.client.data.DSRequest;
    import com.smartgwt.client.rpc.RPCManager;
    import com.smartgwt.client.widgets.Canvas;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.TextItem;
    
    public class TestPDF implements EntryPoint {
    
    	public void onModuleLoad() {
    		final Canvas canvas = new Canvas();
    		canvas.setWidth(300);
    		canvas.setBorder("2px solid Red");
    
    		DynamicForm formPrint = new DynamicForm();
    		formPrint.setWidth(200);
    		formPrint.setHeight(100);
    		formPrint.setTop(20);
    		formPrint.setLeft(50);
    		formPrint.setBorder("2px solid Black");
    
    		TextItem textItem = new TextItem();
    		textItem.setName("NameBo");
    		textItem.setTitle("Title");
    		textItem.setValue("Value goes here...");
    
    		formPrint.setFields(textItem);
    
    		canvas.addChild(formPrint);
    
    		canvas.draw();  // to view onscreen
    
    		DSRequest requestProperties = new DSRequest();
    		requestProperties.setDownloadResult(true);
    
    		RPCManager.exportContent(canvas, requestProperties);
    
    	}
    
    }
    Server log shows:
    Code:
    === 2012-01-23 11:26:02,264 [0-10] INFO  Compression - /BuiltInDS.html: 2139 -> 957 bytes
    === 2012-01-23 11:26:02,358 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: C:\eclipse\workspace\builtinds\war\builtinds\sc\skins\Enterprise\load_skin.js
    === 2012-01-23 11:26:02,780 [0-10] INFO  Download - Returning 304: Not modified on conditional get of: C:\eclipse\workspace\builtinds\war\builtinds\sc\skins\Enterprise\skin_styles.css
    === 2012-01-23 11:26:08,996 [0-10] INFO  RequestContext - URL: '/builtinds/sc/IDACall', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
    === 2012-01-23 11:26:09,011 [0-10] DEBUG XML - Parsed XML from (in memory stream): 15ms
    === 2012-01-23 11:26:09,027 [0-10] DEBUG RPCManager - Processing 1 requests.
    === 2012-01-23 11:26:09,027 [0-10] DEBUG RPCManager - Request #1 (RPCRequest) data: {
        appID:"isc_builtin",
        className:"builtin",
        methodName:"getPdfObject",
        arguments:[
            "<div class='normal' ><div class='normal' ><TABLE role='presentation' ID='isc_3' WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0><COL WIDTH=100><COL><tr><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD></TR><TR><TD  $89='isc_TextItem_1' $9a='$9g' ID=isc_4 CLASS='formTitle' ALIGN='right' VALIGN='middle'><LABEL FOR=isc_7>Title</LABEL>&nbsp;:</TD><TD ALIGN=left CLASS='formCell' STYLE='' ID=isc_6 $89='isc_TextItem_1'><DIV isDisabledEventMask='true' style='overflow:hidden;position:absolute;width:146px;height:22px' $89='isc_TextItem_1' $9a='$9b' ID='isc_8'><SPAN STYLE='WIDTH:1600px;HEIGHT:100px;overflow:hidden;'>&nbsp;</SPAN></DIV><INPUT TYPE=TEXT NAME='' ID='isc_9' handleNativeEvents=false $89='isc_TextItem_1' $9a='$9b' ONINPUT='isc_TextItem_1.$43g()' READONLY=TRUE value='Value goes here...' AUTOCOMPLETE=OFF  CLASS='textItem' STYLE='WIDTH:146px;HEIGHT:22px;margin-top:-1px;margin-bottom:-1px;'  TABINDEX=-1></TD></TR></TABLE></div></div>",
            {
                dirDefaultSkin:"http://127.0.0.1:8888/builtinds/sc/skins/Enterprise/"
            }
        ],
        is_ISC_RPC_DMI:true
    }
    === 2012-01-23 11:26:09,027 [0-10] INFO  IDACall - Performing 1 operation(s)
    === 2012-01-23 11:26:09,043 [0-10] 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:"getLogThresholds"
                    },
                    {
                        name:"setLogThreshold"
                    },
                    {
                        name:"getPdfObject"
                    }
                ]
            },
            {
                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"
                    }
                ]
            }
        ]
    })
    
    === 2012-01-23 11:26:09,043 [0-10] DEBUG RPCDMI - Invocation threw exception
    java.lang.NoClassDefFoundError: org/xhtmlrenderer/extend/UserAgentCallback
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Unknown Source)
    	at com.isomorphic.base.Reflection.classForName(Reflection.java:137)
    	at com.isomorphic.base.Reflection.getClassCache(Reflection.java:470)
    	at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:188)
    	at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:172)
    	at com.isomorphic.interfaces.InterfaceProvider.load(InterfaceProvider.java:92)
    	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:823)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
    	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
    	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
    	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:245)
    	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
    	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
    	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.Server.handle(Server.java:324)
    	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    Caused by: java.lang.ClassNotFoundException: org.xhtmlrenderer.extend.UserAgentCallback
    	at java.lang.ClassLoader.findClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:352)
    	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
    	... 44 more
    === 2012-01-23 11:26:09,043 [0-10] ERROR IDACall - Top-level servlet error: 
    java.lang.NoClassDefFoundError: org/xhtmlrenderer/extend/UserAgentCallback
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Unknown Source)
    	at com.isomorphic.base.Reflection.classForName(Reflection.java:137)
    	at com.isomorphic.base.Reflection.getClassCache(Reflection.java:470)
    	at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:188)
    	at com.isomorphic.base.Reflection.instantiateClass(Reflection.java:172)
    	at com.isomorphic.interfaces.InterfaceProvider.load(InterfaceProvider.java:92)
    	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:823)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
    	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
    	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
    	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:245)
    	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
    	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
    	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    	at org.mortbay.jetty.Server.handle(Server.java:324)
    	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
    Caused by: java.lang.ClassNotFoundException: org.xhtmlrenderer.extend.UserAgentCallback
    	at java.lang.ClassLoader.findClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:352)
    	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
    	... 44 more
    === 2012-01-23 11:26:09,043 [0-10] INFO  Compression - /builtinds/sc/IDACall: 3732 -> 948 bytes
    Using
    SmartClient Version: SC_SNAPSHOT-2012-01-20_v8.2p/PowerEdition Deployment (built 2012-01-20)

    Please advise, thanks.

    #2
    Probably missing .jars - for a first cut, copy everything we ship, verify that fixes the error, then consider which you really need (if you are trying to save disk space or similar).

    Comment


      #3
      from that classnotfoundexception, at least you're lacking core-renderer.jar

      Comment


        #4
        Update: I started from scratch (fresh install of Eclipse on up), and got a more helpful error message:

        "...check to make sure you have isomorphic_contentexport.jar (and its dependencies) in your CLASSPATH: "

        It then gave a list of other jar files. Some I could import from the root smartgwtpower3.0p/lib folder:
        ########################################
        activation.jar
        commons-cli-1.1.jar
        commons-codec-1.3.jar
        commons-fileupload-1.2.1.jar
        commons-httpclient-3.1.jar
        commons-jxpath-1.3.jar
        commons-lang-2.4.jar
        commons-pool-1.4.jar
        hibernate-validator-4.1.0.Final.jar
        isc-jakarta-oro-2.0.6.jar
        isomorphic_core_rpc.jar
        log4j-1.2.15.jar
        mail.jar
        poi-3.6-20091214.jar
        poi-ooxml-3.6-20091214.jar
        poi-ooxml-schemas-3.6-20091214.jar
        validation-api-1.0.0.GA.jar
        velocity-1.6.1.jar
        xbean.jar
        xercesImpl.jar (found in apache-ant-1.7.1/lib folder)
        xml-apis.jar (found in apache-ant-1.7.1/lib folder)
        ########################################

        But these jars I could not find in either the licensed Power or eval EE downloads:
        ########################################
        commons-vfs-1.0.jar,
        core-renderer.jar,
        groovy-all-1.8.4.jar,
        iText-2.0.8.jar,
        jtidy-r938.jar,
        ########################################

        Please advise on how to proceed, thanks.

        Comment


          #5
          You just need jtidy and itext - we'll be bundling these in the future if possible, but both are easily found via Google.

          Comment


            #6
            Status Update: I have imported the JARs. Now getting error on getPdfObject method.

            Imported these JARs and added to the Build Path:
            ########################################
            commons-vfs-1.0.jar
            core-renderer.jar
            groovy-all-1.8.4.jar
            iText-2.0.8.jar
            + bcmail-jdk14.jar (download site listed this as dependency)
            + bcprov-jdk14-138.jar (dependency)
            jtidy-r938.jar
            ########################################

            Upon launch, I get a SmartClient Warning dialog with message:
            "Server returned FAILURE with no error message performing operation 'custom'."

            The SmartClient Developer Console "RPC" tab shows an operation type "getPdfObject" with status of FAILURE. The Request payload tabs are blank. The Response payload tab shows
            [
            {
            status:-1,
            data:null
            }
            ]

            Server log shows:
            Code:
            === 2012-01-24 10:40:48,679 [l0-4] INFO  Download - Returning 304: Not modified on conditional get of: C:\eclipse\workspace\builtinds\war\builtinds\sc\skins\Enterprise\load_skin.js
            === 2012-01-24 10:40:48,757 [0-20] INFO  Compression - /builtinds/sc/modules/ISC_Core.js: 707931 -> 183400 bytes
            === 2012-01-24 10:40:49,272 [0-20] INFO  Download - Returning 304: Not modified on conditional get of: C:\eclipse\workspace\builtinds\war\builtinds\sc\skins\Enterprise\skin_styles.css
            === 2012-01-24 10:41:23,991 [0-15] INFO  RequestContext - URL: '/builtinds/sc/IDACall', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
            === 2012-01-24 10:41:24,007 [0-15] DEBUG XML - Parsed XML from (in memory stream): 16ms
            === 2012-01-24 10:41:24,022 [0-15] DEBUG RPCManager - Processing 1 requests.
            === 2012-01-24 10:41:24,022 [0-15] DEBUG RPCManager - Request #1 (RPCRequest) data: {
                appID:"isc_builtin",
                className:"builtin",
                methodName:"getPdfObject",
                arguments:[
                    "<div class='normal' ><div class='normal' ><TABLE role='presentation' ID='isc_3' WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0><COL WIDTH=100><COL><tr><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD></TR><TR><TD  $89='isc_TextItem_1' $9a='$9g' ID=isc_4 CLASS='formTitle' ALIGN='right' VALIGN='middle'><LABEL FOR=isc_7>Title</LABEL>&nbsp;:</TD><TD ALIGN=left CLASS='formCell' STYLE='' ID=isc_6 $89='isc_TextItem_1'><DIV isDisabledEventMask='true' style='overflow:hidden;position:absolute;width:146px;height:22px' $89='isc_TextItem_1' $9a='$9b' ID='isc_8'><SPAN STYLE='WIDTH:1600px;HEIGHT:100px;overflow:hidden;'>&nbsp;</SPAN></DIV><INPUT TYPE=TEXT NAME='' ID='isc_9' handleNativeEvents=false $89='isc_TextItem_1' $9a='$9b' ONINPUT='isc_TextItem_1.$43g()' READONLY=TRUE value='Value goes here...' AUTOCOMPLETE=OFF  CLASS='textItem' STYLE='WIDTH:146px;HEIGHT:22px;margin-top:-1px;margin-bottom:-1px;'  TABINDEX=-1></TD></TR></TABLE></div></div>",
                    {
                        dirDefaultSkin:"http://127.0.0.1:8888/builtinds/sc/skins/Enterprise/"
                    }
                ],
                is_ISC_RPC_DMI:true
            }
            === 2012-01-24 10:41:24,022 [0-15] INFO  IDACall - Performing 1 operation(s)
            === 2012-01-24 10:41:24,038 [0-15] 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:"getLogThresholds"
                            },
                            {
                                name:"setLogThreshold"
                            },
                            {
                                name:"getPdfObject"
                            }
                        ]
                    },
                    {
                        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"
                            }
                        ]
                    }
                ]
            })
            
            === 2012-01-24 10:41:24,038 [0-15] DEBUG RPCDMI - Invocation threw exception
            java.lang.NullPointerException
            	at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)
            	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:824)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
            	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
            	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:245)
            	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
            	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
            	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
            	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
            	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
            	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
            	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
            	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
            	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
            	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
            	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
            	at org.mortbay.jetty.Server.handle(Server.java:324)
            	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
            	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
            	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
            	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
            	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
            	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
            === 2012-01-24 10:41:24,038 [0-15] WARN  RequestContext - rpcRequest.execute() failed: 
            java.lang.NullPointerException
            	at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)
            	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:824)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
            	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
            	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:245)
            	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
            	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
            	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
            	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
            	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
            	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
            	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
            	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
            	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
            	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
            	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
            	at org.mortbay.jetty.Server.handle(Server.java:324)
            	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
            	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
            	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
            	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
            	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
            	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
            === 2012-01-24 10:41:24,038 [0-15] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
            === 2012-01-24 10:41:24,038 [0-15] INFO  Compression - /builtinds/sc/IDACall: 499 -> 309 bytes
            === 2012-01-24 10:41:24,288 [0-15] INFO  RequestContext - URL: '/builtinds/sc/system/reference/skin/images/server_client_exchange.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
            === 2012-01-24 10:41:24,304 [0-15] INFO  Download - File C:/eclipse/workspace/builtinds/war/builtinds/sc/system/reference/skin/images/server_client_exchange.png not found, sending 404
            === 2012-01-24 10:41:24,726 [0-15] INFO  RequestContext - URL: '/builtinds/sc/system/reference/skin/images/server_client_exchange.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
            === 2012-01-24 10:41:24,726 [0-15] INFO  Download - File C:/eclipse/workspace/builtinds/war/builtinds/sc/system/reference/skin/images/server_client_exchange.png not found, sending 404
            Your guidance is appreciated, thanks.
            Last edited by tinnitus007; 24 Jan 2012, 10:43.

            Comment


              #7
              I rebuilt w/ 01/25/2012 Nightly build.

              Same error,

              "DEBUG RPCDMI - Invocation threw exception java.lang.NullPointerException at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)..."

              Code:
              ISC: Configuring log4j from: file:/C:/eclipse/workspace/builtinds/war/WEB-INF/classes/log4j.isc.config.xml
              === 2012-01-25 16:38:09,155 [main] INFO  ISCInit - Isomorphic SmartClient Framework - Initializing
              === 2012-01-25 16:38:09,170 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
              === 2012-01-25 16:38:09,311 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/C:/eclipse/workspace/builtinds/war/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
              === 2012-01-25 16:38:09,311 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
              === 2012-01-25 16:38:09,311 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
              === 2012-01-25 16:38:09,326 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/C:/eclipse/workspace/builtinds/war/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
              === 2012-01-25 16:38:09,326 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
              === 2012-01-25 16:38:09,326 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/eclipse/workspace/builtinds/war/WEB-INF/classes/server.properties
              === 2012-01-25 16:38:09,358 [main] INFO  Logger - Logging system started.
              === 2012-01-25 16:38:09,358 [main] INFO  ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2012-01-25_v8.2p/PowerEdition Deployment 2012-01-25) - Initialization Complete
              === 2012-01-25 16:38:09,373 [main] INFO  ISCInit - Auto-detected webRoot - using: C:\eclipse\workspace\builtinds\war
              log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
              log4j:WARN Please initialize the log4j system properly.
              === 2012-01-25 16:38:20,405 [9997] INFO  RequestContext - URL: '/BuiltInDS.html', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,451 [9997] INFO  Compression - /BuiltInDS.html: 2130 -> 963 bytes
              === 2012-01-25 16:38:20,451 [9997] DEBUG ServletTools - setting cookie 'isc_cState' to: 'ready'
              === 2012-01-25 16:38:20,530 [e.js] INFO  RequestContext - URL: '/builtinds/builtinds.nocache.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,576 [e.js] INFO  Compression - /builtinds/builtinds.nocache.js: 14248 -> 3468 bytes
              === 2012-01-25 16:38:20,576 [.gif] INFO  RequestContext - URL: '/builtinds/clear.cache.gif', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [c.js] INFO  RequestContext - URL: '/builtinds/sc/initsc.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [n.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Foundation.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [e.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Core.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [s.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Grids.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [s.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Containers.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,592 [s.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Forms.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,608 [r.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_RichTextEditor.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,608 [r.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_Calendar.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,608 [g.js] INFO  RequestContext - URL: '/builtinds/sc/modules/ISC_DataBinding.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,623 [n.js] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/load_skin.js', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:20,733 [c.js] INFO  Compression - /builtinds/sc/initsc.js: 47 -> 72 bytes
              === 2012-01-25 16:38:20,764 [r.js] INFO  Compression - /builtinds/sc/modules/ISC_RichTextEditor.js: 39887 -> 11132 bytes
              === 2012-01-25 16:38:20,780 [s.js] INFO  Compression - /builtinds/sc/modules/ISC_Containers.js: 130459 -> 30911 bytes
              === 2012-01-25 16:38:20,826 [r.js] INFO  Compression - /builtinds/sc/modules/ISC_Calendar.js: 104144 -> 25145 bytes
              === 2012-01-25 16:38:20,858 [n.js] INFO  Compression - /builtinds/sc/modules/ISC_Foundation.js: 235004 -> 55600 bytes
              === 2012-01-25 16:38:20,920 [e.js] INFO  Compression - /builtinds/sc/modules/ISC_Core.js: 707931 -> 183400 bytes
              === 2012-01-25 16:38:20,920 [s.js] INFO  Compression - /builtinds/sc/modules/ISC_Grids.js: 751780 -> 189175 bytes
              === 2012-01-25 16:38:20,936 [n.js] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/load_skin.js
              === 2012-01-25 16:38:20,936 [n.js] INFO  Compression - /builtinds/sc/skins/Enterprise/load_skin.js: 30235 -> 6410 bytes
              === 2012-01-25 16:38:20,983 [g.js] INFO  Compression - /builtinds/sc/modules/ISC_DataBinding.js: 571515 -> 140908 bytes
              === 2012-01-25 16:38:20,998 [s.js] INFO  Compression - /builtinds/sc/modules/ISC_Forms.js: 631792 -> 154001 bytes
              === 2012-01-25 16:38:21,483 [.css] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/skin_styles.css', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:21,483 [ESTS] INFO  RequestContext - URL: '/builtinds/sc/DataSourceLoader', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:21,498 [.css] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/skin_styles.css
              === 2012-01-25 16:38:21,498 [.css] INFO  Compression - /builtinds/sc/skins/Enterprise/skin_styles.css: 65873 -> 8768 bytes
              === 2012-01-25 16:38:21,561 [ESTS] INFO  PoolManager - SmartClient pooling disabled for 'EMPLOYEE' objects
              === 2012-01-25 16:38:21,670 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\builtinTypes.xml: 31ms
              === 2012-01-25 16:38:21,826 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\ds\EMPLOYEE.ds.xml: 15ms
              === 2012-01-25 16:38:21,842 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\DataSource.ds.xml: 16ms
              === 2012-01-25 16:38:22,264 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\DataSourceField.ds.xml: 16ms
              === 2012-01-25 16:38:22,342 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\OperationBinding.ds.xml: 16ms
              === 2012-01-25 16:38:22,483 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\ds\REQUESTS.ds.xml: 0ms
              === 2012-01-25 16:38:22,514 [ESTS] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\Mail.ds.xml: 0ms
              === 2012-01-25 16:38:22,545 [ESTS] INFO  Compression - /builtinds/sc/DataSourceLoader: 7374 -> 1526 bytes
              === 2012-01-25 16:38:22,623 [inds] INFO  RequestContext - URL: '/builtinds/hosted.html', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:22,639 [.css] INFO  RequestContext - URL: '/builtinds/moduleSpecific.css', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:22,655 [inds] INFO  Compression - /builtinds/hosted.html: 11757 -> 4187 bytes
              === 2012-01-25 16:38:22,655 [.css] INFO  Compression - /builtinds/moduleSpecific.css: 4000 -> 583 bytes
              === 2012-01-25 16:38:35,467 [um=0] INFO  RequestContext - URL: '/builtinds/sc/IDACall', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,545 [um=0] DEBUG XML - Parsed XML from (in memory stream): 15ms
              === 2012-01-25 16:38:35,561 [um=0] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\List.ds.xml: 0ms
              === 2012-01-25 16:38:35,576 [um=0] DEBUG RPCManager - Processing 1 requests.
              === 2012-01-25 16:38:35,592 [um=0] DEBUG RPCManager - Request #1 (RPCRequest) data: {
                  appID:"isc_builtin",
                  className:"builtin",
                  methodName:"getPdfObject",
                  arguments:[
                      "<div class='normal' ><div class='normal' ><TABLE role='presentation' ID='isc_3' WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0><COL WIDTH=100><COL><tr><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD></TR><TR><TD  $89='isc_TextItem_1' $9a='$9g' ID=isc_4 CLASS='formTitle' ALIGN='right' VALIGN='middle'><LABEL FOR=isc_7>Title</LABEL>&nbsp;:</TD><TD ALIGN=left CLASS='formCell' STYLE='' ID=isc_6 $89='isc_TextItem_1'><DIV isDisabledEventMask='true' style='overflow:hidden;position:absolute;width:146px;height:22px' $89='isc_TextItem_1' $9a='$9b' ID='isc_8'><SPAN STYLE='WIDTH:1600px;HEIGHT:100px;overflow:hidden;'>&nbsp;</SPAN></DIV><INPUT TYPE=TEXT NAME='' ID='isc_9' handleNativeEvents=false $89='isc_TextItem_1' $9a='$9b' ONINPUT='isc_TextItem_1.$43g()' READONLY=TRUE value='Value goes here...' AUTOCOMPLETE=OFF  CLASS='textItem' STYLE='WIDTH:146px;HEIGHT:22px;margin-top:-1px;margin-bottom:-1px;'  TABINDEX=-1></TD></TR></TABLE></div></div>",
                      {
                          dirDefaultSkin:"http://127.0.0.1:8888/builtinds/sc/skins/Enterprise/"
                      }
                  ],
                  is_ISC_RPC_DMI:true
              }
              === 2012-01-25 16:38:35,592 [um=0] INFO  IDACall - Performing 1 operation(s)
              === 2012-01-25 16:38:35,639 [um=0] DEBUG XML - Parsed XML from jar:file:/C:/eclipse/workspace/builtinds/war/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_builtin.app.xml: 16ms
              === 2012-01-25 16:38:35,655 [um=0] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\Application.ds.xml: 0ms
              === 2012-01-25 16:38:35,686 [um=0] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\ServerObject.ds.xml: 16ms
              === 2012-01-25 16:38:35,717 [um=0] DEBUG XML - Parsed XML from C:\eclipse\workspace\builtinds\war\builtinds\sc\system\schema\Method.ds.xml: 16ms
              === 2012-01-25 16:38:35,733 [um=0] 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:"getLogThresholds"
                              },
                              {
                                  name:"setLogThreshold"
                              },
                              {
                                  name:"getPdfObject"
                              }
                          ]
                      },
                      {
                          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"
                              }
                          ]
                      }
                  ]
              })
              
              === 2012-01-25 16:38:35,748 [um=0] DEBUG RPCDMI - Invocation threw exception
              java.lang.NullPointerException
              	at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)
              	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:824)
              	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              	at java.lang.reflect.Method.invoke(Unknown Source)
              	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
              	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
              	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
              	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:245)
              	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
              	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
              	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
              	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
              	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
              	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
              	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
              	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
              	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
              	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.Server.handle(Server.java:320)
              	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
              	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
              	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
              	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
              	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
              	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
              	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
              === 2012-01-25 16:38:35,748 [um=0] WARN  RequestContext - rpcRequest.execute() failed: 
              java.lang.NullPointerException
              	at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)
              	at com.isomorphic.rpc.BuiltinRPC.getPdfObject(BuiltinRPC.java:824)
              	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              	at java.lang.reflect.Method.invoke(Unknown Source)
              	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
              	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:803)
              	at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:305)
              	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:245)
              	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:152)
              	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
              	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
              	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
              	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
              	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
              	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
              	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
              	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
              	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.Server.handle(Server.java:320)
              	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
              	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
              	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
              	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
              	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
              	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
              	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
              === 2012-01-25 16:38:35,748 [um=0] DEBUG RPCManager - Content type for RPC transaction: text/html; charset=UTF-8
              === 2012-01-25 16:38:35,748 [um=0] INFO  Compression - /builtinds/sc/IDACall: 499 -> 309 bytes
              === 2012-01-25 16:38:35,811 [.gif] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/blank.gif', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,826 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Dialog/warn.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,858 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_stretch.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,858 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_start.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,858 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_end.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,873 [.gif] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/blank.gif
              === 2012-01-25 16:38:35,889 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/headerIcons/close.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,889 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Dialog/warn.png
              === 2012-01-25 16:38:35,905 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_T.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,905 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_TR.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,905 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_TL.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,905 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_L.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,905 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_R.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,920 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_BL.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,951 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_stretch.png
              === 2012-01-25 16:38:35,967 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_start.png
              === 2012-01-25 16:38:35,967 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_B.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,967 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/Window/window_BR.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,967 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_T.png
              === 2012-01-25 16:38:35,967 [.png] ERROR Download - Problem sending static file: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_end.png
              org.mortbay.jetty.EofException
              	at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:760)
              	at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGenerator.java:566)
              	at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.java:911)
              	at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:650)
              	at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGenerator.java:577)
              	at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:109)
              	at com.isomorphic.util.IOUtil.copyStreams(IOUtil.java:84)
              	at com.isomorphic.servlet.ServletTools.sendStaticFile(ServletTools.java:1591)
              	at com.isomorphic.servlet.FileDownload.doGet(FileDownload.java:191)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
              	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
              	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
              	at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
              	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
              	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
              	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
              	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
              	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
              	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
              	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
              	at org.mortbay.jetty.Server.handle(Server.java:320)
              	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
              	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
              	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
              	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
              	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
              	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
              	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
              Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
              	at sun.nio.ch.SocketDispatcher.writev0(Native Method)
              	at sun.nio.ch.SocketDispatcher.writev(Unknown Source)
              	at sun.nio.ch.IOUtil.write(Unknown Source)
              	at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
              	at java.nio.channels.SocketChannel.write(Unknown Source)
              	at org.mortbay.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:223)
              	at org.mortbay.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:197)
              	at org.mortbay.jetty.HttpGenerator.flush(HttpGenerator.java:682)
              	... 31 more
              === 2012-01-25 16:38:35,967 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Over_stretch.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,967 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Over_start.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,983 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/headerIcons/close.png
              === 2012-01-25 16:38:35,983 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_TL.png
              === 2012-01-25 16:38:35,983 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Over_end.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:35,998 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_B.png
              === 2012-01-25 16:38:35,998 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_BR.png
              === 2012-01-25 16:38:36,014 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_stretch.png
              === 2012-01-25 16:38:36,014 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_start.png
              === 2012-01-25 16:38:36,014 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Over_end.png
              === 2012-01-25 16:38:36,014 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_TR.png
              === 2012-01-25 16:38:36,030 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_BL.png
              === 2012-01-25 16:38:36,030 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_R.png
              === 2012-01-25 16:38:36,030 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/Window/window_L.png
              === 2012-01-25 16:38:37,139 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_start.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:37,139 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_end.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:37,139 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_start.png
              === 2012-01-25 16:38:37,155 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_end.png
              === 2012-01-25 16:38:40,639 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Down_start.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:40,655 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Down_stretch.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:40,655 [.png] INFO  RequestContext - URL: '/builtinds/sc/skins/Enterprise/images/button/button_Down_end.png', User-Agent: 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)': MSIE with Accept-Encoding header, ready for compressed JS
              === 2012-01-25 16:38:40,655 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_end.png
              === 2012-01-25 16:38:40,655 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_stretch.png
              === 2012-01-25 16:38:40,655 [.png] INFO  Download - done streaming: C:/eclipse/workspace/builtinds/war/builtinds/sc/skins/Enterprise/images/button/button_Down_start.png
              Am I missing something really basic?

              Comment


                #8
                No, you're not missing something really basic, but at the moment you need to set some extra settings/properties for the skin name.

                See this post, which touches on the same problem: http://forums.smartclient.com/showthread.php?p=80285

                Comment


                  #9
                  Thanks for the suggestion. I tried it (as far as I comprehend it*), but no luck.

                  In my log, I can see a skin setting, which I think is correct, at least in the sense that the path will open the default skin_styles.css file.
                  Code:
                  === 2012-01-26 09:02:09,172 [um=0] DEBUG RPCManager - Request #1 (RPCRequest) data: {
                      appID:"isc_builtin",
                      className:"builtin",
                      methodName:"getPdfObject",
                      arguments:[
                          "<div class='normal' ><div class='normal' ><TABLE role='presentation' ID='isc_3' WIDTH=100% CELLSPACING=0 CELLPADDING=2 BORDER=0><COL WIDTH=100><COL><tr><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD><TD style='margin:0px;border:0px;padding:0px;background-image:none;background-color:transparent;height:0px;overflow:hidden;padding:0px;' class=''></TD></TR><TR><TD  $89='isc_TextItem_1' $9a='$9g' ID=isc_4 CLASS='formTitle' ALIGN='right' VALIGN='middle'><LABEL FOR=isc_7>Title</LABEL>&nbsp;:</TD><TD ALIGN=left CLASS='formCell' STYLE='' ID=isc_6 $89='isc_TextItem_1'><DIV isDisabledEventMask='true' style='overflow:hidden;position:absolute;width:146px;height:22px' $89='isc_TextItem_1' $9a='$9b' ID='isc_8'><SPAN STYLE='WIDTH:1600px;HEIGHT:100px;overflow:hidden;'>&nbsp;</SPAN></DIV><INPUT TYPE=TEXT NAME='' ID='isc_9' handleNativeEvents=false $89='isc_TextItem_1' $9a='$9b' ONINPUT='isc_TextItem_1.$43g()' READONLY=TRUE value='Value goes here...' AUTOCOMPLETE=OFF  CLASS='textItem' STYLE='WIDTH:146px;HEIGHT:22px;margin-top:-1px;margin-bottom:-1px;'  TABINDEX=-1></TD></TR></TABLE></div></div>",
                          {
                              dirDefaultSkin:"http://127.0.0.1:8888/builtinds/sc/skins/Enterprise/"
                          }
                      ],
                      is_ISC_RPC_DMI:true
                  }

                  * Tried these variant shots-in-the-dark in server.properties:
                  Code:
                  #skin.<skinName>.location: sc/skins/Enterprise
                  #skin.skinName.location: sc/skins/Enterprise
                  #skin."skinName".location: sc/skins/Enterprise
                  
                  #skin.skin_styles.css.location: sc/skins/Enterprise
                  #skin.<skin_styles.css>.location: sc/skins/Enterprise
                  #skin."skin_styles.css".location: sc/skins/Enterprise
                  
                  #skin.skin_styles.location: sc/skins/Enterprise
                  #skin.<skin_styles>.location: sc/skins/Enterprise
                  #skin."skin_styles".location: sc/skins/Enterprise
                  If I try to follow the stack trace from the first reference,
                  Code:
                  Invocation threw exception java.lang.NullPointerException at com.isomorphic.contentexport.PdfExport.getPdfObject(PdfExport.java:33)
                  Eclipse tells me I don't have the source code to view, even if I point it to the jar. What it does show me is a bit incomprehensible to this novice.

                  At this point, I don't know that there's much I can do other than wait for a new build?

                  Comment


                    #10
                    The setting in server.properties is skin.Enterprise.location.

                    Comment


                      #11
                      OK, I've just achieved "Hello World" success with the code at this thread: http://forums.smartclient.com/showthread.php?t=20255

                      Code:
                      Code:
                      DSRequest requestProperties = new DSRequest();
                      requestProperties.setAttribute("skinName", "skin_styles");
                      requestProperties.setAttribute("pdfName", "ExportPdfExample");
                      
                      RPCManager.exportContent(canvas, requestProperties);
                      'server.properties' setting:
                      Code:
                      skin.skin_styles.location: builtinds/sc/skins/Enterprise
                      So apparently these (arbitrary?) DSRequest attributes are required?

                      The DSRequest .setDownloadResult and .setDownloadToNewWindow settings appear to be ignored. With either true/false settings, I always get a pop-up SaveAs prompt, which then opens Adobe Reader. In my case, I'll need to save the PDF to a fixed location without prompt.

                      Feature Request: Add another method signature to exportcontent that includes a Callback. I'd like to be able to generate a PDF, wait for it to complete, then generate an e-mail that includes the PDF as an attachment. If there's a way to do that now, please advise.

                      Comment


                        #12
                        skinName should not normally be required when you are using a standard skin, we're fixing that. Likewise you will not need to set the pdfName and will be able to use the existing dsRequest.exportFilename instead.

                        However, it sounds like you don't want an export to the browser but instead a PDF file in memory - the JavaDoc for PdfExport.getPdfRenderer() shows how you can make a DataSource operation of type "custom" which is not an export, and generates a PDF server-side from HTML passed from the client.

                        Comment


                          #13
                          Thanks, I'll have a look. Not sure yet if PDF will go to file on disk, as e-mail attachement, or both.

                          Comment


                            #14
                            Hi isomorphic,

                            I am trying to make the export to PDF to work but I am getting an IO Exception when it tries to read the stylesheet.

                            It throws me:

                            IOException on parsing style seet from a Reader; don't know the URI.

                            I am using Februry 4th Nightly Build of Power Edition.

                            I have followed all the steps in the post and it stills throws me the exception.

                            I set in server.properties:

                            skin.skin_styles.location: plantillaIdeiak/sc/skins/Enterprise

                            and in the onmoduleload method where i call the exportcontent:


                            DSRequest requestProperties = new DSRequest();
                            requestProperties.setAttribute("skinName", "skin_styles");
                            requestProperties.setAttribute("pdfName", "ExportPdfExample");

                            RPCManager.exportContent(factura, requestProperties);

                            where factura is the VLayout I would like to print.

                            Would you please tell me why it throws me that exception? Which is the configuration needed for the exportcontent method?

                            Thanks in advance and looking forward your answer.

                            Best regards,

                            Pablo

                            Comment


                              #15
                              Most likely you have not put the appropriate setting in server.properties. If you need help, post everything the forums is asking for, in this case also your server.properties settings and .gwt.xml.

                              Comment

                              Working...
                              X