Steps to reproduce:
1. Install full M2.
2. Install all available plugins.
3. Restart IDE.
Followed message will appear:
Warning - could not install some modules: Code Coverage Plugin - The module named com.vladium.emma/1 was needed and not
Linux platform affected, on MacOS works fine, check on other platforms in progress.
Here the message on x86 platform, it seems like possible network problem
but in such case fail should be detected during download:
Warning - could not install some modules: Selenium Module for Maven - The module named
org.netbeans.modules.selenium.server was needed and not found. Web Services Registry - The module named
org.netbeans.modules.websvc.jaxrpc16/1 was needed and not found. Code Coverage Plugin - The module named
com.vladium.emma/1 was needed and not found. Sun Java System Portal Server 7.x - The module named
org.netbeans.modules.portalpack.servers.base_psframework was needed and not found. JAX-RPC Support - The module named
org.netbeans.modules.websvc.jaxrpc16/1 was needed and not found. Another module could not be installed due to the above
Robert, is this something you can fix yourself? If not, please reassign to Martin Schovanek - Code Coverage plugin
SPARC platform has it's own set of problematic modules.
So this is wider problem then just CCP issue...
Ok, so for now I would vote for removing CC from UC, Robert could you do that ASAP ? Thanks in advance.
As I wrote unfortunately this might be not only CCP problem :(
I'm checking on Windows XP right now, let's see on most important platform.
I tested it in Linux, outside from swan and the download and installation was successful. I would say this is
updates.netbeans.org problem - downlaod is very slow especially in swan.
Why it was not detected during download?
I don't know. But the module is platform independent. Should behave in the same way on all the platforms.
That's true, and that's why I wrote this problem might be more complex then just corrupted CCP.
On Windows passed successfully.
btw, works fine on my windows box.
I hate to "confuse" the subject, but...
Using NetBeans 6.7:
I am getting the same error when trying to install Code Coverage plugin on Mac OS Snow Leopard, running Java 1.6 64bit.
On another machine, Windows XP, Java 1.6, it installs and runs properly.
To add some more information, as the problem might be settings related (you never know), the settings were from NetBeans
6.1, then upgraded to 6.5, then 6.7.
Dmitry, can you please look into the code and find out what "...was needed and not found." error means if it occurs
_after_ everything is correctly downloaded and should be just properly installed and turned on? Thanks!
*** Issue 156766 has been marked as a duplicate of this issue. ***
<userdir>/var/log/messages.log* files are very welcomed to investigate the issue.
I checked that on Linux today and it works perfectly (in swan).
btw, did you use "Run in background" checkbox to install updates in background?
Looks like plugin manger doesn't handle some error during plugin transfer,
so in case of network problems it silently ignores fail and continue
working. I don't know is this correct idea BTW.
Anyway I've got this error again with latest Beta on Linux but successfully
installed same things on MacOS.
And I did not use Background feature.
Created attachment 89914 [details]
> Looks like plugin manger doesn't handle some error during plugin transfer, so in case of network problems it silently
ignores fail and continue working.
Do you have any arguments for that?
I don`t see anything strange in log except the module activation issue:
WARNING [org.netbeans.core.startup.ModuleList]: Error encountered while reading com.vladium.emma
Caused: org.netbeans.InvalidException: Not a module: no OpenIDE-Module tag in manifest of StandardModule:null jarFile: /
[catch] at java.lang.Thread.run(Thread.java:619)
ALL [null]: StandardModule:null jarFile: /home/tester/netbeans-6.8beta/extra/modules/ext/emma.jar[invalid] is not a
valid NetBeans module.
That is very intersting why modules/ext/emma.jar is even tried to be treated as the standard NB module.
PS. NBMs are at
PPS. Maybe it is due having classpath defined in com-vladium-emma.nbm!/netbeans/modules/com-vladium-emma.jar!/META-INF/
BTW, I see the same "Class-Path" tag been used in jaxrpc16 which also seems to be problematic
Jarda, any idea why those modules were not activated?
Is it related to
I am not sure how can I help? I installed
successfully. Issue 166333 cannot be cause of this problem, as far as I can see.
I cannot comment on issue 159093. Reassigning to owner of platform/module system.
Well, you'd better find a real owner of platform/module system.
Anyway, the class path in com-vladium-emma.jar is OK and the ext/emma.jar should never be treated as a module too.
It works for me with 6.8beta on linux.
Note: After update, I have seen a CNFE in the console, but it was apparently an expected one (just logged loudly enough)
- org.netbeans.modules.j2ee.sun.ws7.WS7LibsClassLoader trying to load com.sun.web.admin.deployapi.SunDeploymentFactory
Sounds like others have not managed to reproduce the issue, so this does not seem like a P1 to me.
Trying with 6.8 beta:
1. After restart after first session, console got
Exception in thread "Thread-2" java.lang.AssertionError: Cannot delete /tmp/testud03/update/main/org/netbeans/javafx/install
2. Second session (after restart) said some modules could not be found:
Warning - could not install some modules:
org.netbeans.modules.websvc.jaxrpckit - The module named org.netbeans.modules.websvc.jaxrpc was needed and not found.
org.netbeans.modules.javafx.profiler - The module named org.netbeans.modules.javafx.editor was needed and not found.
org.apache.jmeter.kit - The module named org.apache.jmeter.module/1 was needed and not found.
org.apache.jmeter.kit - The module named org.netbeans.modules.profiler.loadgen/1 was needed and not found.
org.netbeans.modules.javafx.kit - The module named org.netbeans.modules.javafx.editor was needed and not found.
org.netbeans.modules.javafx.kit - The module named org.netbeans.modules.javafx.fxd was needed and not found.
org.netbeans.modules.javafx.kit - The module org.netbeans.modules.javafx.navigation would also need to be installed.
org.netbeans.modules.javafx.kit - The module org.netbeans.modules.javafx.profiler would also need to be installed.
org.netbeans.modules.javafx.weather2 - The module org.netbeans.modules.javafx.kit would also need to be installed.
org.netbeans.modules.javafx.navigation - The module named org.netbeans.modules.javafx.editor was needed and not found.
3. After I said to Exit, updater ran again - installing a bunch more things; IDE restarted, and seemed to load
"Cannot delete..." issue was fixed - see Issue 175196. Please verify in the latest daily build.
*** This issue has been marked as a duplicate of 175196 ***