5 comments
Comment actions Permalink

Is it reproducible? Can you give me some statistic on scala class members, companion of this scala class members? How many usages of this scala classes in java file? Anyway for this stacktrace I know simple fix. But more information would be great.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

It is a very simple usage.  The scala object is being injected by spring and the code is:


package com.sumologic.service.endpoint.ops.v1.impl;

import com.sumologic.service.endpoint.ops.v1.api.OpsManagementService;
import com.sumologic.service.endpoint.ops.v1.model.Node;
import com.sumologic.service.endpoint.ops.v1.model.Response;
import com.sumologic.util.scala.zk.discovery.Service;
import com.sumologic.util.scala.zk.discovery.ServiceInstance;
import com.sumologic.util.scala.zk.discovery.ServiceRegistry;

import com.sumologic.util.scala.zk.discovery.ZookeeperServiceRegistry;  /// <<<<< this guy is causing the problem, I think.  Or maybe it's the combo of the above and this.

...

@WebService(endpointInterface = "com.sumologic.service.endpoint.ops.v1.api.OpsManagementService")
@Path("/v1/ops")
public class OpsManagementServiceImpl implements OpsManagementService {
  private ZookeeperServiceRegistry _serviceRegistry;

  public void setServiceRegistry(ZookeeperServiceRegistry registry) {
    _serviceRegistry = registry;
  }




Ugh.  I would copy more code for you but my IJ froze up :-<

The code is used later to call a single method on the class.  I could swear that it didn't freeze until I started using the ZookeeperServiceRegistry class but it is possible that I upgraded to a newer version of Idea X and the scala plugin since touching this code.

0
Comment actions Permalink

Is this fix in your latest push?  If not could you get it in soon?

Thanks,

Dave

0
Comment actions Permalink

I was in big refactoring. There is no this fix in the latest push. I'll try to add it today or tomorrow. Please watch issue: http://youtrack.jetbrains.net/issue/SCL-2497?projectKey=SCL

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Watching.  Thanks -- Dave

0

Please sign in to leave a comment.