[jbosstools-issues] [JBoss JIRA] (JBIDE-20424) JVMProblemDetector throws FileNotFoundException

Daniel Azarov (JIRA) issues at jboss.org
Wed Sep 16 17:27:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109643#comment-13109643 ] 

Daniel Azarov commented on JBIDE-20424:
---------------------------------------

[~vpakan], the main idea is to have .log file deleted before the start of JBDS and not to have reported errors/warnings during the start.

I am not sure how to achieve this, in my environment it is always some errors during the start and work.

Try to have empty workspace.

And if you are testing JBDS from development environment you can try to have only foundation plug-ins installed.

> JVMProblemDetector throws FileNotFoundException 
> ------------------------------------------------
>
>                 Key: JBIDE-20424
>                 URL: https://issues.jboss.org/browse/JBIDE-20424
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 4.3.0.Beta2
>         Environment: Linux
>            Reporter: Denis Golovin
>            Assignee: Daniel Azarov
>             Fix For: 4.3.0.CR1
>
>
> This exception should not be reported, because missing file it is perfectly fine until first message to reported to log:
> {code}!ENTRY org.jboss.tools.foundation.checkup 2 0 2015-08-05 15:43:32.481
> !MESSAGE /home/eskimo/Projects/jbdevstudio/4.3.x/fork/jbds-releng/.ws/junit-workspace/.metadata/.log (No such file or directory)
> !STACK 0
> java.io.FileNotFoundException: /home/eskimo/Projects/jbdevstudio/4.3.x/fork/jbds-releng/.ws/junit-workspace/.metadata/.log (No such file or directory)
> 	at java.io.RandomAccessFile.open0(Native Method)
> 	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
> 	at org.eclipse.ui.internal.views.log.TailInputStream.<init>(TailInputStream.java:24)
> 	at org.jboss.tools.foundation.checkup.JVMProblemDetector.earlyStartup(JVMProblemDetector.java:108)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:90)
> 	at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:68)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.internal.Workbench$56.run(Workbench.java:2812)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55){code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list