Eclipse getting crashed after throwing “Throwable during asyncExec Malformed class name”Class file name must end with .class exception in Java SearchError while running a midlet in Eclipse: no class foundJava - get the current class name?Eclipse compilation error: The hierarchy of the type 'Class name' is inconsistentEclipse fails to start after crashClassNotFoundException after Changing Package Names in Eclipseeclipse gives error on start up after adding sbteclipse pluginjava application not working with java9 and eclipseKafka Spark Streaming - ConcurrentModificationExceptionEclipse - Scala - Play - Macro Expansion error
What is the word for reserving something for yourself before others do?
Is it unprofessional to ask if a job posting on GlassDoor is real?
Is there a hemisphere-neutral way of specifying a season?
What killed these X2 caps?
What is the PIE reconstruction for word-initial alpha with rough breathing?
Is the Joker left-handed?
Emailing HOD to enhance faculty application
Fully-Firstable Anagram Sets
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Brothers & sisters
How do conventional missiles fly?
Etiquette around loan refinance - decision is going to cost first broker a lot of money
Anagram holiday
Where does SFDX store details about scratch orgs?
What exploit are these user agents trying to use?
What's the difference between 'rename' and 'mv'?
What does it mean to describe someone as a butt steak?
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
Why is consensus so controversial in Britain?
Why do I get two different answers for this counting problem?
Why doesn't H₄O²⁺ exist?
Arrow those variables!
Eclipse getting crashed after throwing “Throwable during asyncExec Malformed class name”
Class file name must end with .class exception in Java SearchError while running a midlet in Eclipse: no class foundJava - get the current class name?Eclipse compilation error: The hierarchy of the type 'Class name' is inconsistentEclipse fails to start after crashClassNotFoundException after Changing Package Names in Eclipseeclipse gives error on start up after adding sbteclipse pluginjava application not working with java9 and eclipseKafka Spark Streaming - ConcurrentModificationExceptionEclipse - Scala - Play - Macro Expansion error
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
My Eclipse workbench is getting closed after throwing error:
Throwable during asyncExec
Malformed class name
Attched are the screenshots as well.
Below is the error
!ENTRY org.scala-ide.sdt.core 4 0 2018-04-21 12:10:18.717
!MESSAGE Throwable during asyncExec
!STACK 0
java.lang.InternalError: Malformed class name
at java.lang.Class.getSimpleName(Unknown Source)
at java.lang.Class.isAnonymousClass(Unknown Source)
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 scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12)
at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:26)
at scala.tools.nsc.interactive.Global.$anonfun$pollForWork$1(Global.scala:444)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:418)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:22)
java eclipse
add a comment |
My Eclipse workbench is getting closed after throwing error:
Throwable during asyncExec
Malformed class name
Attched are the screenshots as well.
Below is the error
!ENTRY org.scala-ide.sdt.core 4 0 2018-04-21 12:10:18.717
!MESSAGE Throwable during asyncExec
!STACK 0
java.lang.InternalError: Malformed class name
at java.lang.Class.getSimpleName(Unknown Source)
at java.lang.Class.isAnonymousClass(Unknown Source)
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 scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12)
at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:26)
at scala.tools.nsc.interactive.Global.$anonfun$pollForWork$1(Global.scala:444)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:418)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:22)
java eclipse
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02
add a comment |
My Eclipse workbench is getting closed after throwing error:
Throwable during asyncExec
Malformed class name
Attched are the screenshots as well.
Below is the error
!ENTRY org.scala-ide.sdt.core 4 0 2018-04-21 12:10:18.717
!MESSAGE Throwable during asyncExec
!STACK 0
java.lang.InternalError: Malformed class name
at java.lang.Class.getSimpleName(Unknown Source)
at java.lang.Class.isAnonymousClass(Unknown Source)
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 scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12)
at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:26)
at scala.tools.nsc.interactive.Global.$anonfun$pollForWork$1(Global.scala:444)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:418)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:22)
java eclipse
My Eclipse workbench is getting closed after throwing error:
Throwable during asyncExec
Malformed class name
Attched are the screenshots as well.
Below is the error
!ENTRY org.scala-ide.sdt.core 4 0 2018-04-21 12:10:18.717
!MESSAGE Throwable during asyncExec
!STACK 0
java.lang.InternalError: Malformed class name
at java.lang.Class.getSimpleName(Unknown Source)
at java.lang.Class.isAnonymousClass(Unknown Source)
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 scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:12)
at scala.tools.nsc.util.InterruptReq.execute(InterruptReq.scala:26)
at scala.tools.nsc.interactive.Global.$anonfun$pollForWork$1(Global.scala:444)
at scala.tools.nsc.interactive.Global.pollForWork(Global.scala:418)
at scala.tools.nsc.interactive.PresentationCompilerThread.run(PresentationCompilerThread.scala:22)
java eclipse
java eclipse
edited Apr 21 '18 at 10:19
Ishan Kumar
asked Apr 20 '18 at 4:37
Ishan KumarIshan Kumar
79421021
79421021
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02
add a comment |
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02
add a comment |
1 Answer
1
active
oldest
votes
This is a known issue using eclipse scala-IDE with maven. It happens when u have a case class .
https://github.com/scala/bug/issues/2034
Copy the case class and put that inside the scala object class(like an inner class), do not keep it outside of the object class.
Or Switch to intellij, these are the only solutions as per my knowledge
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49934087%2feclipse-getting-crashed-after-throwing-throwable-during-asyncexec-malformed-cla%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is a known issue using eclipse scala-IDE with maven. It happens when u have a case class .
https://github.com/scala/bug/issues/2034
Copy the case class and put that inside the scala object class(like an inner class), do not keep it outside of the object class.
Or Switch to intellij, these are the only solutions as per my knowledge
add a comment |
This is a known issue using eclipse scala-IDE with maven. It happens when u have a case class .
https://github.com/scala/bug/issues/2034
Copy the case class and put that inside the scala object class(like an inner class), do not keep it outside of the object class.
Or Switch to intellij, these are the only solutions as per my knowledge
add a comment |
This is a known issue using eclipse scala-IDE with maven. It happens when u have a case class .
https://github.com/scala/bug/issues/2034
Copy the case class and put that inside the scala object class(like an inner class), do not keep it outside of the object class.
Or Switch to intellij, these are the only solutions as per my knowledge
This is a known issue using eclipse scala-IDE with maven. It happens when u have a case class .
https://github.com/scala/bug/issues/2034
Copy the case class and put that inside the scala object class(like an inner class), do not keep it outside of the object class.
Or Switch to intellij, these are the only solutions as per my knowledge
edited Mar 8 at 23:41
answered Mar 8 at 23:29
user3123372user3123372
454216
454216
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f49934087%2feclipse-getting-crashed-after-throwing-throwable-during-asyncexec-malformed-cla%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Look in the .log file in the workspace .metadata directory to see if there is a more detailed message.
– greg-449
Apr 20 '18 at 7:02
the issue is with the Maven. While removing the maven perspective the IDE is working fine.
– Ishan Kumar
Apr 22 '18 at 6:22
Hello. Were you able to get the issue resolved?
– Gautam
Sep 18 '18 at 5:02