Hi All,

I'm getting following error on MDM-2.0.0-SNAPSHOT after adding
*org.wso2.carbon.analytics.core.server.feature* (1.0.4),
*org.wso2.carbon.analytics.api.feature* (1.0.4) and
*org.wso2.carbon.databridge.core.server.feature* (5.0.7-SNAPSHOT) along
with *org.wso2.carbon.device.mgt.analytics.server.feature[1]* which we used
in IoT-Server previously.(In IoT server we were used *carbon analytics* 1.0.4
and *carbon analytics common* 5.0.6 and didn't experienced such issue).

I found quite similar issues in stackoverflow[2] and OpenJDK Jiras[3]. But
those were not helped to fix that problem. So is there any workaround to
overcome this issue?


Operating System : Linux 4.2.5-201.fc22.x86_64, amd64
Java Home        : /usr/java/jdk1.7.0_79/jre
Java Version     : 1.7.0_79
Java VM          : Java HotSpot(TM) 64-Bit Server VM 24.79-b02,Oracle
Corporation

------------------------------------------------------------------------------------------------------------------------------

[2015-11-19 18:27:45,666]  INFO
{org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -  Starting
ESB...
[2015-11-19 18:27:45,693]  INFO
{org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -
 Initializing Apache Synapse...
[2015-11-19 18:27:45,738] FATAL
{org.wso2.carbon.mediation.initializer.ServiceBusInitializer} -  Failed to
initialize ESB due to a fatal error
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:

org/apache/synapse/config/SynapseConfigUtils.getURLConnection(Ljava/net/URL;)Ljava/net/URLConnection;
@289: invokevirtual
  Reason:
    Type 'java/lang/Object' (current frame, stack[0]) is not assignable to
'java/net/URLConnection'
  Current Frame:
    bci: @289
    flags: { }
    locals: { 'java/net/URL', 'java/lang/Object', 'java/util/Properties',
'java/lang/String', 'java/lang/String', 'java/util/List',
'java/lang/String', 'java/lang/String', 'java/lang/String', '[B',
'java/lang/String' }
    stack: { 'java/lang/Object', 'java/lang/String', 'java/lang/String' }
  Bytecode:
    0000000: 2ac7 001a b200 01b9 0020 0100 9900 0db2
    0000010: 0001 1292 b900 2602 0001 b02a b600 1d12
    0000020: 52b6 0053 9a00 0f2a b600 1d12 54b6 0053
    0000030: 9900 f7b8 0093 4d2c 1294 b600 954e 2c12
    0000040: 96b6 0095 3a04 2cb8 0097 3a05 2dc6 0051
    0000050: 1904 c600 4c19 052d b900 9802 009a 0041
    0000060: bb00 9959 2d19 04b8 009a b700 9b3a 06bb
    0000070: 009c 59b2 009d 1906 b700 9e3a 072a b600
    0000080: 1d12 54b6 0053 9900 0e2a 2c19 07b8 009f
    0000090: 4ca7 000a 2a19 07b6 007d 4ca7 001e 2ab6
    00000a0: 001d 1254 b600 5399 000d 2a2c 01b8 009f
    00000b0: 4ca7 0008 2ab6 007f 4c2c 12a0 b600 953a
    00000c0: 062c 12a1 b600 953a 0719 06c6 0059 1907
    00000d0: c600 54bb 0021 59b7 0022 1906 b600 2412
    00000e0: 30b6 0024 1907 b600 24b6 0025 3a08 bb00
    00000f0: 5959 b700 5a19 08b6 005b b600 5c3a 09bb
    0000100: 0029 5919 09b7 005d 3a0a 2b12 a2bb 0021
    0000110: 59b7 0022 125f b600 2419 0ab6 0024 b600
    0000120: 25b6 0060 a700 082a b600 7f4c 2bb8 00a3
    0000130: b600 a42b b800 a5b6 00a6 2b12 a712 a8b6
    0000140: 0060 2bb0 4cbb 0021 59b7 0022 12a9 b600
    0000150: 242a b600 3412 aab6 0024 b600 252b b800
    0000160: 1001 b0
  Exception Handler Table:
    bci [0, 26] => handler: 324
    bci [27, 323] => handler: 324
  Stackmap Table:
    same_frame(@25)
    same_frame(@27)
    same_frame(@51)

full_frame(@148,{Object[#47],Top,Object[#345],Object[#41],Object[#41],Object[#432],Object[#153],Object[#156]},{})

full_frame(@155,{Object[#47],Object[#281],Object[#345],Object[#41],Object[#41],Object[#432],Object[#153],Object[#156]},{})

full_frame(@158,{Object[#47],Top,Object[#345],Object[#41],Object[#41],Object[#432]},{})
    same_frame(@180)

full_frame(@185,{Object[#47],Object[#281],Object[#345],Object[#41],Object[#41],Object[#432]},{})
    append_frame(@292,Object[#41],Object[#41])
    full_frame(@295,{Object[#47]},{})
    append_frame(@300,Object[#281])
    full_frame(@324,{Object[#47]},{Object[#21]})

at
org.apache.synapse.SynapseControllerFactory.validate(SynapseControllerFactory.java:104)
at
org.apache.synapse.SynapseControllerFactory.createSynapseController(SynapseControllerFactory.java:44)
at org.apache.synapse.ServerManager.init(ServerManager.java:102)
at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:440)
at
org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:190)
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
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.inbound.endpoint.persistence.service.InboundEndpointPersistenceServiceDSComponent.activate(InboundEndpointPersistenceServiceDSComponent.java:49)
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
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:514)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:290)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

[1]
https://github.com/charithag/carbon-device-mgt/tree/IoTS-1.0.0-M1/features/device-analytics
[2]
http://stackoverflow.com/questions/24772069/runtime-error-in-ftp-java-program-type-top-is-not-assignable-to-java-net-socke
[3] https://bugs.openjdk.java.net/browse/JDK-8029558
-- 
*Charitha Goonetilleke*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 751 3669 <%2B94777513669>
Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag
<https://www.facebook.com/charithag>, linkedin: charithag
<http://www.linkedin.com/in/charithag>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to