Replies: 1 comment
-
Looks like it only implements a 32bit version and no default lib, are you testing on a 64bit windows machine? Likely that the extension doesn't have support for that platform and without a default lib it's failing with missing classes. Probably needs a bit of updating to be able to support modern machines. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, hopefully this is good place to ask this question, but I'm currently working on a bit of legacy code trying to update my company's app for Android and iOS, as well as on Windows which is where my problems are stemming from. The app was originally developed and released using AIRSDK, someone who previouslly worked on the app, updated it to use 33.1 and I have been tasked to get things running again for the latest version of the AIR SDK with 51.1.3.
I have managed to get our Android app up and running properly but I have been struggling with packaging the iOS version, as well as solving an error that has crept up when debugging our Windows version of the app.
The ANE that is causing me problems is called ArduinoConnector.ane. We are using it to be able to attach to the USB port and communicate with a series of products that we have deployed out in the field.
The current problem I have with it is when we have a check to see if an object has been initalized yet, we check against null and if it is null, the process initalizes the object and continues on. From what I can tell, we haven't ever had any issues in this area in the past and from what Ive been able to google, the issue is probably because of a difference of SDKs the ANE was built against and what the current app is being built against.
Everything builds and gets packaged just fine, but when we get to that if statement checking against null, it spits out this error:
[Fault] exception, information=VerifyError: Error #1014: Class com.quetwo.Arduino::ArduinoConnector could not be found.
as well as this stack trace dump:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) at java.base/java.util.Objects.checkIndex(Objects.java:385) at java.base/java.util.ArrayList.get(ArrayList.java:427) at flash.tools.debugger.concrete.DManager.getFrame(DManager.java:921) at flash.tools.debugger.concrete.PlayerSession.pullUpActivationObjectVariables(PlayerSession.java:1113) at flash.tools.debugger.concrete.PlayerSession.requestFrame(PlayerSession.java:1089) at flash.tools.debugger.concrete.PlayerSession.getValueWorker(PlayerSession.java:1211) at flash.tools.debugger.concrete.IsolatePlayerSession.getValue(IsolatePlayerSession.java:123) at flex.tools.debugger.cli.ExpressionContext.memberNamed(ExpressionContext.java:438) at flex.tools.debugger.cli.ExpressionContext.locateParentForNamed(ExpressionContext.java:540) at flex.tools.debugger.cli.ExpressionContext.determineContext(ExpressionContext.java:490) at flex.tools.debugger.cli.ExpressionContext.resolveToVariable(ExpressionContext.java:350) at flex.tools.debugger.cli.ExpressionContext.lookup(ExpressionContext.java:169) at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:161) at macromedia.asc.parser.ThisExpressionNode.evaluate(ThisExpressionNode.java:34) at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1031) at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44) at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1031) at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44) at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1065) at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50) at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1306) at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80) at flash.tools.debugger.expression.DebuggerExpression.evaluate(DebuggerExpression.java:106) at flex.tools.debugger.cli.ExpressionCache.evaluate(ExpressionCache.java:101) at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:4023) at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:4015) at flex.tools.debugger.cli.DebugCLI.doPrint(DebugCLI.java:3941) at flex.tools.debugger.cli.DebugCLI.processLine(DebugCLI.java:7032) at flex.tools.debugger.cli.DebugCLI.process(DebugCLI.java:828) at flex.tools.debugger.cli.DebugCLI.execute(DebugCLI.java:669) at flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:461)
Afterwards it does not fully crash and lets me "continue" but nothing actually progresses and the stack trace continues to be output into my console.
I'm a bit at a loss as to where to go from here. Ive had my project use the pervious SDK version of 33.1 and that resulted in the same error. I have included the ANE as a dependency through the project structure settings. Ive added it to our list of extensions in our template xml. Ive included the ane as an import within the files that are being used. Ive found a handful of solutions for Flash Builder, but they do not seem applicable for IntelliJ or I have not found the location to make the suggested changes.
My system information:
IDE: IntelliJ Idea 2024.3.1 (Ultimate Edition)
AIRSDK 51.1.3
Flash/Flex Plugin version 243.22562.59
JDK 21
If there is any other information that might be needed to help, I will get it soon as its asked for.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions