Comments (3)
It looks like you have a function that doesn't specify a return type, and I guess I forgot to check for null. It's an easy fix.
from vscode-as3mxml.
Right-click the directory in VSCode's explorer. It should be called Organize Imports (Recursive).
from vscode-as3mxml.
When I was trying to run Organize Import with a directory that contains large amount of nested directories and files, I got this error:
Apr 03, 2023 11:40:20 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError
SEVERE: Internal error: java.lang.NullPointerException
java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:519)
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:553)
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:252)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.organizeImportsInUri(ExecuteCommandProvider.java:320)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.executeOrganizeImportsInDirectoryCommand2(ExecuteCommandProvider.java:183)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.lambda$executeOrganizeImportsInDirectoryCommand$0(ExecuteCommandProvider.java:119)
... 6 more
[Error - 11:40:20 PM] Request workspace/executeCommand failed.
Message: Internal error.
Code: -32603
java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:519)
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:553)
at com.as3mxml.vscode.utils.ASTUtils.findUnresolvedIdentifiersToImport(ASTUtils.java:252)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.organizeImportsInUri(ExecuteCommandProvider.java:320)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.executeOrganizeImportsInDirectoryCommand2(ExecuteCommandProvider.java:183)
at com.as3mxml.vscode.providers.ExecuteCommandProvider.lambda$executeOrganizeImportsInDirectoryCommand$0(ExecuteCommandProvider.java:119)
... 6 more
from vscode-as3mxml.
Related Issues (20)
- ArrayIndexOutOfBoundsException and NegativeArraySizeException problems on functions HOT 6
- '(' is not allowed here for property names inside an Object literal HOT 2
- Version 1.20.0 fails to compile if path to main class contains spaces (Windows) HOT 28
- AVM2 special operations not detected HOT 1
- Showing numbers defined as hex in hexadecimal format, not just decimal HOT 4
- Completion: Ordering improvement for fully present terms HOT 2
- Go to definition and autocompletion doesn't work with <fx:Script source="Myfile.as"/> HOT 1
- Symbol renaming error in the latest release HOT 1
- Support tab character after @param
- <mx:DataGrid and gestureTwoFingerTap HOT 4
- Build task failing because Adobe Animate not found HOT 3
- Support to Flash Builder old SDKs were dropped? HOT 1
- Completion: after CSS namespace tag, suggest mx and spark namespaces in Flex projects
- Option to "ACTIONSCRIPT SOURCE PATH" always visible HOT 4
- Context menu for clean, compile debug and compile release
- Need a feature to filter warnings for files in a specific path
- "Find All References" never returns any results HOT 10
- asformat: Bug in switch command within loop HOT 1
- The debugger affect to the code HOT 3
- Intellisense working only for few seconds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-as3mxml.