Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Line Found error when running tests in com.bigchaindb.ws.BigchainDbWSSessionManager #5

Open
innopreneur opened this issue Aug 8, 2018 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@innopreneur
Copy link
Contributor

Running com.bigchaindb.api.TransactionApiTest
20180808-10:57:35 1255 [main] DEBUG org.eclipse.jetty.util.component.Container  - Container org.eclipse.jetty.server.Server@6f44a157 + [email protected]:0 as connector
20180808-10:57:35 1256 [main] DEBUG net.jadler.JadlerMocker  - starting the underlying stub server...
20180808-10:57:35 1256 [main] DEBUG org.eclipse.jetty.util.component.Container  - Container org.eclipse.jetty.server.Server@6f44a157 + net.jadler.stubbing.server.jetty.JadlerHandler@6bc407fd as handler
20180808-10:57:35 1256 [main] DEBUG net.jadler.stubbing.server.jetty.JettyStubHttpServer  - starting jetty
20180808-10:57:35 1256 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting org.eclipse.jetty.server.Server@6f44a157
20180808-10:57:35 1256 [main] INFO  org.eclipse.jetty.server.Server  - jetty-8.1.11.v20130520
20180808-10:57:35 1256 [main] DEBUG org.eclipse.jetty.util.component.Container  - Container org.eclipse.jetty.server.Server@6f44a157 + qtp2694936{8<=0<=0/254,-1} as threadpool
20180808-10:57:35 1257 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting net.jadler.stubbing.server.jetty.JadlerHandler@6bc407fd
20180808-10:57:35 1257 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler  - starting net.jadler.stubbing.server.jetty.JadlerHandler@6bc407fd
20180808-10:57:35 1257 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED net.jadler.stubbing.server.jetty.JadlerHandler@6bc407fd
20180808-10:57:35 1257 [main] DEBUG org.eclipse.jetty.server.handler.AbstractHandler  - starting org.eclipse.jetty.server.Server@6f44a157
20180808-10:57:35 1257 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting qtp2694936{8<=0<=0/254,-1}
20180808-10:57:35 1260 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED qtp2694936{8<=8<=8/254,0}
20180808-10:57:35 1260 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting [email protected]:0
20180808-10:57:35 1260 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting null/null
20180808-10:57:35 1261 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
20180808-10:57:35 1261 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - starting org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@17d88132
20180808-10:57:35 1261 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@17d88132
20180808-10:57:35 1261 [qtp2694936-93 Selector0] DEBUG org.eclipse.jetty.io.nio  - Starting Thread[qtp2694936-93 Selector0,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@62b87516
20180808-10:57:35 1261 [main] INFO  org.eclipse.jetty.server.AbstractConnector  - Started [email protected]:56359
20180808-10:57:35 1262 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED [email protected]:56359
20180808-10:57:35 1262 [main] DEBUG org.eclipse.jetty.util.component.AbstractLifeCycle  - STARTED org.eclipse.jetty.server.Server@6f44a157
20180808-10:57:35 1262 [main] DEBUG net.jadler.stubbing.server.jetty.JettyStubHttpServer  - jetty started
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1262 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1263 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1263 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1263 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1263 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1264 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1264 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1264 [main] DEBUG net.jadler.JadlerMocker  - adding new stubbing...
20180808-10:57:35 1265 [main] DEBUG com.bigchaindb.builders.BigchainDbConfigBuilder  - http://localhost:56359
20180808-10:57:35 1266 [qtp2694936-93 Selector0] DEBUG org.eclipse.jetty.io.nio  - created SCEP@2d429d0a{l(/127.0.0.1:56360)<->r(/127.0.0.1:56359),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@c734d71,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
20180808-10:57:35 1267 [qtp2694936-95] DEBUG org.eclipse.jetty.http.HttpParser  - filled 0/0
20180808-10:57:35 1274 [qtp2694936-96] DEBUG org.eclipse.jetty.http.HttpParser  - filled 181/181
20180808-10:57:35 1274 [qtp2694936-96 - /api/v1] DEBUG org.eclipse.jetty.server.Server  - REQUEST /api/v1 on AsyncHttpConnection@c734d71,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=12,c=0},r=1
20180808-10:57:35 1275 [qtp2694936-96 - /api/v1] DEBUG net.jadler.JadlerMocker  - Following rule will be applied:
WHEN request (
  method is equalToIgnoringCase("GET") AND
  Path is "/api/v1")
THEN respond with status=200, body={
  "asset..., encoding=UTF-8, headers=(), delay=0 milliseconds
20180808-10:57:35 1275 [qtp2694936-96 - /api/v1] DEBUG org.eclipse.jetty.server.Server  - RESPONSE /api/v1  200 handled=true
20180808-10:57:35 1276 [qtp2694936-96] DEBUG org.eclipse.jetty.server.AsyncHttpConnection  - Enabled read interest SCEP@2d429d0a{l(/127.0.0.1:56360)<->r(/127.0.0.1:56359),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@c734d71,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=12,c=0},r=1}
20180808-10:57:35 1276 [qtp2694936-96] DEBUG org.eclipse.jetty.http.HttpParser  - filled 0/0
20180808-10:57:35 1298 [Grizzly(1)] DEBUG com.bigchaindb.ws.BigchainDbWSSessionManager  - Opening Websocket
Exception in thread "Thread-69" java.lang.RuntimeException: java.util.NoSuchElementException: No line found
	at com.bigchaindb.ws.BigchainDbWSSessionManager.<init>(BigchainDbWSSessionManager.java:48)
	at com.bigchaindb.builders.BigchainDbConfigBuilder$Builder$1.run(BigchainDbConfigBuilder.java:159)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.util.NoSuchElementException: No line found
	at java.base/java.util.Scanner.nextLine(Scanner.java:1651)
	at com.bigchaindb.util.ScannerUtil.monitorExit(ScannerUtil.java:16)
	at com.bigchaindb.ws.BigchainDbWSSessionManager.<init>(BigchainDbWSSessionManager.java:46)
	... 2 more
@innopreneur innopreneur added the bug Something isn't working label Aug 22, 2018
@innopreneur innopreneur added the help wanted Extra attention is needed label Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant