Last active
November 20, 2020 21:05
-
-
Save Confirm4Crit/5c109862af36468f110d6a0aeb61b5da to your computer and use it in GitHub Desktop.
Another apex lang server log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 15:38:05.557 [Apex Prelude Service STARTING] INFO a.j.l.i.s.ApexPreludeManagedService - Scanning built-in and system Apex types. | |
| Nov 20, 2020 3:38:05 PM apex.jorje.parser.impl.BaseApexLexer dedupe | |
| INFO: Deduped array ApexLexer.DFA22_transition. Found 7075528 shorts which is 13MB not including array overhead. Removed 6418975 shorts which is 12MB not counting array overhead. Took 8 ms. | |
| 15:38:07.930 [Apex Prelude Service STARTING] INFO a.j.l.i.s.ApexPreludeManagedService - Patching standard library for System.Database.* methods | |
| 15:38:07.936 [Apex Prelude Service STARTING] INFO a.j.l.i.s.ApexPreludeManagedService - Done patching standard library for System.Database.* methods | |
| 15:38:08.503 [ApexIndexer STARTING] INFO a.jorje.lsp.impl.index.ApexIndexer - ApexIndexer: Scanning user-defined types. | |
| 15:38:08.505 [Apex Prelude Service STARTING] INFO a.j.l.i.s.ApexPreludeManagedService - Scanning built-in and system Apex types took 2947 ms. | |
| 15:38:20.648 [ApexIndexer STARTING] INFO a.jorje.lsp.impl.index.ApexIndexer - ApexIndexer: Scanning user-defined types took 12133 ms. | |
| 15:40:00.653 [ApexIndexer RUNNING] INFO a.jorje.lsp.impl.index.ApexIndexer - Processing changes to SObjects Created | |
| 15:40:00.656 [ApexIndexer RUNNING] INFO a.jorje.lsp.impl.index.ApexIndexer - ApexIndexer: Scanning user-defined types. | |
| 15:40:53.946 [ApexIndexer RUNNING] INFO a.jorje.lsp.impl.index.ApexIndexer - ApexIndexer: Scanning user-defined types took 53255 ms. | |
| Nov 20, 2020 4:01:47 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation | |
| WARNING: Unmatched cancel notification for request id 19 | |
| Nov 20, 2020 4:01:50 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation | |
| WARNING: Unmatched cancel notification for request id 33 | |
| Nov 20, 2020 4:01:53 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation | |
| WARNING: Unmatched cancel notification for request id 38 | |
| 16:02:25.015 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider@2db2dd9d | |
| java.lang.NullPointerException: null | |
| at org.eclipse.jdt.internal.core.nd.NdNodeTypeRegistry.createNode(NdNodeTypeRegistry.java:70) | |
| at org.eclipse.jdt.internal.core.nd.Nd.getNode(Nd.java:611) | |
| at org.eclipse.jdt.internal.core.nd.NdNode.load(NdNode.java:65) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.get(FieldOneToMany.java:116) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.accept(FieldOneToMany.java:88) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.asList(FieldOneToMany.java:95) | |
| at apex.jorje.lsp.impl.index.node.ApexType.getFields(ApexType.java:81) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:88) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:38) | |
| at apex.common.base.Initializers$MemoizingInitializer.get(Initializers.java:74) | |
| at apex.jorje.semantic.symbol.type.AbstractTypeInfo.fields(AbstractTypeInfo.java:132) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.walkParents(VariableResolver.java:227) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:179) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:101) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupVariableInfo(StandardSymbolResolver.java:229) | |
| at apex.jorje.semantic.ast.expression.VariableExpression.validate(VariableExpression.java:96) | |
| at apex.jorje.semantic.ast.expression.MethodCallExpression.validate(MethodCallExpression.java:169) | |
| at apex.jorje.semantic.ast.statement.ExpressionStatement.validate(ExpressionStatement.java:60) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.validate(BlockStatement.java:154) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.validate(MethodBlockStatement.java:82) | |
| at apex.jorje.semantic.ast.member.Method.validate(Method.java:172) | |
| at apex.jorje.semantic.ast.compilation.UserClass.validate(UserClass.java:183) | |
| at apex.jorje.semantic.compiler.CodeUnit.validate(CodeUnit.java:220) | |
| at apex.jorje.semantic.compiler.CompilerOperations$ValidateOperation.invoke(CompilerOperations.java:96) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.compileAndTraverse(BaseCodeActionsProvider.java:90) | |
| at apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider.getCodeActions(DeclareMissingMethodProvider.java:78) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| 16:02:25.018 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider@4d411036 | |
| java.lang.NullPointerException: null | |
| at org.eclipse.jdt.internal.core.nd.NdNodeTypeRegistry.createNode(NdNodeTypeRegistry.java:70) | |
| at org.eclipse.jdt.internal.core.nd.Nd.getNode(Nd.java:611) | |
| at org.eclipse.jdt.internal.core.nd.NdNode.load(NdNode.java:65) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.get(FieldOneToMany.java:116) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.accept(FieldOneToMany.java:88) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.asList(FieldOneToMany.java:95) | |
| at apex.jorje.lsp.impl.index.node.ApexType.getFields(ApexType.java:81) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:88) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:38) | |
| at apex.common.base.Initializers$MemoizingInitializer.get(Initializers.java:74) | |
| at apex.jorje.semantic.symbol.type.AbstractTypeInfo.fields(AbstractTypeInfo.java:132) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.walkParents(VariableResolver.java:227) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:179) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:101) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupVariableInfo(StandardSymbolResolver.java:229) | |
| at apex.jorje.semantic.ast.expression.VariableExpression.validate(VariableExpression.java:96) | |
| at apex.jorje.semantic.ast.expression.MethodCallExpression.validate(MethodCallExpression.java:169) | |
| at apex.jorje.semantic.ast.statement.ExpressionStatement.validate(ExpressionStatement.java:60) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.validate(BlockStatement.java:154) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.validate(MethodBlockStatement.java:82) | |
| at apex.jorje.semantic.ast.member.Method.validate(Method.java:172) | |
| at apex.jorje.semantic.ast.compilation.UserClass.validate(UserClass.java:183) | |
| at apex.jorje.semantic.compiler.CodeUnit.validate(CodeUnit.java:220) | |
| at apex.jorje.semantic.compiler.CompilerOperations$ValidateOperation.invoke(CompilerOperations.java:96) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider.getCodeActions(ApexCodeActionsProvider.java:67) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| Nov 20, 2020 4:02:25 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError | |
| SEVERE: Internal error: java.lang.reflect.InvocationTargetException | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.lang.NullPointerException | |
| at org.eclipse.jdt.internal.core.nd.NdNodeTypeRegistry.createNode(NdNodeTypeRegistry.java:70) | |
| at org.eclipse.jdt.internal.core.nd.Nd.getNode(Nd.java:611) | |
| at org.eclipse.jdt.internal.core.nd.NdNode.load(NdNode.java:65) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.get(FieldOneToMany.java:116) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.accept(FieldOneToMany.java:88) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.asList(FieldOneToMany.java:95) | |
| at apex.jorje.lsp.impl.index.node.ApexType.getFields(ApexType.java:81) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:88) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:38) | |
| at apex.common.base.Initializers$MemoizingInitializer.get(Initializers.java:74) | |
| at apex.jorje.semantic.symbol.type.AbstractTypeInfo.fields(AbstractTypeInfo.java:132) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.walkParents(VariableResolver.java:227) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:179) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:101) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupVariableInfo(StandardSymbolResolver.java:229) | |
| at apex.jorje.semantic.ast.expression.VariableExpression.validate(VariableExpression.java:96) | |
| at apex.jorje.semantic.ast.expression.MethodCallExpression.validate(MethodCallExpression.java:169) | |
| at apex.jorje.semantic.ast.statement.ExpressionStatement.validate(ExpressionStatement.java:60) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.validate(BlockStatement.java:154) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.validate(MethodBlockStatement.java:82) | |
| at apex.jorje.semantic.ast.member.Method.validate(Method.java:172) | |
| at apex.jorje.semantic.ast.compilation.UserClass.validate(UserClass.java:183) | |
| at apex.jorje.semantic.compiler.CodeUnit.validate(CodeUnit.java:220) | |
| at apex.jorje.semantic.compiler.CompilerOperations$ValidateOperation.invoke(CompilerOperations.java:96) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| [Error - 4:02:25 PM] Request textDocument/documentSymbol failed. | |
| Message: Internal error. | |
| Code: -32603 | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.lang.NullPointerException | |
| at org.eclipse.jdt.internal.core.nd.NdNodeTypeRegistry.createNode(NdNodeTypeRegistry.java:70) | |
| at org.eclipse.jdt.internal.core.nd.Nd.getNode(Nd.java:611) | |
| at org.eclipse.jdt.internal.core.nd.NdNode.load(NdNode.java:65) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.get(FieldOneToMany.java:116) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.accept(FieldOneToMany.java:88) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldOneToMany.asList(FieldOneToMany.java:95) | |
| at apex.jorje.lsp.impl.index.node.ApexType.getFields(ApexType.java:81) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:88) | |
| at apex.jorje.lsp.impl.index.symbol.VirtualFieldTableInitializer.get(VirtualFieldTableInitializer.java:38) | |
| at apex.common.base.Initializers$MemoizingInitializer.get(Initializers.java:74) | |
| at apex.jorje.semantic.symbol.type.AbstractTypeInfo.fields(AbstractTypeInfo.java:132) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.walkParents(VariableResolver.java:227) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:179) | |
| at apex.jorje.semantic.symbol.resolver.VariableResolver.lookup(VariableResolver.java:101) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupVariableInfo(StandardSymbolResolver.java:229) | |
| at apex.jorje.semantic.ast.expression.VariableExpression.validate(VariableExpression.java:96) | |
| at apex.jorje.semantic.ast.expression.MethodCallExpression.validate(MethodCallExpression.java:169) | |
| at apex.jorje.semantic.ast.statement.ExpressionStatement.validate(ExpressionStatement.java:60) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.validate(BlockStatement.java:154) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.validate(MethodBlockStatement.java:82) | |
| at apex.jorje.semantic.ast.member.Method.validate(Method.java:172) | |
| at apex.jorje.semantic.ast.compilation.UserClass.validate(UserClass.java:183) | |
| at apex.jorje.semantic.compiler.CodeUnit.validate(CodeUnit.java:220) | |
| at apex.jorje.semantic.compiler.CompilerOperations$ValidateOperation.invoke(CompilerOperations.java:96) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| Nov 20, 2020 4:02:25 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError | |
| SEVERE: Internal error: java.lang.reflect.InvocationTargetException | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.lang.NullPointerException | |
| [Error - 4:02:25 PM] Request textDocument/documentSymbol failed. | |
| Message: Internal error. | |
| Code: -32603 | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.lang.NullPointerException | |
| 16:02:25.233 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeLensesProviderAggregator - Encountered an error with code lens provider apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider@13006998 | |
| java.lang.NullPointerException: null | |
| 16:02:25.241 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeLensesProviderAggregator - Encountered an error with code lens provider apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider@13006998 | |
| java.lang.NullPointerException: null | |
| 16:02:39.017 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider@2db2dd9d | |
| java.lang.NullPointerException: null | |
| 16:02:39.018 [ForkJoinPool.commonPool-worker-5] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider@4d411036 | |
| java.lang.NullPointerException: null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.diagnostics.DiagnosticsReporter.lambda$publishDiagnostics$0(DiagnosticsReporter.java:107) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.diagnostics.DiagnosticsReporter.publishDiagnostics(DiagnosticsReporter.java:105) | |
| at apex.jorje.lsp.impl.diagnostics.DiagnosticsReporter.handleDidOpen(DiagnosticsReporter.java:79) | |
| at apex.jorje.lsp.impl.document.DocumentLifecycleDispatcher.lambda$null$0(DocumentLifecycleDispatcher.java:66) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.compileAndTraverse(BaseCodeActionsProvider.java:90) | |
| at apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider.getCodeActions(DeclareMissingMethodProvider.java:78) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| 16:04:20.499 [ForkJoinPool.commonPool-worker-19] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider@2db2dd9d | |
| java.nio.BufferUnderflowException: null | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.compileAndTraverse(BaseCodeActionsProvider.java:90) | |
| at apex.jorje.lsp.impl.codeActions.quickFix.DeclareMissingMethodProvider.getCodeActions(DeclareMissingMethodProvider.java:78) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Nov 20, 2020 4:04:20 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError | |
| SEVERE: Internal error: java.lang.reflect.InvocationTargetException | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| [Error - 4:04:20 PM] Request textDocument/documentSymbol failed. | |
| Message: Internal error. | |
| Code: -32603 | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider.getCodeActions(ApexCodeActionsProvider.java:67) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| Nov 20, 2020 4:04:20 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation | |
| WARNING: Unmatched cancel notification for request id 59 | |
| 16:04:20.508 [ForkJoinPool.commonPool-worker-19] ERROR a.j.l.i.c.CodeActionsProviderAggregator - Encountered an error with code action provider apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider@4d411036 | |
| java.nio.BufferUnderflowException: null | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.codeActions.ApexCodeActionsProvider.getCodeActions(ApexCodeActionsProvider.java:67) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.lambda$provideCodeActions$0(BaseCodeActionsProvider.java:79) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeActions.BaseCodeActionsProvider.provideCodeActions(BaseCodeActionsProvider.java:77) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.lambda$provideCodeActions$0(CodeActionsProviderAggregator.java:59) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeActions.CodeActionsProviderAggregator.provideCodeActions(CodeActionsProviderAggregator.java:57) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeAction$7(StandardTextDocumentService.java:291) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Nov 20, 2020 4:04:20 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError | |
| SEVERE: Internal error: java.lang.reflect.InvocationTargetException | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| [Error - 4:04:20 PM] Request textDocument/documentSymbol failed. | |
| Message: Internal error. | |
| Code: -32603 | |
| java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:67) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261) | |
| at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:192) | |
| at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94) | |
| at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:99) | |
| at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) | |
| at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) | |
| at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) | |
| at java.base/java.lang.Thread.run(Thread.java:834) | |
| Caused by: java.lang.reflect.InvocationTargetException | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
| at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
| at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
| at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65) | |
| ... 11 more | |
| Caused by: java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:90) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.generateDocumentSymbols(StandardTextDocumentService.java:414) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.documentSymbol(StandardTextDocumentService.java:254) | |
| ... 16 more | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:95) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.lambda$provideCodeLenses$0(ApexTestRunCodeLensesProvider.java:87) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.provideCodeLenses(ApexTestRunCodeLensesProvider.java:86) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.lambda$provideCodeLenses$0(CodeLensesProviderAggregator.java:58) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.provideCodeLenses(CodeLensesProviderAggregator.java:56) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeLens$8(StandardTextDocumentService.java:317) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| 16:04:20.552 [ForkJoinPool.commonPool-worker-19] ERROR a.j.l.i.c.CodeLensesProviderAggregator - Encountered an error with code lens provider apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider@13006998 | |
| java.nio.BufferUnderflowException: null | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:95) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.lambda$provideCodeLenses$0(ApexTestRunCodeLensesProvider.java:87) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.provideCodeLenses(ApexTestRunCodeLensesProvider.java:86) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.lambda$provideCodeLenses$0(CodeLensesProviderAggregator.java:58) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.provideCodeLenses(CodeLensesProviderAggregator.java:56) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeLens$8(StandardTextDocumentService.java:317) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| Nov 20, 2020 4:04:20 PM apex.jorje.semantic.compiler.CodeUnit traverse | |
| INFO: unexpected error during apex PostTypeResolveVisitor: | |
| @isTest | |
| public class TestQuote_Test { | |
| @isTest | |
| static void InsertsQuote() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| } | |
| @isTest | |
| static void ApplysDefaultPropsOppty() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test Quote', insertedQuote.name); | |
| } | |
| @isTest | |
| static void ApplysGivenFields() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.fields('name:Test2'); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name FROM Quote LIMIT 1 ]; | |
| System.assertEquals(testQuote.quote.id, insertedQuote.id); | |
| System.assertEquals('Test2', insertedQuote.name); | |
| } | |
| @isTest | |
| static void InsertsOpptyByDefault() { | |
| TestQuote testQuote = new TestQuote(); | |
| testQuote.save(); | |
| Quote insertedQuote = [ SELECT Id, Name, OpportunityId FROM Quote LIMIT 1 ]; | |
| System.assert(insertedQuote.OpportunityId != null); | |
| } | |
| // @isTest | |
| // static void CanSetFieldsDirectlyOnInstance() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Name, StageName, CloseDate, Application_Type__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals('First Data', insertedQuote.Application_Type__c); | |
| // System.assertEquals('Test2', insertedQuote.name); | |
| // } | |
| // @isTest | |
| // static void DoesNotCreateAMidWhenNoMidIsTrue() { | |
| // TestQuote testQuote = new TestQuote(); | |
| // testQuote.fields('name:Test2'); | |
| // testQuote.noMid = true; | |
| // testQuote.save(); | |
| // Quote insertedQuote = [ SELECT Id, Mid__c FROM Quote LIMIT 1 ]; | |
| // System.assertEquals(null, insertedQuote.mid__c); | |
| // } | |
| } | |
| java.nio.BufferUnderflowException | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:95) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.lambda$provideCodeLenses$0(ApexTestRunCodeLensesProvider.java:87) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.provideCodeLenses(ApexTestRunCodeLensesProvider.java:86) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.lambda$provideCodeLenses$0(CodeLensesProviderAggregator.java:58) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.provideCodeLenses(CodeLensesProviderAggregator.java:56) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeLens$8(StandardTextDocumentService.java:317) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) | |
| 16:04:20.561 [ForkJoinPool.commonPool-worker-19] ERROR a.j.l.i.c.CodeLensesProviderAggregator - Encountered an error with code lens provider apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider@13006998 | |
| java.nio.BufferUnderflowException: null | |
| at java.base/java.nio.CharBuffer.get(CharBuffer.java:735) | |
| at org.eclipse.jdt.internal.core.nd.db.Chunk.getChars(Chunk.java:286) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.getChars(LongString.java:121) | |
| at org.eclipse.jdt.internal.core.nd.db.LongString.compare(LongString.java:223) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex$SearchCriteriaToBtreeVisitorAdapter.compare(FieldSearchIndex.java:132) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:628) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:647) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:655) | |
| at org.eclipse.jdt.internal.core.nd.db.BTree.accept(BTree.java:598) | |
| at org.eclipse.jdt.internal.core.nd.field.FieldSearchIndex.findBest(FieldSearchIndex.java:232) | |
| at apex.jorje.lsp.impl.index.ApexIndex.findExactTypeId(ApexIndex.java:206) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.getTypeIdDependentOnNamespace(ApexSymbolProvider.java:158) | |
| at apex.jorje.lsp.impl.symbols.ApexSymbolProvider.find(ApexSymbolProvider.java:131) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.find(StandardSymbolResolver.java:444) | |
| at apex.jorje.semantic.symbol.resolver.rules.OnePartTypeNameResolveRules$TopLevelTypeInSameNamespace.lookup(OnePartTypeNameResolveRules.java:417) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.getTypeFromOnePartRules(TypeNameResolutionOrderUtil.java:104) | |
| at apex.jorje.semantic.symbol.resolver.rules.TypeNameResolutionOrderUtil.bindToType(TypeNameResolutionOrderUtil.java:55) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:390) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfoIdentifiers(StandardSymbolResolver.java:196) | |
| at apex.jorje.semantic.symbol.resolver.TypeRefResolvers$ClassTypeResolver.resolve(TypeRefResolvers.java:148) | |
| at apex.jorje.semantic.symbol.resolver.StandardSymbolResolver.lookupTypeInfo(StandardSymbolResolver.java:158) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.resolveType(VariableDeclarationStatements.java:171) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:160) | |
| at apex.jorje.semantic.ast.visitor.PostTypeResolveVisitor.visit(PostTypeResolveVisitor.java:56) | |
| at apex.jorje.semantic.ast.statement.VariableDeclarationStatements.traverse(VariableDeclarationStatements.java:84) | |
| at apex.jorje.semantic.ast.statement.BlockStatement.traverse(BlockStatement.java:140) | |
| at apex.jorje.semantic.ast.statement.MethodBlockStatement.traverse(MethodBlockStatement.java:75) | |
| at apex.jorje.semantic.ast.member.Method.traverse(Method.java:104) | |
| at apex.jorje.semantic.ast.compilation.UserClass.traverse(UserClass.java:129) | |
| at apex.jorje.semantic.compiler.CodeUnit.traverse(CodeUnit.java:195) | |
| at apex.jorje.semantic.compiler.CompilerOperations$PostTypeResolveOperation.invoke(CompilerOperations.java:84) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processFirstStage(CompilerStageProcessor.java:134) | |
| at apex.jorje.semantic.compiler.CompilerStageProcessor.processToStage(CompilerStageProcessor.java:103) | |
| at apex.jorje.semantic.compiler.ApexCompiler.compile(ApexCompiler.java:120) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:110) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.fetchCodeUnit(StandardCompilerService.java:159) | |
| at apex.jorje.lsp.impl.services.StandardCompilerService.compile(StandardCompilerService.java:95) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.lambda$provideCodeLenses$0(ApexTestRunCodeLensesProvider.java:87) | |
| at java.base/java.util.Optional.ifPresent(Optional.java:183) | |
| at apex.jorje.lsp.impl.codeLens.ApexTestRunCodeLensesProvider.provideCodeLenses(ApexTestRunCodeLensesProvider.java:86) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.lambda$provideCodeLenses$0(CodeLensesProviderAggregator.java:58) | |
| at java.base/java.lang.Iterable.forEach(Iterable.java:75) | |
| at apex.jorje.lsp.impl.codeLens.CodeLensesProviderAggregator.provideCodeLenses(CodeLensesProviderAggregator.java:56) | |
| at apex.jorje.lsp.impl.services.StandardTextDocumentService.lambda$codeLens$8(StandardTextDocumentService.java:317) | |
| at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) | |
| at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) | |
| at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) | |
| at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) | |
| at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) | |
| at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) | |
| at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment