[jira] [Commented] (NETBEANS-4863) Can't create new PHP project from existing source

2020-09-30 Thread Dusan R (Jira)


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

Dusan R commented on NETBEANS-4863:
---

Does not happen on a different machine with fresh new Ubuntu 20.04 with openJDK 
11 and Netbeans snap and almost the same setup and path to the project. I will 
close the issue because Ubuntu 16.04 is close to EOL. 
I made the bug report because I saw this happen before on different computers.

Thank you for taking a time to look at the issue [~junichi11]

> Can't create new PHP project from existing source
> -
>
> Key: NETBEANS-4863
> URL: https://issues.apache.org/jira/browse/NETBEANS-4863
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.1
> Environment: ubuntu 16.04, netbeans 12.1
>Reporter: Dusan R
>Priority: Minor
>
> Clean netbeans install with snap.
> Then New Project → PHP → PHP Application with existing source → choose a 
> existing directory with 0775 permissions in user's home dir. Netbeans creates 
> nbproject dir and project.xml
> {code:java}
> // project.xml is not valid for a php project
> 
> http://www.netbeans.org/ns/project/1;>
> org.netbeans.modules.php.project
> 
> 
> {code}
> And throws an error.
> But using a directory with permissions 0777 doesn't causes the error.
> Netbeans is running as current user, with classic confinement.
> After project was created, and permissions of the dir put back to 0775, 
> netbeans continue to work normally, project proporties can be updated, files 
> can be created or updated, etc.
>  
> 
>  2020-09-29T17:54:16
>  1601394856698
>  101
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:54:16
>  1601394856714
>  102
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:54:16
>  1601394856715
>  103
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:54:17
>  1601394857907
>  125
>  800
>  16
>  USG_LOOK_AND_FEEL
>  GTK
>  GTK look and feel
> 
> 
>  2020-09-29T17:54:20
>  1601394860552
>  128
>  800
>  31
>  MEMORY
>  16689651712
> 
> 
>  2020-09-29T17:54:25
>  1601394865768
>  129
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[Plugins]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[Plugins]
>  org.openide.awt.AlwaysEnabledAction
>  Plugins
> 
> 
>  2020-09-29T17:54:45
>  1601394885238
>  172
>  800
>  15
>  INDEXING_STARTED
>  INDEXING_STARTED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  0
> 
> 
>  2020-09-29T17:54:45
>  1601394885240
>  173
>  800
>  15
>  INDEXING_FINISHED
>  INDEXING_FINISHED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  1
> 
> 
>  2020-09-29T17:54:45
>  1601394885280
>  177
>  500
>  21
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-09-29T17:54:45
>  1601394885340
>  178
>  500
>  21
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-09-29T17:55:05
>  1601394905502
>  112
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:55:05
>  1601394905514
>  113
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:55:05
>  1601394905520
>  114
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:55:16
>  1601394916277
>  112
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:55:16
>  1601394916295
>  113
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:55:16
>  1601394916295
>  114
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:55:17
>  1601394917836
>  136
>  800
>  16
>  USG_LOOK_AND_FEEL
>  GTK
>  GTK look and feel
> 
> 
>  2020-09-29T17:55:20
>  1601394920853
>  139
>  800
>  15
>  MEMORY
>  16689651712
> 
> 
>  2020-09-29T17:55:24
>  1601394924670
>  140
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[New Project...]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[New Project...]
>  org.openide.awt.AlwaysEnabledAction
>  New Project...
> 
> 
>  2020-09-29T17:56:22
>  1601394982463
>  144
>  800
>  15
>  USG_VCS_CLIENT
>  HG
>  CLI
> 
> 
>  2020-09-29T17:56:44
>  1601395004262
>  145
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[New Project...]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[New Project...]
>  org.openide.awt.AlwaysEnabledAction
>  New Project...
> 
> 
>  2020-09-29T17:57:05
>  1601395025333
>  146
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[Exit]
>  org.openide.awt.Actions$MenuItem
>  

[jira] [Commented] (NETBEANS-4863) Can't create new PHP project from existing source

2020-09-29 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto commented on NETBEANS-4863:


[~lkishalmi] Can you reproduce this? I don't use a snap package. I can't 
reproduce it with NetBeans 12.1 installed by the normal installer. (Ubuntu 
20.04)

> Can't create new PHP project from existing source
> -
>
> Key: NETBEANS-4863
> URL: https://issues.apache.org/jira/browse/NETBEANS-4863
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Project
>Affects Versions: 12.1
> Environment: ubuntu 16.04, netbeans 12.1
>Reporter: Dusan R
>Priority: Minor
>
> Clean netbeans install with snap.
> Then New Project → PHP → PHP Application with existing source → choose a 
> existing directory with 0775 permissions in user's home dir. Netbeans creates 
> nbproject dir and project.xml
> {code:java}
> // project.xml is not valid for a php project
> 
> http://www.netbeans.org/ns/project/1;>
> org.netbeans.modules.php.project
> 
> 
> {code}
> And throws an error.
> But using a directory with permissions 0777 doesn't causes the error.
> Netbeans is running as current user, with classic confinement.
> After project was created, and permissions of the dir put back to 0775, 
> netbeans continue to work normally, project proporties can be updated, files 
> can be created or updated, etc.
>  
> 
>  2020-09-29T17:54:16
>  1601394856698
>  101
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:54:16
>  1601394856714
>  102
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:54:16
>  1601394856715
>  103
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:54:17
>  1601394857907
>  125
>  800
>  16
>  USG_LOOK_AND_FEEL
>  GTK
>  GTK look and feel
> 
> 
>  2020-09-29T17:54:20
>  1601394860552
>  128
>  800
>  31
>  MEMORY
>  16689651712
> 
> 
>  2020-09-29T17:54:25
>  1601394865768
>  129
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[Plugins]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[Plugins]
>  org.openide.awt.AlwaysEnabledAction
>  Plugins
> 
> 
>  2020-09-29T17:54:45
>  1601394885238
>  172
>  800
>  15
>  INDEXING_STARTED
>  INDEXING_STARTED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  0
> 
> 
>  2020-09-29T17:54:45
>  1601394885240
>  173
>  800
>  15
>  INDEXING_FINISHED
>  INDEXING_FINISHED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  1
> 
> 
>  2020-09-29T17:54:45
>  1601394885280
>  177
>  500
>  21
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-09-29T17:54:45
>  1601394885340
>  178
>  500
>  21
>  LOG_WINDOW_DEACTIVATED
>  LOG_WINDOW_DEACTIVATED
>  org.netbeans.core.ui.warmup.Bundle
> 
> 
>  2020-09-29T17:55:05
>  1601394905502
>  112
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:55:05
>  1601394905514
>  113
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:55:05
>  1601394905520
>  114
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:55:16
>  1601394916277
>  112
>  300
>  16
>  CPU INFO
>  4
> 
> 
>  2020-09-29T17:55:16
>  1601394916295
>  113
>  300
>  16
>  SCREEN SIZE
>  1920
>  1080
>  1
> 
> 
>  2020-09-29T17:55:16
>  1601394916295
>  114
>  700
>  16
>  IDE_STARTUP
> 
> 
>  2020-09-29T17:55:17
>  1601394917836
>  136
>  800
>  16
>  USG_LOOK_AND_FEEL
>  GTK
>  GTK look and feel
> 
> 
>  2020-09-29T17:55:20
>  1601394920853
>  139
>  800
>  15
>  MEMORY
>  16689651712
> 
> 
>  2020-09-29T17:55:24
>  1601394924670
>  140
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[New Project...]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[New Project...]
>  org.openide.awt.AlwaysEnabledAction
>  New Project...
> 
> 
>  2020-09-29T17:56:22
>  1601394982463
>  144
>  800
>  15
>  USG_VCS_CLIENT
>  HG
>  CLI
> 
> 
>  2020-09-29T17:56:44
>  1601395004262
>  145
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[New Project...]
>  org.openide.awt.Actions$MenuItem
>  org.openide.awt.AlwaysEnabledAction[New Project...]
>  org.openide.awt.AlwaysEnabledAction
>  New Project...
> 
> 
>  2020-09-29T17:57:05
>  1601395025333
>  146
>  400
>  21
>  UI_ACTION_BUTTON_PRESS
>  UI_ACTION_BUTTON_PRESS
>  org.openide.awt.Bundle
>  org.openide.awt.Actions$MenuItem[Exit]
>  org.openide.awt.Actions$MenuItem
>  org.netbeans.core.actions.SystemExit[Exit]
>  org.netbeans.core.actions.SystemExit
>  Exit
> 
> 
>  2020-09-29T17:57:06
>  1601395026551
>  147
>  800
>  98
>  INDEXING_STARTED
>  INDEXING_STARTED
>