Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error casting handling of Null lang.String cannot be cast to scala.runtime.Null$ #163

Closed
wey-gu opened this issue Oct 13, 2023 · 2 comments · Fixed by #164
Closed

Error casting handling of Null lang.String cannot be cast to scala.runtime.Null$ #163

wey-gu opened this issue Oct 13, 2023 · 2 comments · Fixed by #164
Assignees
Labels
affects/none PR/issue: this bug affects none version. hacktoberfest hacktoberfest-accepted process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Oct 13, 2023

/data/spark/ spark-2.4.5-bin-hadoop2.6/bin/spark-submit --master "local" --class com.vesoft.nebula.exchange. Exchange /data/spark/exchange/nebula-exchang /10/12 12:29:03 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
84j:WARN No appenders could be found for logger (com.vesoft. exchange. common. config.Configs$). g41:WARN Please initialize the log4j system properly.
84J: WARN See http://logging-apache.org/log4j/1.2/faq.htmlinoconfig for more info.
‹ception in thread "main" java. lang.ClassCastException: java.lang-String cannot be cast to scala.runtime.Null$
at com.vesoft. exchange. common. config.Configs$.com/vesoft$exchange$common§config$Configs$$dataSourceConfig(Configs.scala:899)
at com.vesoft. exchange. common. config.Configs$§anonfun$parse$2.apply(Configs.scala:432) at com.vesoft. exchange. common. config-Configs$§anonfunsparse$2.apply(Configs.scala:394)
at scala. collection.Iterator$class. foreach(Iterator.scala:891)... at scala. collection.AbstractIterator. foreach (Iterator.scala:1334) at scala. collection. Iterablelike$class. foreach (Iterablelike.scala:72) at scala. collection.AbstractIterable. foreach(Iterable.scala:54) at com. vesoft. exchange. common. config.Configs$-parse(Configs.scala: 394) at com. vesoft.nebula. exchange. Exchange$-main(Exchange. scala: 79) at com. vesoft.nebula. exchange.Exchange.main(Exchange. scala) at sun.reflect.NativeMethodAccessor Impl.invoke®(Native Method)
at sun.reflect.NativeMethodAccessor Impl. invoke(NativeMethodAccessor Impl. java: 62)
at sun.reflect.DelegatingMethodAccessor Impl. invoke (DelegatingMethodAccessor Impl. java:43)
at java. lang-reflect.Method. invoke (Method. java:498)
at org-apache. spark. deploy. JavaMainApplication.start (SparkApplication.scala: 52)
at org-apache. spark.deploy-SparkSubmit.org/apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:845) at org-apache. spark.deploy. SparkSubmit.doRurMain$1(SparkSubmit.scala:161) at org-apache.spark.deploy.SparkSubmit. submit (SparkSubmit. scala: 184) at org-apache. spark. deploy-SparkSubmit.doSubmit (SparkSubmit. scala:86) at org-apache. spark.deploy. SparkSubmit$$anon$2. doSubmit (SparkSubmit. scala:920) at org-apache. spark. deploy-SparkSubmit$.main(SparkSubmit,scala: 929) at org-apache. spark.deploy SparkSubmit,main(SparkSubmit, scala)
@wey-gu wey-gu added type/bug Type: something is unexpected hacktoberfest labels Oct 13, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Oct 13, 2023
@wey-gu
Copy link
Contributor Author

wey-gu commented Oct 13, 2023

@Nicole00 could you take this?

@Nicole00
Copy link
Contributor

@Nicole00 could you take this?

of course!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. hacktoberfest hacktoberfest-accepted process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
Development

Successfully merging a pull request may close this issue.

2 participants