8 Replies Latest reply on Mar 17, 2015 2:56 AM by Ajay Antony

    java.lang.NoSuchFieldError: log

    Rogério Aguilar Newbie

      Hi. I'm new to Infinispan. I just downloaded the infinispan-7.1.1.Final-all version and tried to run the guiDemo using the command:

       

      ./runGuiDemo.sh ../demos/gui/etc/config/gui-demo-cache-config.xml

       

      The gui opens but when I click "Start Cache" I'm getting the exception:

       

      Exception in thread "pool-1-thread-1" java.lang.RuntimeException: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.marshall.core.GlobalMarshaller.start() on object of type GlobalMarshaller

          at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:403)

          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:745)

      Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.marshall.core.GlobalMarshaller.start() on object of type GlobalMarshaller

          at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:243)

          at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:580)

          at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:546)

          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:423)

          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:396)

          at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:369)

          ... 3 more

      Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.marshall.core.GlobalMarshaller.start() on object of type GlobalMarshaller

          at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:170)

          at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)

          at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)

          at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)

          at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)

          at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:221)

          ... 8 more

      Caused by: java.lang.NoSuchFieldError: log

          at org.infinispan.marshall.core.JBossMarshaller.access$000(JBossMarshaller.java:36)

          at org.infinispan.marshall.core.JBossMarshaller$ExternalizerTableProxy.<init>(JBossMarshaller.java:133)

          at org.infinispan.marshall.core.JBossMarshaller.start(JBossMarshaller.java:62)

          at org.infinispan.marshall.core.VersionAwareMarshaller.start(VersionAwareMarshaller.java:64)

          at org.infinispan.marshall.core.GlobalMarshaller.start(GlobalMarshaller.java:36)

          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.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)

          ... 13 more

       

      I tried to find the reason for this on google but could not find. I'm using a 64bits machine with Ubuntu and the Oracle JDK version is

      1.7.0_76 as seen by the command java - versions:

       

      java version "1.7.0_76"

      Java(TM) SE Runtime Environment (build 1.7.0_76-b13)

      Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)

       

      Has anybody seen this error before?