Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse 4.7 - Malformed class name error upon Run As
Eclipse 4.7 - Malformed class name error upon Run As [message #1785790] Thu, 19 April 2018 23:27 Go to next message
Nirav Patel is currently offline Nirav PatelFriend
Messages: 1
Registered: April 2018
Junior Member

I am using eclipse Oxygen with scala ide 4.7

I suddenly started getting following error in pop ups when trying to run scala class with main method using Run As or Debug As dialogue:

Throwable during asyncExec
Malformed class name"

Next pop up after this tells me it is recommended to exit workbench. If I do it happens again upon restart of eclipse.

Following is log file content.

!ENTRY org.scala-ide.sdt.core 4 0 2018-03-21 13:03:33.805
!MESSAGE Throwable during asyncExec
java.lang.InternalError: Malformed class name
at java.lang.Class.getSimpleName(
at java.lang.Class.isAnonymousClass(
at org.scalaide.core.internal.logging.log4j.Log4JFacade$Logger$.apply(Log4JFacade.scala:60)
at org.scalaide.core.internal.logging.log4j.Log4JFacade.getLogger(Log4JFacade.scala:68)
at org.scalaide.logging.HasLogger.logger(HasLogger.scala:19)
at org.scalaide.logging.HasLogger.logger$(HasLogger.scala:17)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector.logger$lzycompute(JUnit4TestClassesCollector.scala:17)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector.logger(JUnit4TestClassesCollector.scala:17)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector.getClassSafe(JUnit4TestClassesCollector.scala:82)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector.RunWithAnnotationOpt$lzycompute(JUnit4TestClassesCollector.scala:74)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector.RunWithAnnotationOpt(JUnit4TestClassesCollector.scala:74)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector$JUnit4TestClassesTraverser.hasRunWithAnnotation(JUnit4TestClassesCollector.scala:59)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector$JUnit4TestClassesTraverser.isTestClass(JUnit4TestClassesCollector.scala:57)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector$JUnit4TestClassesTraverser.$anonfun$isRunnableTestClass$1(JUnit4TestClassesCollector.scala:44)
at org.scalaide.core.internal.launching.JUnit4TestClassesCollector$JUnit4TestClassesTraverser$$Lambda$2510/186495202.apply$mcZ$sp(Unknown Source)
at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$
Re: Eclipse 4.7 - Malformed class name error upon Run As [message #1785797 is a reply to message #1785790] Fri, 20 April 2018 05:25 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30452
Registered: July 2009
Senior Member
You're probably better to ask on the mailing for the technology you're using:

Perhaps Google "org.scala ide Malformed class name" and look at similar questions for possible answers.
Previous Topic:Unable to install on Eclipse on Mac: Eclipse want the old Java - and then the newest
Next Topic:Code responsible for QuickFix
Goto Forum:

Current Time: Fri Sep 20 04:09:34 GMT 2019

Powered by FUDForum. Page generated in 0.03497 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top