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 236412 - Incompatible CND modules
Summary: Incompatible CND modules
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Importer (show other bugs)
Version: 7.4
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 09:58 UTC by Egor Ushakov
Modified: 2014-02-10 14:15 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (133.64 KB, image/png)
2013-09-26 09:59 UTC, Egor Ushakov
Details
IDE log (57.65 KB, text/plain)
2013-09-26 10:00 UTC, Egor Ushakov
Details
IDE log (39.36 KB, text/plain)
2013-09-30 09:51 UTC, Egor Ushakov
Details
screenshot (181.73 KB, image/png)
2013-09-30 09:54 UTC, Egor Ushakov
Details
log from 0902 (41.31 KB, text/plain)
2013-09-30 09:55 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2013-09-26 09:58:07 UTC
Steps to reproduce:
- install 7.3-cpp without updates
- set install folder read only (or install as super user)
- run the IDE and install updates (they go to userdir)
- now install 7.4rc2-java and import settings from 7.3
Then appears a window saying that most cnd modules are incompatible with the new Netbeans, see attached screenshot.
Comment 1 Egor Ushakov 2013-09-26 09:59:12 UTC
Created attachment 140499 [details]
screenshot
Comment 2 Egor Ushakov 2013-09-26 10:00:53 UTC
Created attachment 140500 [details]
IDE log
Comment 3 Theofanis Oikonomou 2013-09-27 07:23:56 UTC
I do not see anything going wrong with the import from the log. Could you also attach the settings you imported? Could you verify that they were imported correctly?

In the log there are a few IOException caused by timeouts from the pluginimporter when trying to download from the 7.4 update center.

