Announcement

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

    5.1d BuiltInDS has wrong .classpath references

    Hi Isomorphic,

    please see this Eclipse buildpath screenshot after updating to SNAPSHOT_v10.1d_2015-09-27/PowerEdition.



    It seems collection is imported twice(?) and you don't ship the slf4j-log4j version you use (slf4j-log4j12-1.7.7 vs slf4j-log4j12-1.7.12).

    Best regards
    Blama

    #2
    Copy&Paste image insert only works when editing, is not saved!
    Click image for larger version

Name:	Buildpath_screenshot.png
Views:	77
Size:	14.2 KB
ID:	231631

    Comment


      #3
      OK, it seems you are using Apache Commons CLI (which is currently in version 1.3.1) in BatchUploader. I got this message when retesting for this thread: Click image for larger version

Name:	CLI_warning.png
Views:	61
Size:	5.3 KB
ID:	231635

      The version of the JAR you ship is commons-cli-1.2.jar

      Best regards
      Blama

      Comment


        #4
        Sorry about that - problem with renaming. These issues will be fixed in tomorrow's (Sept 29, 2015) build.

        Comment


          #5
          Originally posted by Blama View Post
          Copy&Paste image insert only works when editing, is not saved!
          Yes - unfortunately this is out of our hands. The forums software (vBulletin) includes CKEditor for the rich text editor, and the problem is somewhere in CKEditor or vBulletin's integration of it. There are already two issues related to this in vBulletin's JIRA (not linking to these because that requires a login):

          Click image for larger version

Name:	Screen Shot 2015-09-28 at 11.10.40 AM.png
Views:	75
Size:	103.9 KB
ID:	231651


          As you can see, these are are quite old. They probably won't be fixing this anytime soon because this looks like a Firefox-only feature.

          Comment


            #6
            Hi Isomorphic,

            5.1d SNAPSHOT_v10.1d_2015-10-04 seems to have changed many included libs (BuiltInDS-.classpath vs lib-directory)
            jodatime
            commons-logging
            httpclient
            httpcode
            poi
            poi-ooxml
            poi-ooxml-schemas

            The newer libs are not included.

            Best regards
            Blama
            Last edited by Blama; 7 Oct 2015, 00:19.

            Comment


              #7
              Hi Isomorphic,

              this is still open as of today's build (SNAPSHOT_v10.1d_2015-10-13) and really annoying when creating test cases.

              Best regards
              Blama

              Comment


                #8
                Hi Isomorphic,

                this is mostly fixed for me using SNAPSHOT_v10.1d_2015-10-22, thanks.
                There still is a reference to poi-3.13-20150929.jar in the .classpath. "poi" is no longer included in the download, only poi-ooxml and poi-ooxml-schemas. I don't know if the file is missing, but assume so as it is still mentioned in JavaModuleDependencies.

                Best regards
                Blama

                Comment


                  #9
                  Hi Isomorphic

                  this file is definitely needed, see the server log I got for an export:
                  Code:
                  === 2015-10-24 04:43:06,496 [c-16] INFO  BuiltinRPC - Generating and streaming ooxml file...
                  === 2015-10-24 04:43:06,497 [c-16] WARN  BuiltinRPC - Exception during export - continuing anyway to avoid sending the client to a blank screen
                  java.lang.Exception: Trouble loading Apache POI classes - is the  POI .jar file deployed?
                      at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:653)
                      at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:463)
                      at com.isomorphic.rpc.BuiltinRPC.downloadClientExport(BuiltinRPC.java:1089)
                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:606)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:964)
                      at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:794)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:320)
                      at com.isomorphic.rpc.RPCDMI.execute(RPCDMI.java:66)
                      at com.isomorphic.rpc.RPCRequest.execute(RPCRequest.java:249)
                      at com.isomorphic.servlet.IDACall.handleRPCRequest(IDACall.java:328)
                      at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:183)
                      at com.lmscompany.lms.server.LMSIDACall.processRequest(LMSIDACall.java:41)
                      at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:118)
                      at com.isomorphic.servlet.IDACall.doPost(IDACall.java:78)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
                      at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
                      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                      at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
                      at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
                      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
                      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
                      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
                      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
                      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                      at java.lang.Thread.run(Thread.java:744)
                  Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/formula/FormulaParseException
                      at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:639)
                      ... 42 more
                  Caused by: java.lang.ClassNotFoundException: org.apache.poi.ss.formula.FormulaParseException
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
                      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
                      ... 43 more
                  === 2015-10-24 04:43:06,497 [c-16] DEBUG RPCDMI - rpc returned data
                  Best regards
                  Blama

                  Comment


                    #10
                    This has been addressed and should be reflected in the nightly builds of SGWT 5.1d marked 2015-10-27.

                    Comment


                      #11
                      Hi Isomorphic,

                      thanks, .classpath matches the provided library versions now for me.

                      Best regards
                      Blama

                      Comment

                      Working...
                      X