Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Trace - 7:06:50 PM] Sending notification 'textDocument/didChange'.
- Params: {
- "textDocument": {
- "uri": "file:///home/zion/test.java",
- "version": 143
- },
- "contentChanges": [
- {
- "range": {
- "start": {
- "line": 3,
- "character": 19
- },
- "end": {
- "line": 3,
- "character": 19
- }
- },
- "rangeLength": 0,
- "text": "S"
- }
- ]
- }
- [Trace - 7:06:50 PM] Received notification 'textDocument/publishDiagnostics'.
- Params: {
- "uri": "file:///home/zion/test.java",
- "diagnostics": [
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "severity": 1,
- "code": "1610612976",
- "source": "Java",
- "message": "Syntax error, insert \"Identifier (\" to complete MethodHeaderName"
- },
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "severity": 1,
- "code": "1610612976",
- "source": "Java",
- "message": "Syntax error, insert \")\" to complete MethodDeclaration"
- },
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "severity": 1,
- "code": "1610612976",
- "source": "Java",
- "message": "Syntax error, insert \";\" to complete ClassBodyDeclarations"
- }
- ]
- }
- [Trace - 7:06:50 PM] Sending request 'textDocument/codeAction - (367)'.
- Params: {
- "textDocument": {
- "uri": "file:///home/zion/test.java"
- },
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "context": {
- "diagnostics": [
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "message": "Syntax error, insert \"Identifier (\" to complete MethodHeaderName",
- "code": "1610612976",
- "source": "Java"
- },
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "message": "Syntax error, insert \")\" to complete MethodDeclaration",
- "code": "1610612976",
- "source": "Java"
- },
- {
- "range": {
- "start": {
- "line": 3,
- "character": 20
- },
- "end": {
- "line": 3,
- "character": 21
- }
- },
- "message": "Syntax error, insert \";\" to complete ClassBodyDeclarations",
- "code": "1610612976",
- "source": "Java"
- }
- ]
- }
- }
- [Trace - 7:06:50 PM] Received response 'textDocument/codeAction - (367)' in 1ms.
- Result: []
- [Trace - 7:06:50 PM] Sending request 'textDocument/completion - (368)'.
- Params: {
- "textDocument": {
- "uri": "file:///home/zion/test.java"
- },
- "position": {
- "line": 3,
- "character": 20
- }
- }
- [Trace - 7:06:50 PM] Received notification 'window/logMessage'.
- Params: {
- "type": 1,
- "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"
- }
- [Error - 7:06:50 PM] Mar 27, 2017 6:58:21 PM Problem with codeComplete for file:///home/zion/test.java
- String index out of range: -1
- java.lang.StringIndexOutOfBoundsException: String index out of range: -1
- at java.lang.String.<init>(String.java:196)
- at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:400)
- at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.createTypeProposalLabel(CompletionProposalDescriptionProvider.java:379)
- at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalDescriptionProvider.updateDescription(CompletionProposalDescriptionProvider.java:583)
- at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.toCompletionItem(CompletionProposalRequestor.java:68)
- at org.eclipse.jdt.ls.core.internal.contentassist.CompletionProposalRequestor.getCompletionItems(CompletionProposalRequestor.java:54)
- at org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.computeContentAssist(CompletionHandler.java:80)
- at org.eclipse.jdt.ls.core.internal.handlers.CompletionHandler.lambda$0(CompletionHandler.java:39)
- at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)
- at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
- at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443)
- at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
- at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
- at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
- at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
- [Trace - 7:06:50 PM] Received response 'textDocument/completion - (368)' in 17ms.
- Result: {
- "isIncomplete": false,
- "items": []
- }
- [Trace - 7:06:51 PM] Sending request 'textDocument/codeLens - (369)'.
- Params: {
- "textDocument": {
- "uri": "file:///home/zion/test.java"
- }
- }
- [Trace - 7:06:51 PM] Received response 'textDocument/codeLens - (369)' in 1ms.
- Result: [
- {
- "range": {
- "start": {
- "line": 1,
- "character": 13
- },
- "end": {
- "line": 1,
- "character": 17
- }
- },
- "data": [
- "file:///home/zion/test.java",
- {
- "line": 1,
- "character": 13
- }
- ]
- }
- ]
- [Trace - 7:06:51 PM] Sending request 'codeLens/resolve - (370)'.
- Params: {
- "range": {
- "start": {
- "line": 1,
- "character": 13
- },
- "end": {
- "line": 1,
- "character": 17
- }
- },
- "data": [
- "file:///home/zion/test.java",
- {
- "line": 1,
- "character": 13
- }
- ]
- }
- [Trace - 7:06:51 PM] Received response 'codeLens/resolve - (370)' in 3ms.
- Result: {
- "range": {
- "start": {
- "line": 1,
- "character": 13
- },
- "end": {
- "line": 1,
- "character": 17
- }
- },
- "command": {
- "title": "0 references",
- "command": "java.show.references",
- "arguments": [
- "file:///home/zion/test.java",
- {
- "line": 1,
- "character": 13
- },
- []
- ]
- },
- "data": [
- "file:///home/zion/test.java",
- {
- "line": 1,
- "character": 13
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment