Announcement

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

    #16
    1. let the system sit for about 5 minutes post-startup before issuing a request. If that works, that's a big clue

    Waited 30 minutes but still received the server-side exception.

    2. if you can, attach a debugger and look at whether other threads are active when this error occurs

    Will attempt this.

    POJO and ds.xml sent via email.

    Comment


      #17
      Following up on this:

      Were you using Hibernate 4.2.17 with your 12.1 installation? If so, please let us know the exact build date of the SmartGWT 12.1 installation.

      Secondly, your POJO contains many references to other application classes and we obviously have no idea what those classes look like. So we had to strip it down basically to field and function definitions, and having done so we do not see the ConcurrentModificationException you are getting (either with Hibernate 3 or Hibernate 4.2.17). However, from the location of the failure, we think the issue is with the @Embedded "ipDeviceInstance" field. It also seems fishy that the POJO class both extends IPDeviceInstance and declares an @Embedded field of that type. Does this observation help? For example, should that embedded IPDeviceInstance even be there?

      We are now at a stage where we can't investigate further with the information we have. The next stage, if the above comments do not help you resolve things, would be to provide us with the IPDeviceInstance class, stripped down to just annotated fields and functions, so we can try again to repro the issue. But it really does look like an issue with Hibernate internal state, caused by a persistent class both extending a base class, and containing an embedded reference to an instance of that same base class

      Regards,
      Isomorphic Software Support

      Comment


        #18
        Yes, we were using Hibernate 4.2.17 successfully with SmartGWT Power 12.1p. Build date was 7/26/23.

        I'll try removing the @Embedded tag. If it doesn't help I'll send the additional files.

        Comment


          #19
          Removing the @Embedded tag resolved the ConcurrentModificationException on 3 of the datasources that contained that annotation.

          However, I get the same ConcurrentModificationException on another datasource, but without the @Embedded tag. I'll be sending the POJO and ds.xml for that datasource via email.

          Comment


            #20
            Could you please either post or email the stacktrace for the ConcurrentModificationException that you are still getting? It doesn't look like that exception could be thrown from the same line unless it is trying to process an @Embedded property, so we think you are seeing a different issue with the same symptom
            Last edited by Isomorphic; 18 Nov 2024, 04:31.

            Comment


              #21
              Thanks for sending through all the information you've sent over the last few days. After some additional experimenting and code analysis, we have been able to reproduce and fix the problem with the @Embedded field - the problem is actually in SmartClient code, not Hibernate. We have not been able to reproduce the second problem you reported (in post #20), but we have applied a speculative fix that we're reasonably confident will resolve that issue as well (it is only speculative in the sense that we can't say it fixes the issue because we can't repro the issue - we do have good reason to think it will fix the issue)

              So please try your use case with tomorrow's 13.0 build and let us know how it goes.

              Regards,
              Isomorphic Software Support

              Comment


                #22
                The latest 13.0p build resolved the errors.

                I'll continue to test it out and report any issues we encounter.

                Thanks for the great support!

                Comment

                Working...
                X