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.

Bug 242228 - When started from IDE our RCP Application contains exclued modules
Summary: When started from IDE our RCP Application contains exclued modules
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: API docs (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 17:41 UTC by scanti
Modified: 2014-07-24 11:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log when Starting with unwanted modules (60.68 KB, text/plain)
2014-02-27 09:25 UTC, scanti
Details
Normal log (33.16 KB, text/plain)
2014-02-27 09:26 UTC, scanti
Details
platform.properties (11.07 KB, application/octet-stream)
2014-06-20 19:33 UTC, scanti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2014-02-22 17:41:55 UTC
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.
Comment 1 Libor Fischmeistr 2014-02-24 09:15:14 UTC
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.
Comment 2 scanti 2014-02-27 09:25:52 UTC
Created attachment 145626 [details]
log when Starting with unwanted modules
Comment 3 scanti 2014-02-27 09:26:29 UTC
Created attachment 145627 [details]
Normal log
Comment 4 scanti 2014-02-27 09:26:52 UTC
Attached the logs
Comment 5 Martin Kozeny 2014-04-18 15:19:15 UTC
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.
Comment 6 Martin Kozeny 2014-06-20 11:45:20 UTC
Reassigning to versioning for evaluation.
Comment 7 Ondrej Vrabec 2014-06-20 12:01:17 UTC
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.
Comment 8 Martin Kozeny 2014-06-20 13:02:53 UTC
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.
Comment 9 scanti 2014-06-20 19:33:30 UTC
Created attachment 147732 [details]
platform.properties

The platform.properties of the suite
Comment 10 scanti 2014-06-20 19:34:21 UTC
I cannot attach the whole application because it is huge, but no problems for the platform.properties
Comment 11 Martin Kozeny 2014-06-23 07:45:51 UTC
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.
Comment 12 scanti 2014-06-24 22:57:54 UTC
Sorry I do not understand what you want me to do.
Comment 13 Martin Kozeny 2014-06-25 06:57:08 UTC
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.
Comment 14 Martin Kozeny 2014-07-24 11:39:30 UTC
Closing as INCOMPLETE for now. Feel free to reopen if problem persists.