Code Monkey home page Code Monkey logo

ib_api's Issues

Kotlin: [Internal Error] java.lang.NoSuchFieldError: Class com.intellij.openapi.util.io.FileUtil does not have member field 'gnu.trove.TObjectHashingStrategy FILE_HASHING_STRATEGY'

Hi, I am getting this error, any ideas?

Kotlin: [Internal Error] java.lang.NoSuchFieldError: Class com.intellij.openapi.util.io.FileUtil does not have member field 'gnu.trove.TObjectHashingStrategy FILE_HASHING_STRATEGY'
at org.jetbrains.kotlin.jps.targets.KotlinJvmModuleBuildTarget.updateChunkMappings(KotlinJvmModuleBuildTarget.kt:362)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.doBuild(KotlinBuilder.kt:463)
at org.jetbrains.kotlin.jps.build.KotlinBuilder.build(KotlinBuilder.kt:299)
at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1609)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1238)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1389)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:1203)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:971)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:527)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:236)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:134)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:387)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:212)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:211)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)

Error: Class 'IBWrapper' is not abstract and does not implement abstract member public abstract fun error(id: Int, errorCode: Int, errorMsg: String!, advancedOrderRejectJson: String!): Unit defined in com.ib.client.EWrapper

Hi, I was trying out your API and received the following error. Any thoughts?

(python310) myhomedir@mymachine:~/ib_api$ bin/crun
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (21, 1) Class 'IBWrapper' is not abstract and does not implement abstract member public abstract fun error(id: Int, errorCode: Int, errorMsg: String!, advancedOrderRejectJson: String!): Unit defined in com.ib.client.EWrapper
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (113, 3) 'error' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (155, 3) 'tickSize' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (193, 3) 'tickOptionComputation' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (209, 3) 'orderStatus' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (229, 3) 'updatePortfolio' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (264, 3) 'updateMktDepth' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (270, 3) 'updateMktDepthL2' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (304, 3) 'realtimeBar' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (332, 3) 'position' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (388, 3) 'positionMulti' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (528, 3) 'pnlSingle' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (546, 3) 'tickByTickAllLast' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt: (553, 3) 'tickByTickBidAsk' overrides nothing
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.3.72:compile (compile) on project ib_api: Compilation failure: Compilation failure:
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[21,1] Class 'IBWrapper' is not abstract and does not implement abstract member public abstract fun error(id: Int, errorCode: Int, errorMsg: String!, advancedOrderRejectJson: String!): Unit defined in com.ib.client.EWrapper
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[113,3] 'error' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[155,3] 'tickSize' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[193,3] 'tickOptionComputation' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[209,3] 'orderStatus' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[229,3] 'updatePortfolio' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[264,3] 'updateMktDepth' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[270,3] 'updateMktDepthL2' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[304,3] 'realtimeBar' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[332,3] 'position' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[388,3] 'positionMulti' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[528,3] 'pnlSingle' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[546,3] 'tickByTickAllLast' overrides nothing
[ERROR] /home/myhomedir/ib_api/src/ib/lib/ib_wrapper.kt:[553,3] 'tickByTickBidAsk' overrides nothing
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.