Openrefine does not launch in browser

121 views
Skip to first unread message

Asa Larsson

unread,
Mar 3, 2021, 4:19:32 AMMar 3
to OpenRefine
When I try to launch Openrefine (have tried with both 3.2 and 3.4) it gets stuck at the command window - does not open in Chrome.
I'm working in Windows 10 and I have updated Java (ver.8, 281) and uninstalled older versions.
I get a very long message in the Command window (see attachment for the full text) but it seems to boil down to some problem with Java.  

Exception in thread "main" java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256)
        at com.google.refine.RefineServer.configure(Refine.java:291)
        at com.google.refine.RefineServer.init(Refine.java:203)
        at com.google.refine.Refine.init(Refine.java:109)
        at com.google.refine.Refine.main(Refine.java:103)

Any suggestions very much appreciated.
openrefine trouble.txt

jonathan...@gmail.com

unread,
Mar 3, 2021, 6:32:04 AMMar 3
to openr...@googlegroups.com

When this happened to me it turned out to be my virus checker working silently – it never told me it was doing anything, but was treating openrefine as a browser hijack attempt.

 

Jonathan Stoneman

--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/bf47a34e-3ce0-4e70-bd81-7ec489a6d7a7n%40googlegroups.com.

Åsa M Larsson

unread,
Mar 3, 2021, 7:10:32 AMMar 3
to openr...@googlegroups.com
That's weird, because my co-worker is not having these issues. And she has the same virus programme running.
I may have to check in with the IT guys I guess...

You received this message because you are subscribed to a topic in the Google Groups "OpenRefine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openrefine/m4b78aKf1i0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openrefine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/015a01d71020%24d2e30450%2478a90cf0%24%40gmail.com.

Thad Guidry

unread,
Mar 3, 2021, 10:29:24 AMMar 3
to openr...@googlegroups.com
Hi Asa,

You could try to download and use our 3.4.1 Windows kit that has it's own embedded Java shipped with it.
We made that special kit just for folks like yourself who might have issues with Java locally for various reasons.




Asa Larsson

unread,
Mar 3, 2021, 1:33:43 PMMar 3
to OpenRefine
Unfortunately I get the identical error message with that version. 
So I guess there is something in my computer blocking the launch. :(


Melissa Chomintra

unread,
Mar 15, 2021, 8:24:03 PMMar 15
to OpenRefine
I am having the same issue. Any solutions welcome.

Åsa M Larsson

unread,
Mar 24, 2021, 4:26:48 AMMar 24
to openr...@googlegroups.com
Hi,
It is resolved (sorry for not updating).
In my case the issue seemed to be that I had put the folder and program on a server partition on my work laptop. While this partition is available offline it seemed to create the problem.
When we moved the folder to the harddrive on MyComupter it worked to launch.

Is that of any help to you?



Chris Hubbuch

unread,
Apr 27, 2021, 7:28:42 PMApr 27
to OpenRefine
I have this problem as well with version 3.0 on (2.8 works fine). I've tried with the bundled java version as well and no luck. It doesn't seem to matter where the folder is stored.  

Owen Stephens

unread,
May 11, 2021, 4:37:51 AMMay 11
to OpenRefine
Unfortunately because every setup is different there can be several reasons why OpenRefine doesn't start successfully and there is no single answer or solution that will fix it.
To do analysis on a problem like this and offer potential solutions we really need more information such as:

Operating system
Version of OpenRefine
Any messages in the OpenRefine console (if you are running on a Mac you need to start OpenRefine in a different way to normal to get the console information - this is explained under the "Mac" instructions at https://docs.openrefine.org/manual/running#starting-and-exiting - see the bullet pointed list headed "To run OpenRefine using Terminal:"

This last is usually the place to start with troubleshooting as it will expose any obvious problems at least.

If anyone is having problems running OpenRefine still please post these details and we can try to help

Best wishes

Owen

hamid rahkooy

unread,
Jul 20, 2021, 10:00:04 PMJul 20
to OpenRefine
I have The same problem. Here are the info you asked for:

MacOs High Sierra 10.13.6, 
OpenRefine Version  3.4.1

And terminal log:
-MacBook-Air:~ bk$ /Applications/OpenRefine.app/Contents/MacOS/JavaAppLauncher ; exit;
03:40:25.713 [            refine_server] Starting Server bound to '127.0.0.1:3333' (0ms)
03:40:25.741 [            refine_server] Initializing context: '/' from '/Applications/OpenRefine.app/Contents/Resources/webapp' (28ms)
03:40:26.871 [          org.mortbay.log] failed SocketC...@127.0.0.1:3333: java.net.BindException: Address already in use (Bind failed) (1130ms)
03:40:26.871 [          org.mortbay.log] failed RefineServer@458c1321: java.net.BindException: Address already in use (Bind failed) (0ms)
03:40:26.871 [            refine_server] Failed to start server - is there another copy running already on this port/address? (0ms)
Exception in thread "main" java.net.BindException: Address already in use (Bind failed)
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
    at java.net.ServerSocket.bind(ServerSocket.java:375)
    at java.net.ServerSocket.<init>(ServerSocket.java:237)
    at org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
    at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
    at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
    at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.Server.doStart(Server.java:235)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at com.google.refine.RefineServer.init(Refine.java:197)

    at com.google.refine.Refine.init(Refine.java:109)
    at com.google.refine.Refine.main(Refine.java:103)
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

hamid rahkooy

unread,
Jul 20, 2021, 10:15:38 PMJul 20
to OpenRefine
Further Update: I removed and reinstalled the atest version of Java and still the problem persists. The terminal output is below:

bk$ /Applications/OpenRefine.app/Contents/MacOS/JavaAppLauncher ; exit;
04:28:54.588 [            refine_server] Starting Server bound to '127.0.0.1:3333' (0ms)
04:28:54.622 [            refine_server] Initializing context: '/' from '/Applications/OpenRefine.app/Contents/Resources/webapp' (34ms)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Applications/OpenRefine.app/Contents/Java/lib/slf4j-log4j12-1.7.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Applications/OpenRefine.app/Contents/Resources/webapp/WEB-INF/lib/slf4j-log4j12-1.7.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
04:28:56.450 [                   refine] Starting OpenRefine 3.4.1 [437dc4d]... (1828ms)
04:28:56.451 [                   refine] initializing FileProjectManager with dir (1ms)
04:28:56.451 [                   refine] /Users/bk/Library/Application Support/OpenRefine (0ms)
Exception in thread "main" java.lang.ExceptionInInitializerError
    at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:100)
    at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
    at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71)
    at com.google.refine.jython.JythonEvaluable.<clinit>(JythonEvaluable.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
    at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
    at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
    at org.mozilla.javascript.gen.c6._c1(file:/Applications/OpenRefine.app/Contents/Resources/webapp/extensions/jython/module/MOD-INF/controller.js:46)
    at org.mozilla.javascript.gen.c6.call(file:/Applications/OpenRefine.app/Contents/Resources/webapp/extensions/jython/module/MOD-INF/controller.js)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
    at org.mozilla.javascript.gen.c6.call(file:/Applications/OpenRefine.app/Contents/Resources/webapp/extensions/jython/module/MOD-INF/controller.js)
    at edu.mit.simile.butterfly.ButterflyModuleImpl.scriptInit(ButterflyModuleImpl.java:636)
    at edu.mit.simile.butterfly.ButterflyModuleImpl.init(ButterflyModuleImpl.java:94)
    at edu.mit.simile.butterfly.Butterfly.initializeModule(Butterfly.java:476)
    at edu.mit.simile.butterfly.Butterfly.configure(Butterfly.java:451)
    at edu.mit.simile.butterfly.Butterfly.init(Butterfly.java:308)
    at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)

    at com.google.refine.RefineServer.configure(Refine.java:291)
    at com.google.refine.RefineServer.init(Refine.java:203)
    at com.google.refine.Refine.init(Refine.java:109)
    at com.google.refine.Refine.main(Refine.java:103)
Caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
    at org.python.core.PyString.<init>(PyString.java:57)
    at org.python.core.PyString.<init>(PyString.java:70)
    at org.python.core.PyString.<init>(PyString.java:74)
    at org.python.core.Py.newString(Py.java:647)
    at org.python.core.PyJavaType.init(PyJavaType.java:585)
    at org.python.core.PyType.createType(PyType.java:1523)
    at org.python.core.PyType.addFromClass(PyType.java:1462)
    at org.python.core.PyType.fromClass(PyType.java:1551)
    at org.python.core.PyObject.<init>(PyObject.java:93)
    at org.python.core.PySingleton.<init>(PySingleton.java:9)
    at org.python.core.PyNotImplemented.<init>(PyNotImplemented.java:10)
    at org.python.core.Py.<clinit>(Py.java:94)
    ... 27 more

hamid rahkooy

unread,
Jul 21, 2021, 10:53:23 AMJul 21
to OpenRefine
Update:
I removed the Extensions and the problems is solved.
Reply all
Reply to author
Forward
0 new messages