You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/08/22 10:13:01 UTC

[GitHub] [skywalking] gitriver opened a new issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

gitriver opened a new issue #5367:
URL: https://github.com/apache/skywalking/issues/5367


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   Bug
   ___
   ### Question
   - What do you want to know?
   在IDEA 中启动报错:
   运行 oap-server 的 server-starter 的 org.apache.skywalking.oap.server.starter.OAPServerStartUp 的 #main(args) 方法,启动 SkyWalking OAP Server 
   
   2020-08-22 17:38:04,111 - org.apache.skywalking.oap.server.library.server.jetty.JettyServer - 73 [main] INFO  [] - http server root context path: /
   2020-08-22 17:38:04,311 - org.apache.skywalking.oap.server.library.module.ModuleDefine - 88 [main] INFO  [] - Prepare the graphql provider in query module.
   2020-08-22 17:38:04,978 - com.coxautodev.graphql.tools.SchemaClassScanner - 155 [main] WARN  [] - Schema type was defined but can never be accessed, and can be safely deleted: NodeType
   2020-08-22 17:38:04,978 - com.coxautodev.graphql.tools.SchemaClassScanner - 155 [main] WARN  [] - Schema type was defined but can never be accessed, and can be safely deleted: SpanTag
   2020-08-22 17:38:05,371 - org.apache.skywalking.oap.server.starter.OAPServerBootstrap - 57 [main] ERROR [] - Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!  Was a type only permitted for object types incorrectly used as an input type, or vice-versa?
   com.coxautodev.graphql.tools.SchemaError: Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!  Was a type only permitted for object types incorrectly used as an input type, or vice-versa?
   	at com.coxautodev.graphql.tools.SchemaParser.determineType(SchemaParser.kt:269) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.determineType(SchemaParser.kt:262) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.determineType(SchemaParser.kt:261) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.determineInputType(SchemaParser.kt:257) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.access$determineInputType(SchemaParser.kt:46) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser$createInputObject$$inlined$forEach$lambda$1.apply(SchemaParser.kt:145) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser$createInputObject$$inlined$forEach$lambda$1.apply(SchemaParser.kt:46) ~[graphql-java-tools-5.2.3.jar:?]
   	at graphql.schema.GraphQLInputObjectType$Builder.field(GraphQLInputObjectType.java:146) ~[graphql-java-8.0.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.createInputObject(SchemaParser.kt:140) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.parseSchemaObjects(SchemaParser.kt:87) ~[graphql-java-tools-5.2.3.jar:?]
   	at com.coxautodev.graphql.tools.SchemaParser.makeExecutableSchema(SchemaParser.kt:109) ~[graphql-java-tools-5.2.3.jar:?]
   	at org.apache.skywalking.oap.query.graphql.GraphQLQueryProvider.prepare(GraphQLQueryProvider.java:108) ~[classes/:?]
   	at org.apache.skywalking.oap.server.library.module.ModuleDefine.prepare(ModuleDefine.java:95) ~[classes/:?]
   	at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:54) ~[classes/:?]
   	at org.apache.skywalking.oap.server.starter.OAPServerBootstrap.start(OAPServerBootstrap.java:43) [classes/:?]
   	at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:26) [classes/:?]
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
      8.1.0  win10 JDK1.8
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   在IDEA 中启动报错:
   运行 oap-server 的 server-starter 的 org.apache.skywalking.oap.server.starter.OAPServerStartUp 的 #main(args) 方法,启动 SkyWalking OAP Server 
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   如何在IDEA中启动oap-server


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] gitriver edited a comment on issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

Posted by GitBox <gi...@apache.org>.
gitriver edited a comment on issue #5367:
URL: https://github.com/apache/skywalking/issues/5367#issuecomment-678623950


   git clone --recurse-submodules https://github.com/apache/skywalking.git
   cd skywalking
   在skywalking\apm-webapp\pom.xml中删除了NPM安装


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5367:
URL: https://github.com/apache/skywalking/issues/5367#issuecomment-678623073


   Your submodule may not be updated. English only.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] gitriver commented on issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

Posted by GitBox <gi...@apache.org>.
gitriver commented on issue #5367:
URL: https://github.com/apache/skywalking/issues/5367#issuecomment-678623950


   git clone --recurse-submodules https://github.com/apache/skywalking.git
   cd skywalking


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5367:
URL: https://github.com/apache/skywalking/issues/5367


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] gitriver edited a comment on issue #5367: 在IDEA 中启动报错报Expected type 'SpanTag' to be a GraphQLInputType, but it wasn't!

Posted by GitBox <gi...@apache.org>.
gitriver edited a comment on issue #5367:
URL: https://github.com/apache/skywalking/issues/5367#issuecomment-678623950


   git clone --recurse-submodules https://github.com/apache/skywalking.git
   cd skywalking
   在skywalking\apm-webapp\pom.xml中删除了NPM安装
   在skywalking\apm-sniffer\apm-sdk-plugin\pom.xml中删除了一些不会使用到的插件
   
   这个也会有影响嘛
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org