Guest User

Untitled

a guest
Jun 30th, 2018
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org.postgresql.util.PSQLException: ERROR: relation "items" does not exist
  2. Position: 13
  3. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
  4. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
  5. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
  6. at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
  7. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
  8. at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
  9. at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:136)
  10. at com.icodici.universa.node2.MainTest.clearLedger(MainTest.java:1329)
  11. at com.icodici.universa.node2.MainTest.lambda$clearLedgers$3(MainTest.java:143)
  12. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
  13. at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
  14. at com.icodici.universa.node2.MainTest.clearLedgers(MainTest.java:141)
  15. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  16. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  17. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  18. at java.lang.reflect.Method.invoke(Method.java:498)
  19. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  20. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  21. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  22. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
  23. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  24. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  25. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  26. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
  27. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  28. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  29. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  30. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  31. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  32. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  33. at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  34. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
  35. at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
  36. at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
  37. at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
  38. org.postgresql.util.PSQLException: ERROR: relation "items" does not exist
  39. Position: 13
  40. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
  41. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
  42. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
  43. at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
  44. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
  45. at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
  46. at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:136)
  47. at com.icodici.universa.node2.MainTest.clearLedger(MainTest.java:1329)
  48. at com.icodici.universa.node2.MainTest.lambda$clearLedgers$3(MainTest.java:143)
  49. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
  50. at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
  51. at com.icodici.universa.node2.MainTest.clearLedgers(MainTest.java:141)
  52. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  53. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  54. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  55. at java.lang.reflect.Method.invoke(Method.java:498)
  56. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  57. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  58. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  59. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
  60. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  61. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
  62. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
  63. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
  64. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
  65. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
  66. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
  67. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
  68. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
  69. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  70. at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  71. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
  72. at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
  73. at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
  74. at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
  75. /Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1
  76. USING REAL CONFIG
  77. Universa node server v3.6.0
  78. node settings: {node_number=1, http_server_port=2082, database=jdbc:postgresql://localhost:5432/universa_node_t1, public_host=localhost, ip=[127.0.0.1], node_name=node2_1, http_client_port=8080, udp_server_port=6001}
  79. /Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1/tmp/node2_1.private.unikey
  80. ledger constructed
  81. key loaded: Key(RSAPrivate,None,4AUBE14)
  82. node local URL: http://localhost:8080
  83. node info: {number=1, __type=com.icodici.universa.node2.NodeInfo, host=localhost, clientPort=8080, name=node2_1, publicKey={__type=RSAPublicKey, packed={__type=binary, base64=HggcAQABxAAB8hFqVey7cSvbL1Dc/M7MX4Q/KHm9zG2z9/Sg6iGwQjOCxlB0zhkQCjI2Yaw8
  84. UxB1G/W8xywO5douZblPYOJLN9d68j/R/H82plxicQnfUxZj6XGYSckDQ+eadwpwHZc+TMKY
  85. qT9EXiyECo2COYUK3+BVh/r0/q2h9AN6q9oRe5bVxbK1JOGZnOs2YwcZSDlPRisimxFCdWPQ
  86. aWe/wrMD519m6mT8HmZHElHa6HD/hZkx5A0mPMe5wEKnZfo8AWkcRPfxAKADUGjMZG/ob4uz
  87. BPySjTWfzMYlLKTva8IIB/wwWZ9LWRGFOuhTIvZe6QUPao7a0BEyomapZsH+5MZIQw==}}, serverPort=2082, udpPort=6001, publicHost=localhost}
  88. expected key file path: </Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1/config/keys/node2_4.public.unikey>
  89. expected key file path: </Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1/config/keys/node2_2.public.unikey>
  90. expected key file path: </Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1/config/keys/node2_3.public.unikey>
  91. expected key file path: </Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1/config/keys/node2_1.public.unikey>
  92. Network configuration is loaded from /Users/sergeych/dev/universa_network/universa_core/src/test_node_config_v2/node1, 4 nodes.
  93. --------------- step 3 --------------------
  94. Starting the client HTTP server...
  95. prepare to start client HTTP server on 8080
  96. exception java.net.BindException: Address already in use (Bind failed)
  97. java.net.BindException: Address already in use (Bind failed)
  98. at java.net.PlainSocketImpl.socketBind(Native Method)
  99. ERROR: exception java.net.BindException: Address already in use (Bind failed)
  100. at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
  101. usafe called
  102. at java.net.ServerSocket.bind(ServerSocket.java:375)
  103. at java.net.ServerSocket.bind(ServerSocket.java:329)
  104. at org.nanohttpd.protocols.http.ServerRunnable.run(ServerRunnable.java:63)
  105. at java.lang.Thread.run(Thread.java:748)
  106.  
  107. Universa node server v3.6.0
  108.  
  109. ERROR: Address already in use (Bind failed)
  110.  
  111. Option Description
  112. ------ -----------
  113. -?, -h, --help show help
  114. -c, --config <config_file> configuration file for the network
  115. --config-to-db converts file config to db
  116. -d, --database <db_url> database connection url
  117. --nolog do not buffer log messages (good fot
  118. testing)
  119. --restart-socket restarts UDPAdapter: shutdown it and
  120. create new
  121. --shutdown delicate shutdown with rollback
  122. current processing contracts
  123. --test intended to be used in integration
  124. tests
  125. --udp-verbose <level> sets udp-verbose level to nothing,
  126. base or detail
  127. --verbose <level> sets verbose level to nothing, base or
  128. detail
RAW Paste Data