This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Sometimes when we start our NB Based RCP Application it happens that all the modules that we excluded from the platform are included. This is giving us problems because it causes exceptions out of nowhere. The problem is usually solved with a Clean&Build of the module suite. Our modules suit is Ant based. This is happening randomly since we moved to NB 7.0 and it is still happening now that we moved to 7.4.
Hello, thank you for the report. Please attach here the platform logs. Both would be great - the one when all modules are included and the second one where platform starts properly.
Created attachment 145626 [details] log when Starting with unwanted modules
Created attachment 145627 [details] Normal log
Attached the logs
So you mean that your project.properties file is altered? B/c there are stored information about about clusters and modules used by your project. According to stacktrace it looks like versioning issue.
Reassigning to versioning for evaluation.
subversion complains about corrupted working copy: INFO [org.netbeans.modules.subversion]: org.apache.subversion.javahl.ClientException: svn: E155005: Directory 'D:\Lavoro\SAMPLEDATA\demo3d\studiosimprj\.svn' containing working copy admin area is missing org.tmatesoft.svn.core.SVNException: svn: E155005: Directory 'D:\Lavoro\SAMPLEDATA\demo3d\studiosimprj\.svn' containing working copy admin area is missing I suggest user either fixes his checkout or remove that .svn folder completely if it's not used as a svn checkout deliberately. But according to the user the problem is elsewhere - that in the wrong case probably all modules from NB. Not sure how platform apps are supposed to work but: > Installation = D:\Lavoro\trunk\studioSL\suite_studioSL\build\cluster > C:\Program Files\netbeans\dlight > C:\Program Files\netbeans\extide > C:\Program Files\netbeans\harness > C:\Program Files\netbeans\ide > C:\Program Files\netbeans\java > C:\Program Files\netbeans\platform > D:\Lavoro\trunk\commons\suite_commons\build\cluster > c:\Program Files\netbeans\platform Is it ok that "C:\Program Files\netbeans\*" is included? The platform app should be standalone so maybe it should load only its own installation folders.
I have tested it on dev build from 06052014 and also on 7.4. but everything works fine. I have added module to platform , then run it, module was properly loaded, I have removed module, then run it again and the module was properly unloaded. Could you please attach your platform applications having this problem or at least its platform.properties files? Thank you.
Created attachment 147732 [details] platform.properties The platform.properties of the suite
I cannot attach the whole application because it is huge, but no problems for the platform.properties
Thank you and can you also look at platform.properties file when you remove modules from platform whether is this file according to your excluding altered? In this case you have include clusters dlight, extide, harness, ide, java and platform and those modules in disabled modules list are modules, which are excluded from selected clusters.
Sorry I do not understand what you want me to do.
I am sorry I wrote it in a bad way. I just mean to upload your platform.properties file when those excluded modules are loaded.
Closing as INCOMPLETE for now. Feel free to reopen if problem persists.