Giter Club home page Giter Club logo

Comments (1)

purplefox avatar purplefox commented on September 6, 2024

Some examples are probably broken, we haven't got around to fixing them
all for 2.0 yet.

But... that method does exist.

On 20/06/13 22:04, Simone Scarduzio wrote:

I can't get the example working, I'm using the master checkout of Vert.x and of this repo.
The examples are using a non existing method.

0.06 21:09:29 euler:/tmp/vertx-examples/src/main/modules/ruby/webapp $ ~/vert.x/build/vert.x-2.0.0-CR2-SNAPSHOT/bin/vertx runmod io.vertx~example-web-app~1.0
Downloading io.vertx~lang-jruby~2.0.0-CR1. Please wait...
Downloading 100%
Module io.vertx~lang-jruby~2.0.0-CR1 successfully installed
Unexpected exception in Ruby verticle
java.lang.NoSuchMethodError: org.vertx.java.core.shareddata.SharedData.getMap(Ljava/lang/String;)Ljava/util/concurrent/ConcurrentMap;
  at org.vertx.mods.web.StaticFileHandler.<init>(StaticFileHandler.java:59)
  at org.vertx.mods.web.WebServerBase.staticHandler(WebServerBase.java:118)
  at org.vertx.mods.web.WebServerBase.start(WebServerBase.java:74)
  at org.vertx.java.platform.impl.DefaultPlatformManager$18.run(DefaultPlatformManager.java:1256)
  at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:170)
  at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:365)
  at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
  at java.lang.Thread.run(Thread.java:722)

And this is Python

0.06 21:09:29 euler:/tmp/vertx-examples/src/main/modules/python/webapp $ ~/vert.x/build/vert.x-2.0.0-CR2-SNAPSHOT/bin/vertx runmod io.vertx~example-web-app~1.0
Downloading io.vertx~lang-jython~2.0.0-CR1. Please wait...
Downloading 100%
Module io.vertx~lang-jython~2.0.0-CR1 successfully installed
A task raised an exception.
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1911)
  at org.vertx.java.platform.impl.JythonVerticleFactory.reportException(JythonVerticleFactory.java:81)
  at org.vertx.java.platform.impl.VerticleHolder.reportException(VerticleHolder.java:53)
  at org.vertx.java.core.impl.DefaultContext.reportException(DefaultContext.java:77)
  at org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:172)
  at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:353)
  at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:365)
  at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)
  at java.lang.Thread.run(Thread.java:722)

Reply to this email directly or view it on GitHub:
#2

from vertx-examples.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.