org.renjin.eval.EvalException: IOException while loading package org.renjin.cran:foreach: Could not load package org.renjin:compiler

GitHub | marioguerriero | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cannot use foreach library

    GitHub | 9 months ago | marioguerriero
    org.renjin.eval.EvalException: IOException while loading package org.renjin.cran:foreach: Could not load package org.renjin:compiler

    Root Cause Analysis

    1. org.renjin.eval.EvalException

      Could not load package org.renjin:compiler

      at org.renjin.primitives.packaging.NamespaceRegistry.getNamespace()
    2. org.renjin.primitives
      RDataReader.readFile
      1. org.renjin.primitives.packaging.NamespaceRegistry.getNamespace(NamespaceRegistry.java:156)
      2. org.renjin.primitives.packaging.NamespaceRegistry.getNamespace(NamespaceRegistry.java:118)
      3. org.renjin.primitives.io.serialization.SessionReadContext.findNamespace(SessionReadContext.java:38)
      4. org.renjin.primitives.io.serialization.RDataReader.readNamespace(RDataReader.java:496)
      5. org.renjin.primitives.io.serialization.RDataReader.readExp(RDataReader.java:177)
      6. org.renjin.primitives.io.serialization.RDataReader.readTag(RDataReader.java:421)
      7. org.renjin.primitives.io.serialization.RDataReader.readClosure(RDataReader.java:253)
      8. org.renjin.primitives.io.serialization.RDataReader.readExp(RDataReader.java:185)
      9. org.renjin.primitives.io.serialization.RDataReader.readFile(RDataReader.java:81)
      9 frames
    3. org.renjin.packaging
      LazyLoadFrame.load
      1. org.renjin.packaging.LazyLoadFrame.load(LazyLoadFrame.java:45)
      1 frame
    4. org.renjin.primitives
      InternalFunction.apply
      1. org.renjin.primitives.packaging.FileBasedPackage.loadSymbols(FileBasedPackage.java:31)
      2. org.renjin.primitives.packaging.NamespaceRegistry.populateNamespace(NamespaceRegistry.java:221)
      3. org.renjin.primitives.packaging.NamespaceRegistry.tryLoad(NamespaceRegistry.java:190)
      4. org.renjin.primitives.packaging.NamespaceRegistry.tryGetNamespace(NamespaceRegistry.java:173)
      5. org.renjin.primitives.packaging.NamespaceRegistry.getNamespace(NamespaceRegistry.java:135)
      6. org.renjin.primitives.packaging.NamespaceRegistry.getNamespace(NamespaceRegistry.java:97)
      7. org.renjin.primitives.packaging.Packages.library(Packages.java:23)
      8. org.renjin.primitives.R$primitive$library.doApply(R$primitive$library.java:73)
      9. org.renjin.primitives.R$primitive$library.apply(R$primitive$library.java:34)
      10. org.renjin.primitives.special.InternalFunction.apply(InternalFunction.java:55)
      10 frames
    5. org.renjin.eval
      Context.evaluate
      1. org.renjin.eval.Context.evaluateCall(Context.java:283)
      2. org.renjin.eval.Context.evaluate(Context.java:207)
      2 frames
    6. org.renjin.primitives
      BeginFunction.apply
      1. org.renjin.primitives.special.BeginFunction.apply(BeginFunction.java:46)
      1 frame
    7. org.renjin.eval
      Context.evaluate
      1. org.renjin.eval.Context.evaluateCall(Context.java:283)
      2. org.renjin.eval.Context.evaluate(Context.java:207)
      3. org.renjin.eval.Context.evaluate(Context.java:163)
      3 frames
    8. org.renjin.sexp
      Closure.doApply
      1. org.renjin.sexp.Closure.doApply(Closure.java:107)
      1 frame
    9. org.renjin.eval
      ClosureDispatcher.applyClosure
      1. org.renjin.eval.ClosureDispatcher.apply(ClosureDispatcher.java:76)
      2. org.renjin.eval.ClosureDispatcher.applyClosure(ClosureDispatcher.java:61)
      2 frames
    10. org.renjin.sexp
      Closure.apply
      1. org.renjin.sexp.Closure.apply(Closure.java:81)
      1 frame
    11. org.renjin.eval
      Context.evaluate
      1. org.renjin.eval.Context.evaluateCall(Context.java:283)
      2. org.renjin.eval.Context.evaluate(Context.java:207)
      3. org.renjin.eval.Context.evaluateExpressionVector(Context.java:266)
      4. org.renjin.eval.Context.evaluate(Context.java:205)
      4 frames
    12. org.renjin.script
      RenjinScriptEngine.eval
      1. org.renjin.script.RenjinScriptEngine.eval(RenjinScriptEngine.java:150)
      2. org.renjin.script.RenjinScriptEngine.eval(RenjinScriptEngine.java:145)
      3. org.renjin.script.RenjinScriptEngine.eval(RenjinScriptEngine.java:124)
      3 frames
    13. it.unisannio.loganalysis
      MyUI.lambda$init$4a7e7d78$1
      1. it.unisannio.loganalysis.analysis.TableHandler.<init>(TableHandler.java:30)
      2. it.unisannio.loganalysis.analysis.TableHandler.getInstance(TableHandler.java:22)
      3. it.unisannio.loganalysis.presentation.MyUI.lambda$init$4a7e7d78$1(MyUI.java:51)
      3 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    15. Vaadin
      EventRouter.fireEvent
      1. com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
      2. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:198)
      3. com.vaadin.event.EventRouter.fireEvent(EventRouter.java:161)
      3 frames
    16. com.vaadin.server
      AbstractClientConnector.fireEvent
      1. com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1008)
      1 frame
    17. Vaadin
      ComboBox.changeVariables
      1. com.vaadin.ui.AbstractField.fireValueChange(AbstractField.java:1159)
      2. com.vaadin.ui.AbstractField.setValue(AbstractField.java:570)
      3. com.vaadin.ui.AbstractSelect.setValue(AbstractSelect.java:732)
      4. com.vaadin.ui.AbstractField.setValue(AbstractField.java:468)
      5. com.vaadin.ui.ComboBox.changeVariables(ComboBox.java:730)
      5 frames
    18. com.vaadin.server
      VaadinServlet.service
      1. com.vaadin.server.communication.ServerRpcHandler.changeVariables(ServerRpcHandler.java:603)
      2. com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:422)
      3. com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273)
      4. com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:79)
      5. com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)
      6. com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1409)
      7. com.vaadin.server.VaadinServlet.service(VaadinServlet.java:364)
      7 frames
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    20. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
      3. org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:172)
      4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
      5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      7. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      8. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      9. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
      10. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      11. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      12. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
      13. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      14. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      15. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      16. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      17. org.eclipse.jetty.server.Server.handle(Server.java:497)
      18. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      19. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
      20. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      21. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
      22. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
      22 frames
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame