philippejer / jvmmonitor

Automatically exported from code.google.com/p/jvmmonitor
0 stars 0 forks source link

No providers installed #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the defect?
 1.Install latest Java Monitor with Eclipse Market Place on Eclipse-Indigo
 2.Run a normal Java Application
 3.Try to monitorize it.

What is the expected behavior?
It should monitor the app.

What was the actual behavior?
Error "No providers installed"

What errors are shown on Error Log view or at <workspace>/.metadata/.log?

!ENTRY org.eclipse.ecf.provider.filetransfer 4 0 2011-11-15 11:43:40.463
!MESSAGE 
org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.filetransfer;cod
e=4;message=hardClose;severity4;exception=java.io.IOException: Stream 
closed;childr
en=[]]
!STACK 0
java.io.IOException: Stream closed
        at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:162)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
        at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)
        at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:184)
        at org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:369)
        at org.apache.commons.httpclient.ContentLengthInputStream.close(ContentLengthInputStream.java:118)
        at java.io.FilterInputStream.close(FilterInputStream.java:172)
        at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:194)
        at org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:158)
        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.hardClose(AbstractRetrieveFileTransfer.java:331)
        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.hardClose(HttpClientRetrieveFileTransfer.java:396)
        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.cancel(HttpClientRetrieveFileTransfer.java:382)
        at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.handleTransferEvent(FileReader.java:173)
        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.fireTransferReceiveDataEvent(AbstractRetrieveFileTransfer.java:388)
        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.fireTransferReceiveDataEvent(HttpClientRetrieveFileTransfer.java:1163)
        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.handleReceivedData(AbstractRetrieveFileTransfer.java:288)
        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:173)
        at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.epp.mpc.ui 4 4 2011-11-15 11:43:40.537
!MESSAGE Unexpected exception: Stream closed
!STACK 0
java.io.IOException: Stream closed
        at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:151)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
        at org.eclipse.epp.internal.mpc.ui.catalog.ResourceProvider.putResource(ResourceProvider.java:71)
        at org.eclipse.epp.internal.mpc.ui.catalog.AbstractResourceRunnable.run(AbstractResourceRunnable.java:66)
        at org.eclipse.epp.internal.mpc.ui.catalog.AbstractResourceRunnable.call(AbstractResourceRunnable.java:51)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)

What is your environment for Eclipse?
$java -version
java version "1.6.0_18"                                                         

OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1)            

OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)  

What is your environment for the monitored JVM?

$java -version
java version "1.6.0_18"                                                         

OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1)            

OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)  

Original issue reported on code.google.com by dela...@gmail.com on 16 Nov 2011 at 6:30

GoogleCodeExporter commented 9 years ago
Got the same error "No providers installed".

Eclipse:

Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Build id: 20120216-1857

Java:
jdk1.6.0_31
jdk1.6.0_28 (previously JVM monitor work with it)

Original comment by sasha.v...@gmail.com on 2 Mar 2012 at 8:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Must be something wrong within workspace, switching to new workspace did help. 
But I am unable to find what is wrong, I also tried deleting all jvmmonitor 
related folders in workspace metadata (org.jvmmonitor.core and 
org.jvmmonitor.ui), but with no success.

Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Build id: 20120216-1857

JDK (eclipse): java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)

JDK (target): java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode)

Original comment by kesc...@gmail.com on 26 Jun 2012 at 12:15

GoogleCodeExporter commented 9 years ago
I went to Preferences -> Java -> Monitor -> Tools and modified the JDK Root 
Directory entry to point to a valid JDK 

After that the message is gone and it works as expected

Original comment by dirk.fa...@gmail.com on 18 Sep 2012 at 1:12

GoogleCodeExporter commented 9 years ago
OK, I stumbled into the same problem. There is no help for this in the FAQ and 
there should be. Could someone please document this there.

Original comment by eric.kol...@gmail.com on 16 Oct 2012 at 6:24

GoogleCodeExporter commented 9 years ago
Found a fix:  In the JVM explorer, click on the down triangle in the upper 
right hand corner of the window and click on preferences.  Go to 'Java > 
Monitoring > Tools', and then set the JDK Root Directory to the same one that 
is used by the JVM you want to monitor.  THEN RESTART ECLIPSE.

Original comment by mindla...@gmail.com on 23 Oct 2012 at 3:14

GoogleCodeExporter commented 9 years ago
FAQ in User Guide has been updated

Original comment by yoshitak...@gmail.com on 2 Feb 2013 at 3:29