Have you tried doing that again? Maybe it was a network issue? Thank you
Comment 4 Theofanis Oikonomou 2013-09-27 08:05:04 UTC
Also maybe there was a problem with the proxy. From the log it seems that the proxy resolver failed. How do you have proxy configured in system and in netbeans? Thank you
Comment 5 Egor Ushakov 2013-09-27 08:45:14 UTC
There were no settings changed in 7.3 it was a clean installation as described.
Proxy was not set - true.
Comment 6 Egor Ushakov 2013-09-27 08:46:28 UTC
Settings importer runs before I could set proxy in the IDE...
Comment 7 Libor Fischmeistr 2013-09-27 08:49:30 UTC
(In reply to Egor Ushakov from comment #6)
> Settings importer runs before I could set proxy in the IDE...

And in the system do you have set up proxy?

Thanks for the answer.
Comment 8 Theofanis Oikonomou 2013-09-27 08:53:02 UTC
(In reply to Libor Fischmeistr from comment #7)
> (In reply to Egor Ushakov from comment #6)
> > Settings importer runs before I could set proxy in the IDE...
> 
> And in the system do you have set up proxy?
> 
> Thanks for the answer.

settings importer just copies files from your old userdir to the new one. Can you verify that all settings present in 7.3 userdir are present in 7.4 userdir? Thank you
Comment 9 Egor Ushakov 2013-09-27 08:55:32 UTC
(In reply to Theofanis Oikonomou from comment #8)
> (In reply to Libor Fischmeistr from comment #7)
> > (In reply to Egor Ushakov from comment #6)
> > > Settings importer runs before I could set proxy in the IDE...
> > 
> > And in the system do you have set up proxy?
> > 
> > Thanks for the answer.
> 
> settings importer just copies files from your old userdir to the new one.
> Can you verify that all settings present in 7.3 userdir are present in 7.4
> userdir? Thank you

It was clean 7.3 installation, there were no changes is settings. So it is hard to verify that it has imported anything
Comment 10 Theofanis Oikonomou 2013-09-27 09:00:39 UTC
(In reply to Egor Ushakov from comment #9)
> It was clean 7.3 installation, there were no changes is settings. So it is
> hard to verify that it has imported anything

In that case why do you think this is a problem with settings importer?
Comment 11 Egor Ushakov 2013-09-27 09:10:01 UTC
(In reply to Theofanis Oikonomou from comment #10)
> (In reply to Egor Ushakov from comment #9)
> > It was clean 7.3 installation, there were no changes is settings. So it is
> > hard to verify that it has imported anything
> 
> In that case why do you think this is a problem with settings importer?

If I select not to import anything I do not see this problem
Comment 12 Theofanis Oikonomou 2013-09-27 09:29:19 UTC
(In reply to Egor Ushakov from comment #0)
> Steps to reproduce:
> - install 7.3-cpp without updates
> - set install folder read only (or install as super user)
> - run the IDE and install updates (they go to userdir)

there are no updates offered for me. Did you activate something first before installing updates?

> - now install 7.4rc2-java and import settings from 7.3
> Then appears a window saying that most cnd modules are incompatible with the
> new Netbeans, see attached screenshot.
Comment 13 Egor Ushakov 2013-09-27 09:30:34 UTC
I probably deselected "check for updates" in installer
Comment 14 Theofanis Oikonomou 2013-09-27 10:13:41 UTC
(In reply to Egor Ushakov from comment #13)
> I probably deselected "check for updates" in installer

The mac installer does not offer this option for me. I will have to check this on Monday when I have access to a linux box unless someone else can reproduce this earlier.

(In reply to Egor Ushakov from comment #0)
> Steps to reproduce:
> - install 7.3-cpp without updates
> - set install folder read only (or install as super user)
> - run the IDE and install updates (they go to userdir)

this means that your proxy works correctly I guess? Did you check the log after that? Maybe there are IOE there also?

> - now install 7.4rc2-java and import settings from 7.3
> Then appears a window saying that most cnd modules are incompatible with the
> new Netbeans, see attached screenshot.

Also please also reply to comment 7. Thank you
Comment 15 Egor Ushakov 2013-09-27 10:27:41 UTC
(In reply to Libor Fischmeistr from comment #7)
> (In reply to Egor Ushakov from comment #6)
> > Settings importer runs before I could set proxy in the IDE...
> 
> And in the system do you have set up proxy?
> 
> Thanks for the answer.

yes, but id does not work in Netbeans unless set manually
Comment 16 Libor Fischmeistr 2013-09-27 11:44:52 UTC
(In reply to Egor Ushakov from comment #15)
> (In reply to Libor Fischmeistr from comment #7)
> > (In reply to Egor Ushakov from comment #6)
> > > Settings importer runs before I could set proxy in the IDE...
> > 
> > And in the system do you have set up proxy?
> > 
> > Thanks for the answer.
> 
> yes, but id does not work in Netbeans unless set manually

That's the important thing. It seems there is problem with proxy on Solaris. I have been testing it and found that on Solaris GSettings does not return nothing. Which is bad and proxy could not be resolved.

Now it should be investigated, if this issue is really caused by the proxy or by something else.

Fanis, what do you think?
Comment 17 Theofanis Oikonomou 2013-09-27 11:54:34 UTC
(In reply to Libor Fischmeistr from comment #16)
> Now it should be investigated, if this issue is really caused by the proxy
> or by something else.
> 
> Fanis, what do you think?

I agree. First I would like an answer for comment 14. If there are IOE in that log then probably something went wrong with downloading the updates (caused by proxy not being resolved?) and importing the settings just makes that surface. If no IOE are present in that log then more evaluation is needed, which I will do on Monday.
Comment 18 Theofanis Oikonomou 2013-09-27 12:02:39 UTC
I am re-assigning in order for the solaris-proxy issue to be resolved first. If this continues to happen please file a new bug for importing settings. Thank you
Comment 19 Libor Fischmeistr 2013-09-27 13:35:33 UTC
http://hg.netbeans.org/core-main/rev/c6ad245456be

This should fix resolving system proxy on Solaris (for me worked on Solaris 11).
Now if in the system is proxy properly set up, this setting should be known to IDE during the first start.

Egor, could you please try to reproduce as soon as this fix passes to the daily build? 

Thanks
Comment 20 Egor Ushakov 2013-09-27 13:36:35 UTC
Sure I will, thanks!
Comment 21 Libor Fischmeistr 2013-09-30 08:17:26 UTC
I forgot to ask you to attach the message log file here in both cases, if the fix helps or not. Thanks
Comment 22 Egor Ushakov 2013-09-30 09:51:49 UTC
Created attachment 140643 [details]
IDE log

I tried it on build 0930, now proxy detected correctly, here are logs and a new screenshot
Comment 23 Egor Ushakov 2013-09-30 09:54:59 UTC
Created attachment 140644 [details]
screenshot

I tried it on build from 0902 and even though proxy was not detected screenshot is different from what we see in 7.4rc2
Comment 24 Egor Ushakov 2013-09-30 09:55:31 UTC
Created attachment 140645 [details]
log from 0902
Comment 25 Egor Ushakov 2013-09-30 10:00:13 UTC
See the last screenshot, behavior is very different in dev build from 0902 and 7.4rc2 and it does not depend on proxy detection (see log from 0930, screenshot is the same)
Comment 26 Theofanis Oikonomou 2013-09-30 11:40:52 UTC
The proxy issue seems to be resolved and the settings from 7.3-cpp also seem to be copied correctly to 7.4rc1-java as there is nothing in the log to imply otherwise. When it is tried to download and install the required plugins the dialog from comment 23 is shown. I am re-assigning to pluginimporter as I am not sure if this is expected or how exactly it should behave. Thank you
Comment 27 Libor Fischmeistr 2013-09-30 12:28:00 UTC
Egor, thank you for the proxy fix verification. Because this fix should be into 7.4, I've created new issue 236544 to track it separately.
Comment 28 Tomas Danek 2013-09-30 13:08:22 UTC
Dialog is descriptive and points to a workaround: do not import plugins. User can later install 7.4 cnd modules from UC. 
Reason why plugin importer does not recognise cnd modules as NetBeans ones needs to be evaluated, but definitely not as a stopper for 7.4 release. Downgrading to P3, since workaround exists and seem to me like not very usual case.
Comment 29 Quality Engineering 2013-10-01 23:43:26 UTC
Integrated into 'releases/release74', will be available in build *201310012201* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/af66ebf05f5a
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #236412: Incompatible CND modules