Guest User

Debug output java

a guest
Mar 27th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.82 KB | None | 0 0
  1. [Trace - 7:06:50 PM] Sending notification 'textDocument/didChange'.
  2. Params: {
  3.     "textDocument": {
  4.         "uri": "file:///home/zion/test.java",
  5.         "version": 143
  6.     },
  7.     "contentChanges": [
  8.         {
  9.             "range": {
  10.                 "start": {
  11.                     "line": 3,
  12.                     "character": 19
  13.                 },
  14.                 "end": {
  15.                     "line": 3,
  16.                     "character": 19
  17.                 }
  18.             },
  19.             "rangeLength": 0,
  20.             "text": "S"
  21.         }
  22.     ]
  23. }
  24.  
  25.  
  26. [Trace - 7:06:50 PM] Received notification 'textDocument/publishDiagnostics'.
  27. Params: {
  28.     "uri": "file:///home/zion/test.java",
  29.     "diagnostics": [
  30.         {
  31.             "range": {
  32.                 "start": {
  33.                     "line": 3,
  34.                     "character": 20
  35.                 },
  36.                 "end": {
  37.                     "line": 3,
  38.                     "character": 21
  39.                 }
  40.             },
  41.             "severity": 1,
  42.             "code": "1610612976",
  43.             "source": "Java",
  44.             "message": "Syntax error, insert \"Identifier (\" to complete MethodHeaderName"
  45.         },
  46.         {
  47.             "range": {
  48.                 "start": {
  49.                     "line": 3,
  50.                     "character": 20
  51.                 },
  52.                 "end": {
  53.                     "line": 3,
  54.                     "character": 21
  55.                 }
  56.             },
  57.             "severity": 1,
  58.             "code": "1610612976",
  59.             "source": "Java",
  60.             "message": "Syntax error, insert \")\" to complete MethodDeclaration"
  61.         },
  62.         {
  63.             "range": {
  64.                 "start": {
  65.                     "line": 3,
  66.                     "character": 20
  67.                 },
  68.                 "end": {
  69.                     "line": 3,
  70.                     "character": 21
  71.                 }
  72.             },
  73.             "severity": 1,
  74.             "code": "1610612976",
  75.             "source": "Java",
  76.             "message": "Syntax error, insert \";\" to complete ClassBodyDeclarations"
  77.         }
  78.     ]
  79. }
  80.  
  81.  
  82. [Trace - 7:06:50 PM] Sending request 'textDocument/codeAction - (367)'.
  83. Params: {
  84.     "textDocument": {
  85.         "uri": "file:///home/zion/test.java"
  86.     },
  87.     "range": {
  88.         "start": {
  89.             "line": 3,
  90.             "character": 20
  91.         },
  92.         "end": {
  93.             "line": 3,
  94.             "character": 21
  95.         }
  96.     },
  97.     "context": {
  98.         "diagnostics": [
  99.             {
  100.                 "range": {
  101.                     "start": {
  102.                         "line": 3,
  103.                         "character": 20
  104.                     },
  105.                     "end": {
  106.                         "line": 3,
  107.                         "character": 21
  108.                     }
  109.                 },
  110.                 "message": "Syntax error, insert \"Identifier (\" to complete MethodHeaderName",
  111.                 "code": "1610612976",
  112.                 "source": "Java"
  113.             },
  114.             {
  115.                 "range": {
  116.                     "start": {
  117.                         "line": 3,
  118.                         "character": 20
  119.                     },
  120.                     "end": {
  121.                         "line": 3,
  122.                         "character": 21
  123.                     }
  124.                 },
  125.                 "message": "Syntax error, insert \")\" to complete MethodDeclaration",
  126.                 "code": "1610612976",
  127.                 "source": "Java"
  128.             },
  129.             {
  130.                 "range": {
  131.                     "start": {
  132.                         "line": 3,
  133.                         "character": 20
  134.                     },
  135.                     "end": {
  136.                         "line": 3,
  137.                         "character": 21
  138.                     }
  139.                 },
  140.                 "message": "Syntax error, insert \";\" to complete ClassBodyDeclarations",
  141.                 "code": "1610612976",
  142.                 "source": "Java"
  143.             }
  144.         ]
  145.     }
  146. }
  147.  
  148.  
  149. [Trace - 7:06:50 PM] Received response 'textDocument/codeAction - (367)' in 1ms.
  150. Result: []
  151.  
  152.  
  153. [Trace - 7:06:50 PM] Sending request 'textDocument/completion - (368)'.
  154. Params: {
  155.     "textDocument": {
  156.         "uri": "file:///home/zion/test.java"
  157.     },
  158.     "position": {
  159.         "line": 3,
  160.         "character": 20
  161.     }
  162. }
  163.  
  164.  
  165. [Trace - 7:06:50 PM] Received notification 'window/logMessage'.
  166. Params: {
  167.     "type": 1,
  168.     "message": "Mar 27, 2017 6:58:21 PM Problem with codeComplete for file:///home/zion/test.java\nString index out of range: -1\njava.lang.StringIndexOutOfBoundsException: String index out of range: -1\n\tat java.lang.String.<init>(String.java:196)\n\tat org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:400)\n\tat org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:379)\n\tat org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.updateDescription(CompletionProposalDescriptionProvider.java:583)\n\tat org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.toCompletionItem(CompletionProposalRequestor.java:68)\n\tat org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.getCompletionItems(CompletionProposalRequestor.java:54)\n\tat org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.computeContentAssist(CompletionHandler.java:80)\n\tat org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.lambda$0(CompletionHandler.java:39)\n\tat java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)\n\tat java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)\n\tat java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\n\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)\n\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)\n\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)\n"
  169. }
  170.  
  171.  
  172. [Error - 7:06:50 PM] Mar 27, 2017 6:58:21 PM Problem with codeComplete for file:///home/zion/test.java
  173. String index out of range: -1
  174. java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  175.     at java.lang.String.<init>(String.java:196)
  176.     at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:400)
  177.     at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:379)
  178.     at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.updateDescription(CompletionProposalDescriptionProvider.java:583)
  179.     at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.toCompletionItem(CompletionProposalRequestor.java:68)
  180.     at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.getCompletionItems(CompletionProposalRequestor.java:54)
  181.     at org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.computeContentAssist(CompletionHandler.java:80)
  182.     at org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.lambda$0(CompletionHandler.java:39)
  183.     at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
  184.     at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
  185.     at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
  186.     at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  187.     at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  188.     at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  189.     at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
  190.  
  191. [Trace - 7:06:50 PM] Received response 'textDocument/completion - (368)' in 17ms.
  192. Result: {
  193.     "isIncomplete": false,
  194.     "items": []
  195. }
  196.  
  197.  
  198. [Trace - 7:06:51 PM] Sending request 'textDocument/codeLens - (369)'.
  199. Params: {
  200.     "textDocument": {
  201.         "uri": "file:///home/zion/test.java"
  202.     }
  203. }
  204.  
  205.  
  206. [Trace - 7:06:51 PM] Received response 'textDocument/codeLens - (369)' in 1ms.
  207. Result: [
  208.     {
  209.         "range": {
  210.             "start": {
  211.                 "line": 1,
  212.                 "character": 13
  213.             },
  214.             "end": {
  215.                 "line": 1,
  216.                 "character": 17
  217.             }
  218.         },
  219.         "data": [
  220.             "file:///home/zion/test.java",
  221.             {
  222.                 "line": 1,
  223.                 "character": 13
  224.             }
  225.         ]
  226.     }
  227. ]
  228.  
  229.  
  230. [Trace - 7:06:51 PM] Sending request 'codeLens/resolve - (370)'.
  231. Params: {
  232.     "range": {
  233.         "start": {
  234.             "line": 1,
  235.             "character": 13
  236.         },
  237.         "end": {
  238.             "line": 1,
  239.             "character": 17
  240.         }
  241.     },
  242.     "data": [
  243.         "file:///home/zion/test.java",
  244.         {
  245.             "line": 1,
  246.             "character": 13
  247.         }
  248.     ]
  249. }
  250.  
  251.  
  252. [Trace - 7:06:51 PM] Received response 'codeLens/resolve - (370)' in 3ms.
  253. Result: {
  254.     "range": {
  255.         "start": {
  256.             "line": 1,
  257.             "character": 13
  258.         },
  259.         "end": {
  260.             "line": 1,
  261.             "character": 17
  262.         }
  263.     },
  264.     "command": {
  265.         "title": "0 references",
  266.         "command": "java.show.references",
  267.         "arguments": [
  268.             "file:///home/zion/test.java",
  269.             {
  270.                 "line": 1,
  271.                 "character": 13
  272.             },
  273.             []
  274.         ]
  275.     },
  276.     "data": [
  277.         "file:///home/zion/test.java",
  278.         {
  279.             "line": 1,
  280.             "character": 13
  281.         }
  282.     ]
  283. }
Advertisement
Add Comment
Please, Sign In to add comment