[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2019-08-23 Thread Christian Lenz (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16914055#comment-16914055
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 8/23/19 8:39 AM:
---

I can understand your point [~lkishalmi] will try to provide more information. 
First one to say here, this feature is needed, because it doesn't make any 
sense to clean your dir from one to another IDE. A lot of people, don't want to 
edit there settings again and again like setting spaces, colors, code 
completion settings, etc. from one version to another. A lot of people don't 
want to have a clean/fresh/new install of NetBeans and edit there settings 
again, after they did it for your needs and used half an hour or more to set it 
up. This is not working. I know that this sounds unproductive but this is a 
real case. And yes I know that a third party plugin can broken it, but NetBeans 
should handle those "exceptions" too that this shouldn't take that long. It 
doesn't take 5 minutes but it takes some time and I don't expect it because 
those are settings that should only copied over to another dir. Nothing else.

Anyway, I added my settings from 11.1 because it happens for the daily build 
too, that it takes longer than expected to import settings, when I start 
NetBeans daily build for the very first time (no cache dir, no user dir).

Here is my NetBeans 11.1 environment:

{code}
Product Version: Apache NetBeans IDE 11.1
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
{code}


Will add a screenshot of my plugins, if thats help. What info do you need more?


was (Author: chrizzly):
I can understand your point [~lkishalmi] will try to provide more information. 
First one to say here, this feature is needed, because it doesn't make any 
sense to clean your dir from one to another IDE. A lot of people, don't want to 
edit there settings again and again like setting spaces, colors, code 
completion settings, etc. from one version to another. A lot of people don't 
want to have a clean/fresh/new install of NetBeans and edit there settings 
again, after they did it for your needs and used half an hour or more to set it 
up. This is not working. I know that this sounds unproductive but this is a 
real case. And yes I know that a third party plugin can broken it, but NetBeans 
should handle those "exceptions" too that this shouldn't take that long.

Anyway, I added my settings from 11.1 because it happens for the daily build 
too, that it takes longer than expected to import settings, when I start 
NetBeans daily build for the very first time (no cache dir, no user dir).

Here is my NetBeans 11.1 environment:

{code}
Product Version: Apache NetBeans IDE 11.1
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.1
Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.1
{code}


Will add a screenshot of my plugins, if thats help. What info do you need more?

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-12 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16612451#comment-16612451
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 9/12/18 5:09 PM:
---

Ok, here is my update:
I read the stackoverflow article and searched for *\u* inside the 8.2 
folder and found 2 property files. uihandler.properties 
(*C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\config\Preferences\org\netbeans\modules\uihandler.properties*)
 and tctracker.properties 
(*C:\Users\Chrl\AppData\Roaming\NetBeans\8.2\config\Preferences\org\netbeans\core\windows\tctracker.properties*)
 where I could find this, in the first line:

{code}

[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-12 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16610779#comment-16610779
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 9/12/18 12:08 PM:


Will check all of them. Thx. But maybe should be there an automatism to remove 
the U+? I mean this is causing the root problem due to changes in the JDK. 
So the stackoverflow article says it. The one at the bottom, he/she searched 
for \u smth and removed that.

I will check those things and will let you know what I did in the end. Thx for 
the help.


was (Author: chrizzly):
Will check all of them. Thx. But maybe should be there an automatism to remove 
the U+? I mean this is causing the root problem due to changes in the JDK. 
So the stackoverflow article says it. The one at the bottom, he/she searched 
for \ smth and removed that.

I will check those things and will let you know what I did in the end. Thx for 
the help.

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-11 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16610762#comment-16610762
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 9/11/18 3:06 PM:
---

Still the same problem. Took ~5min to open and I see the splash screen "start 
loading modules..." "Done loading modules..." after this, the splash screen 
disappears and netbeans is running in the background as a task with ~290MB of 
RAM.

I can't figure out, what this exception means:

{code}
INFO [org.openide.awt.Toolbar]: Too long AWTTask: 1.580 ms for 
org.openide.awt.MenuBar$MenuBarFolder@2f6bf44c(FolderList{MultiFileObject@754b6407[Menu]})
SEVERE [global]
java.lang.IllegalArgumentException: Key contains code point U+
at 
java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:296)
at 
java.prefs/java.util.prefs.AbstractPreferences.getBoolean(AbstractPreferences.java:531)
at 
org.netbeans.core.windows.TopComponentTracker.load(TopComponentTracker.java:76)
at 
org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:101)
at 
org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:56)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:204)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at 
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
{code}

I googled a bit and found old tickets in bugzilla.

Here are the old tickets: https://netbeans.org/bugzilla/show_bug.cgi?id=271715 
and https://netbeans.org/bugzilla/show_bug.cgi?id=271652


was (Author: chrizzly):
Still the same problem. Took ~5min to open and I see the splash screen "start 
loading modules..." "Done loading modules..." after this, the splash screen 
disappears and netbeans is running in the background as a task with ~290MB of 
RAM.

I can't figure out, what this exception means:

{code}
INFO [org.openide.awt.Toolbar]: Too long AWTTask: 1.580 ms for 
org.openide.awt.MenuBar$MenuBarFolder@2f6bf44c(FolderList{MultiFileObject@754b6407[Menu]})
SEVERE [global]
java.lang.IllegalArgumentException: Key contains code point U+
at 
java.prefs/java.util.prefs.AbstractPreferences.get(AbstractPreferences.java:296)
at 
java.prefs/java.util.prefs.AbstractPreferences.getBoolean(AbstractPreferences.java:531)
at 
org.netbeans.core.windows.TopComponentTracker.load(TopComponentTracker.java:76)
at 
org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:101)
at 
org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:56)
at org.netbeans.core.GuiRunLevel$InitWinSys.run(GuiRunLevel.java:204)
at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at 

[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-11 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16610297#comment-16610297
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 9/11/18 8:50 AM:
---

The NetBeans task is still running in the background. I can see it in the 
taskmanager with the old icon. But this is NetBeans 9, not my other 
installation. But this is related to this ticket: 
https://issues.apache.org/jira/browse/NETBEANS-1081


was (Author: chrizzly):
The NetBeans task is still running in the background. I can see it in the 
taskmanager with the old icon. But this is NetBeans 9, not my other 
installation.

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long

2018-09-11 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16610297#comment-16610297
 ] 

Christian Lenz edited comment on NETBEANS-1232 at 9/11/18 8:50 AM:
---

The NetBeans task is still running in the background. I can see it in the 
taskmanager with the old icon. But this is NetBeans 9, not my other 
installation.


was (Author: chrizzly):
The NetBeans task is still running in the background. I can see it in the 
taskmanager with the old icon. But this is NetBeans 9, not my other 
installation. But this is related to this ticket: 
https://issues.apache.org/jira/browse/NETBEANS-1081

> Import settings from 8.2 to 9.0 tooks too long
> --
>
> Key: NETBEANS-1232
> URL: https://issues.apache.org/jira/browse/NETBEANS-1232
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 9.0
>Reporter: Christian Lenz
>Priority: Critical
> Attachments: messages.log
>
>
> I opened NetBeans 9.0 for the first time and it asks me whether I want to 
> import my settings from 8.2 or not. I hit yes and I waited 5min (started at 
> 10:33 to import and ended at 10:38). This is way to long. I opened the 
> messages.log but there is no exception or whatever inside.
> I can't cancel that dialog or close it this is why I set it to critical. 
> NetBeans opened after 5min, after the import was finished.
> Cheers
> Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists