Announcement

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

    spooky dataPath behavior?

    I have code that defines two separate forms with the same structure. The forms are populated and values extracted using dataPaths. They are never SAVEd. They are under two separate forms, and communicate values with two separate valueManagers on two separate windows.

    They crash the javascript when they are identical.

    Here is the log.

    14:41:17.487:INFO:Log:initialized
    14:41:17.704:WARN:Log:NOTE: Firebug is enabled. Firebug greatly slows the performance of applications that make heavy use of JavaScript. Isomorphic highly recommends Firebug for troubleshooting, but Firebug and other development tools should be disabled when assessing the real-world performance of SmartClient applications.
    14:41:19.007:WARN:Log:New Class ID: 'DataView' collides with ID of existing object with value 'function DataView() {
    [native code]
    }'. Existing object will be replaced.
    This conflict would be avoided by disabling ISC Simple Names mode. See documentation for further information.
    14:41:21.520:WARN:DynamicForm:IssueResolutionForm:Invalid setting for this.margin:. This should be a numeric value - ignoring
    14:41:22.465:INFO:Log:isc.Page is loaded
    Here is the server log with stack trace at the end.


    Using user-defined JAVA_HOME: "C:\Program Files (x86)\Java\jdk1.7.0"

    Setting Tomcat <Connector> property (port 8080): maxThreads=1000
    Setting Tomcat <Connector> property (port 8080): maxHeaderCount=200
    Setting Tomcat <Connector> property (port 8080): maxKeepAliveRequests=1000
    Setting Tomcat <Connector> property (port 8080): maxHttpHeaderSize=65536
    === 2014-04-26 18:39:54,978 [main] INFO Embedded - Starting tomcat server
    === 2014-04-26 18:39:55,071 [main] INFO StandardEngine - Starting Servlet Engine: Apache Tomcat/5.5.23
    === 2014-04-26 18:39:55,118 [main] INFO StandardHost - XML validation disabled
    ISC: Configuring log4j from: file:/D:/My%20Websites/Planet%20Project/WEB-INF/embeddedTomcat/../embeddedTomcat/webapps/../../../WEB-INF/classes/log4j.isc.config.xml
    === 2014-04-26 18:39:55,602 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.InitListener
    === 2014-04-26 18:39:55,602 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
    === 2014-04-26 18:39:55,617 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/D:/My%20Websites/Planet%20Proj
    ect/WEB-INF/embeddedTomcat/../embeddedTomcat/webapps/../../../WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/D:/My%20Websites/Planet%2
    0Project/WEB-INF/embeddedTomcat/../embeddedTomcat/webapps/../../../WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
    === 2014-04-26 18:39:55,695 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/D:/My%20Websites/Planet%20Project/WEB
    -INF/embeddedTomcat/../embeddedTomcat/webapps/../../../WEB-INF/classes/server.properties
    === 2014-04-26 18:39:55,711 [main] INFO Logger - Logging system started.
    === 2014-04-26 18:39:55,711 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework (v8.3p_2014-04-23/EVAL Deployment 2014-04-23) - Initialization Complete
    === 2014-04-26 18:39:55,711 [main] INFO ISCInit - Auto-detected webRoot - using: D:\My Websites\Planet Project
    === 2014-04-26 18:39:55,727 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Base
    === 2014-04-26 18:39:55,727 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework is already initialized
    === 2014-04-26 18:39:55,789 [main] INFO JSSyntaxScannerFilter - Couldn't load list of FileAssembler URLs - if the filter intercepts those URLs, they will be scanned
    .
    === 2014-04-26 18:39:55,836 [main] INFO AuthenticationFilter - AuthExampleAuthenticator - URI Cache enabled - max size: 10000 entries
    === 2014-04-26 18:39:55,867 [main] INFO [/] - Initializing Spring root WebApplicationContext
    === 2014-04-26 18:40:00,110 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework initialization called from com.isomorphic.base.Init
    === 2014-04-26 18:40:00,110 [main] INFO ISCInit - Isomorphic SmartClient/SmartGWT Framework is already initialized
    === 2014-04-26 18:40:00,297 [main] INFO TilesPlugin - Tiles definition factory loaded for module ''.
    === 2014-04-26 18:40:00,329 [main] INFO ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validator-rules.xml'
    === 2014-04-26 18:40:00,329 [main] INFO ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validation.xml'
    === 2014-04-26 18:40:00,453 [main] INFO PreCache - Isomorphic PreCache servlet loading
    === 2014-04-26 18:40:00,469 [main] INFO PoolManager - SmartClient pooling disabled for 'DataSource' objects
    === 2014-04-26 18:40:00,516 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\builtinTypes.xml: 16ms
    === 2014-04-26 18:40:00,563 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\DataSource.ds.xml: 0ms
    === 2014-04-26 18:40:00,578 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\DataSourceField.ds.xml: 0ms
    === 2014-04-26 18:40:00,609 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\Validator.ds.xml: 15ms
    === 2014-04-26 18:40:00,609 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\ValueMap.ds.xml: 0ms
    === 2014-04-26 18:40:00,625 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\InstantDataApp.ds.xml: 0ms
    === 2014-04-26 18:40:00,672 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\Application.ds.xml: 0ms
    === 2014-04-26 18:40:00,672 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\IDAPage.ds.xml: 0ms
    === 2014-04-26 18:40:00,687 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\IDAUserType.ds.xml: 0ms
    === 2014-04-26 18:40:00,687 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\IDAOperation.ds.xml: 0ms
    === 2014-04-26 18:40:00,703 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\Canvas.ds.xml: 0ms
    === 2014-04-26 18:40:00,734 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\MethodDeclaration.ds.xml: 15ms
    === 2014-04-26 18:40:00,734 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\Img.ds.xml: 0ms
    === 2014-04-26 18:40:00,734 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\StatefulCanvas.ds.xml: 0ms
    === 2014-04-26 18:40:00,750 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\Button.ds.xml: 0ms
    === 2014-04-26 18:40:00,765 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\ListViewer.ds.xml: 0ms
    === 2014-04-26 18:40:00,765 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\ListGrid.ds.xml: 0ms
    === 2014-04-26 18:40:00,797 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\DynamicForm.ds.xml: 16ms
    === 2014-04-26 18:40:00,797 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\FormItem.ds.xml: 0ms
    === 2014-04-26 18:40:00,828 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\DetailViewer.ds.xml: 16ms
    === 2014-04-26 18:40:00,828 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\DetailViewerField.ds.xml: 0ms
    === 2014-04-26 18:40:00,843 [main] DEBUG XML - Parsed XML from D:\My Websites\Planet Project\isomorphic\system\schema\isomorphicXML.ds.xml: 0ms
    === 2014-04-26 18:40:00,843 [main] INFO PreCache - Isomorphic PreCache complete (390ms)
    === 2014-04-26 18:40:00,921 [main] INFO Http11BaseProtocol - Initializing Coyote HTTP/1.1 on http-8080
    === 2014-04-26 18:40:00,937 [main] INFO Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-8080
    === 2014-04-26 18:40:18,160 [sor3] INFO RequestContext - URL: '/isomorphic/system/development/ISC_ServerLogViewer.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW
    64; rv:20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:40:18,160 [sor4] INFO RequestContext - URL: '/isomorphic/skins/Enterprise/images/blank.gif', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2
    0.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:40:18,175 [sor3] INFO Download - Using gzipped form of request file: D:/My Websites/Planet Project/isomorphic/system/development/ISC_ServerLogView
    er.js
    === 2014-04-26 18:40:18,175 [sor4] INFO Download - done streaming: D:/My Websites/Planet Project/isomorphic/skins/Enterprise/images/blank.gif
    === 2014-04-26 18:40:18,238 [sor3] INFO Download - done streaming: D:/My Websites/Planet Project/isomorphic/system/development/ISC_ServerLogViewer.js
    === 2014-04-26 18:40:18,425 [sor4] INFO RequestContext - URL: '/isomorphic/skins/Enterprise/images/pickers/comboBoxPicker.png', User-Agent: 'Mozilla/5.0 (Windows NT
    6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:40:18,425 [sor3] INFO RequestContext - URL: '/isomorphic/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefo
    x/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:40:18,456 [sor4] INFO Download - done streaming: D:/My Websites/Planet Project/isomorphic/skins/Enterprise/images/pickers/comboBoxPicker.png
    === 2014-04-26 18:40:18,503 [sor3] INFO Compression - /isomorphic/IDACall: 81 -> 86 bytes
    === 2014-04-26 18:40:18,596 [sor3] INFO RequestContext - URL: '/isomorphic/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefo
    x/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:40:18,612 [sor3] INFO Compression - /isomorphic/IDACall: 9912 -> 1496 bytes
    === 2014-04-26 18:41:16,753 [sor3] INFO RequestContext - URL: '/tools/visualBuilder/workspace/PlanetProjectAlphaAppZ.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.1;
    WOW64; rv:20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:41:16,816 [sor3] INFO JSSyntaxScannerFilter - /tools/visualBuilder/workspace/PlanetProjectAlphaAppZ.jsp: scanning <script> tags in html output
    === 2014-04-26 18:41:16,847 [sor3] INFO Compression - /tools/visualBuilder/workspace/PlanetProjectAlphaAppZ.jsp: 220920 -> 27076 bytes
    === 2014-04-26 18:41:17,050 [sor3] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Co
    re.js
    === 2014-04-26 18:41:17,050 [sor4] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Fo
    undation.js
    === 2014-04-26 18:41:17,065 [sor1] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Co
    ntainers.js
    === 2014-04-26 18:41:17,081 [sor3] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Dr
    awing.js
    === 2014-04-26 18:41:17,081 [sor2] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Gr
    ids.js
    === 2014-04-26 18:41:17,081 [sor8] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Fo
    rms.js
    === 2014-04-26 18:41:17,081 [sor4] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_An
    alytics.js
    === 2014-04-26 18:41:17,096 [sor7] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\system\modules\ISC_Da
    taBinding.js
    === 2014-04-26 18:41:17,096 [sor1] INFO RequestContext - URL: '/isomorphic/system/modules/ISC_DocViewer.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.
    0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:41:17,096 [sor3] INFO RequestContext - URL: '/isomorphic/system/modules/ISC_VisualBuilder.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv
    :20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:41:17,096 [sor3] INFO Download - File D:/My Websites/Planet Project/isomorphic/system/modules/ISC_VisualBuilder.js not found, sending 404
    === 2014-04-26 18:41:17,112 [sor1] INFO Download - File D:/My Websites/Planet Project/isomorphic/system/modules/ISC_DocViewer.js not found, sending 404
    === 2014-04-26 18:41:17,112 [sor2] INFO Download - Returning 304: Not modified on conditional get of: D:\My Websites\Planet Project\isomorphic\skins\TreeFrog\load_s
    kin.js
    === 2014-04-26 18:41:17,128 [sor3] INFO RequestContext - URL: '/tools/visualBuilder/workspace/MyProjectsZ.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:
    20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-26 18:41:18,360 [sor3] ERROR [jsp] - Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:


    Stacktrace:
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(JSSyntaxScannerFilter.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:722)
    Here is the first form.
    Code:
    isc.DynamicForm.create({ ID:"ProjectAgendaOptionsTaskForm", dataPath:"ProjectAgendaTask",
        autoDraw:false,
        overflow:"hidden",
    	// MeetingTaskOptions.jsp $Revision: 1.2 $
        colWidths:[
            "5,90,45,*,5,*"
        ],
        numCols:6,
        fields:[
            {
                dataPath:"DueDate",
                title:"Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"OrigDueDate",
                title:"Orig Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"StartDate",
                title:"Start Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskStatus",
                title:"Task Status",
                defaultValue:false,
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"Owner",
                title:"Owner",
                defaultValue:false,
                startRow:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"CompletedDate",
                title:"Completed Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskDesc",
                title:"Description",
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskLog",
                title:"Task Log",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"ModifiedDate",
                title:"Modified Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                colSpan:4,
                _constructor:"SpacerItem"
            },
            {
                dataPath:"CreatedDate",
                title:"Created Date",
                defaultValue:false,
                startRow:false,
                endRow:true,
                _constructor:"CheckboxItem"
            },
            {
                width:"*",
                height:"*",
                colSpan:2,
                startRow:false,
                _constructor:"SpacerItem"
            }
        ],
        width:"100%",
        height:"100%",
        itemChanged:"Generic_itemChanged (item);"
    });
    Here is the second form.
    Code:
    isc.DynamicForm.create({ ID:"AgendaOptionsTaskForm", dataPath:"AgendaTask",
        autoDraw:false,
        overflow:"hidden",
        // MeetingTaskOptions.jsp $Revision: 1.2 $
        colWidths:[
            "5,90,45,*,5,*"
        ],
        numCols:6,
        fields:[
            {
                dataPath:"DueDate",
                title:"Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"OrigDueDate",
                title:"Orig Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"StartDate",
                title:"Start Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskStatus",
                title:"Task Status",
                defaultValue:false,
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"Owner",
                title:"Owner",
                defaultValue:false,
                startRow:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"CompletedDate",
                title:"Completed Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskDesc",
                title:"Description",
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskLog",
                title:"Task Log",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"ModifiedDate",
                title:"Modified Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                colSpan:4,
                _constructor:"SpacerItem"
            },
            {
                dataPath:"CreatedDate",
                title:"Created Date",
                defaultValue:false,
                startRow:false,
                endRow:true,
                _constructor:"CheckboxItem"
            },
            {
                width:"*",
                height:"*",
                colSpan:2,
                startRow:false,
                _constructor:"SpacerItem"
            },
            {
                dataPath:"TaskLogCount",
                title:"Limit",
                defaultValue:"3",
                textAlign:"right",
                width:"*",
                _constructor:"TextItem"
            }
        ],
        width:"100%",
        height:"100%",
        itemChanged:"Generic_itemChanged (item);"
    });
    If I delete the very last field from the first definition, the problem goes away. That means the field definition is valid because it show up at least once and the code still works.
    Code:
    isc.DynamicForm.create({ ID:"ProjectAgendaOptionsTaskForm", dataPath:"ProjectAgendaTask",
        autoDraw:false,
        overflow:"hidden",
    	// MeetingTaskOptions.jsp $Revision: 1.2 $
        colWidths:[
            "5,90,45,*,5,*"
        ],
        numCols:6,
        fields:[
            {
                dataPath:"DueDate",
                title:"Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"OrigDueDate",
                title:"Orig Due Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"StartDate",
                title:"Start Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskStatus",
                title:"Task Status",
                defaultValue:false,
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"Owner",
                title:"Owner",
                defaultValue:false,
                startRow:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"CompletedDate",
                title:"Completed Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskDesc",
                title:"Description",
                startRow:true,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"TaskLog",
                title:"Task Log",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                dataPath:"ModifiedDate",
                title:"Modified Date",
                defaultValue:false,
                _constructor:"CheckboxItem"
            },
            {
                colSpan:4,
                _constructor:"SpacerItem"
            },
            {
                dataPath:"CreatedDate",
                title:"Created Date",
                defaultValue:false,
                startRow:false,
                endRow:true,
                _constructor:"CheckboxItem"
            },
            {
                width:"*",
                height:"*",
                colSpan:2,
                startRow:false,
                _constructor:"SpacerItem"
            }
        ],
        width:"100%",
        height:"100%",
        itemChanged:"Generic_itemChanged (item);"
    });
    Oddly enough, if I delete just the dataPath:"TaskLogCount" line from one of the definitions, it is still broken. It is only fixed if I eliminate the entire field from one of the forms. I thought it was some sort of duplication problem. But, I eliminated all the names beause I am not using them.

    How can having two fields like this cause Javascript to crash with no error in Firebug.

    Code:
            {
                dataPath:"TaskLogCount",
                title:"Limit",
                defaultValue:"3",
                textAlign:"right",
                width:"*",
                _constructor:"TextItem"
            }
    Any clues would be very helpful. I have had a great few months of development without severe problems. I guess it was just time for one.

    Rick

    P.S. I am running SmartClient Version: v8.3p_2014-04-23/EVAL on Mozilla Firefox 20.0 with Firebug using Windows 7 Premium 64 bit.
    Last edited by RickBollinger; 26 Apr 2014, 11:11.

    #2
    It is not as if the problematic structures are the only 'duplicates'. I have a dozen of them that work just fine. If I can fix this problem then there will be 'triplicates' and 'quadruplicates' of structures.

    The reason I have them is that the structures present sets of options to the user and they exist at many levels. Communities can have them as defaults for new projects. Projects can have them as defaults for new meetings and reports. They should have the same content and presentation wherever they show up.

    In the code these sets of options are JSON strings. I just parse them into JSP objects and load them into valueManagers to populate the forms and fields. On SAVE I just pull them out and back into strings

    It seems so unlikely that just deleting something like the field definition below can make a structure work where it did not before.

    Code:
            {
                dataPath:"ClosedIssues",
                title:"Closed Issues",
                disabled:false,
                _constructor:"CheckboxItem"
            }
    The structures become identical because each is defined in one file that is included multiple times. I am using the M4 preprocessor to build the eventual JSP file that is run. But, I cannot see how that could be contributing to the problem.

    Because the JSP scanner is crashing I should mention that that I declare a charset in the HTML:
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=CP-1252">
    === 2014-04-28 19:57:24,499 [sor6] INFO RequestContext - URL: '/tools/visualBuilder/workspace/MyProjectsZ.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:
    20.0) Gecko/20100101 Firefox/20.0': Moz (Gecko) with Accept-Encoding header
    === 2014-04-28 19:57:24,905 [sor6] ERROR [jsp] - Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:


    Stacktrace:
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at com.isomorphic.js.JSSyntaxScannerFilter.doFilter(JSSyntaxScannerFilter.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:260)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    at java.lang.Thread.run(Thread.java:722)
    What can be causing JDTCompiler to crash? Am I messing up CompressionFilter?

    I must have really stepped it it this time.

    Rick

    Comment

    Working...
    X