[jira] [Created] (NETBEANS-2328) Assertion on completion

2019-03-31 Thread Shevek (JIRA)
Shevek created NETBEANS-2328:


 Summary: Assertion on completion
 Key: NETBEANS-2328
 URL: https://issues.apache.org/jira/browse/NETBEANS-2328
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
 Environment: OpenJDK Runtime Environment (build 
1.8.0_191-8u191-b12-2ubuntu0.18.10.1-b12)

Reporter: Shevek


Type something, press control-space. The thing I typed vanishes, and I get this 
exception. Tends to happen after the IDE has been running an hour or so, and 
has generally slowed down, so could be a race?

java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
at 
com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:479)
at 
com.sun.tools.javadoc.main.JavadocMemberEnter.visitVarDef(JavadocMemberEnter.java:84)
at 
org.netbeans.lib.nbjavac.services.NBJavadocMemberEnter.visitVarDef(NBJavadocMemberEnter.java:92)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1184)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:773)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1350)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:73)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:673)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:749)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:880)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:810)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:716)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:431)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:143)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
at 
org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
at 
org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.Component.processKeyEvent(Component.java:6497)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
at java.awt.Component.processEvent(Component.java:6316)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:835)
at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1103)
at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:974)
at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:800)
at java.awt.Component.dispatchEventImpl(Component.java:4760)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at 

[jira] [Updated] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread bd2019us (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated NETBEANS-2327:
---
Issue Type: Bug  (was: Improvement)

> File.mkdir() may fail and cause crash.
> --
>
> Key: NETBEANS-2327
> URL: https://issues.apache.org/jira/browse/NETBEANS-2327
> Project: NetBeans
>  Issue Type: Bug
>Reporter: bd2019us
>Priority: Major
>  Labels: patch
> Attachments: 1.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Locations:
> (1) 
> java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) 
> ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does 
> not exist. The ensure safety, the File.mkdirs() method should be used, which 
> won't cause extra performance overhead. Besides, this change is easy to 
> validate.



--
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] [Updated] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread bd2019us (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated NETBEANS-2327:
---
Labels: patch  (was: pull-request-available)

> File.mkdir() may fail and cause crash.
> --
>
> Key: NETBEANS-2327
> URL: https://issues.apache.org/jira/browse/NETBEANS-2327
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: bd2019us
>Priority: Major
>  Labels: patch
> Attachments: 1.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Locations:
> (1) 
> java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) 
> ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does 
> not exist. The ensure safety, the File.mkdirs() method should be used, which 
> won't cause extra performance overhead. Besides, this change is easy to 
> validate.



--
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] [Updated] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread bd2019us (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated NETBEANS-2327:
---
Attachment: 1.patch

> File.mkdir() may fail and cause crash.
> --
>
> Key: NETBEANS-2327
> URL: https://issues.apache.org/jira/browse/NETBEANS-2327
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: bd2019us
>Priority: Major
>  Labels: pull-request-available
> Attachments: 1.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Locations:
> (1) 
> java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) 
> ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does 
> not exist. The ensure safety, the File.mkdirs() method should be used, which 
> won't cause extra performance overhead. Besides, this change is easy to 
> validate.



--
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] [Updated] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-2327:
-
Labels: pull-request-available  (was: )

> File.mkdir() may fail and cause crash.
> --
>
> Key: NETBEANS-2327
> URL: https://issues.apache.org/jira/browse/NETBEANS-2327
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: bd2019us
>Priority: Major
>  Labels: pull-request-available
> Attachments: 1.patch
>
>
> Locations:
> (1) 
> java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) 
> ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does 
> not exist. The ensure safety, the File.mkdirs() method should be used, which 
> won't cause extra performance overhead. Besides, this change is easy to 
> validate.



--
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] [Updated] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread bd2019us (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

bd2019us updated NETBEANS-2327:
---
Issue Type: Improvement  (was: Bug)

> File.mkdir() may fail and cause crash.
> --
>
> Key: NETBEANS-2327
> URL: https://issues.apache.org/jira/browse/NETBEANS-2327
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: bd2019us
>Priority: Major
>
> Locations:
> (1) 
> java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282
> (2) 
> ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181
> The File.mkdir() method may cause program crash if the parent directory does 
> not exist. The ensure safety, the File.mkdirs() method should be used, which 
> won't cause extra performance overhead. Besides, this change is easy to 
> validate.



--
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] [Created] (NETBEANS-2327) File.mkdir() may fail and cause crash.

2019-03-31 Thread bd2019us (JIRA)
bd2019us created NETBEANS-2327:
--

 Summary: File.mkdir() may fail and cause crash.
 Key: NETBEANS-2327
 URL: https://issues.apache.org/jira/browse/NETBEANS-2327
 Project: NetBeans
  Issue Type: Bug
Reporter: bd2019us


Locations:

(1) 
java/performance/src/org/netbeans/modules/performance/utilities/CommonUtilities.java:282

(2) 
ide/subversion/src/org/netbeans/modules/subversion/ui/checkout/CheckoutAction.java:181

The File.mkdir() method may cause program crash if the parent directory does 
not exist. The ensure safety, the File.mkdirs() method should be used, which 
won't cause extra performance overhead. Besides, this change is easy to 
validate.



--
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] [Updated] (NETBEANS-1691) Error in css syntax

2019-03-31 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-1691:
-
Labels: pull-request-available  (was: )

> Error in css syntax
> ---
>
> Key: NETBEANS-1691
> URL: https://issues.apache.org/jira/browse/NETBEANS-1691
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 10.0
>Reporter: Los Vitaly
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans_css.png
>
>
> Reproducible code 
> {code:java}
> @supports ((perspective: 10px) or (-moz-perspective: 10px) or 
> (-webkit-perspective: 10px) or
>  (-ms-perspective: 10px) or (-o-perspective: 10px)) {
>   … /* CSS applied when 3D transforms, prefixed or not, are supported */
> }
> {code}
>  
> I get example from here. 
> [https://developer.mozilla.org/en-US/docs/Web/CSS/@supports]
> And give screenshot from my NB10



--
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



[incubator-netbeans-website] branch releases/nb110 created (now ef0d913)

2019-03-31 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

vieiro pushed a change to branch releases/nb110
in repository 
https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git.


  at ef0d913  Update index.html

No new revisions were added by this update.


-
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] [Commented] (NETBEANS-1820) Clarify the licensing concerns of EaselDemo files.

2019-03-31 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1820:
-

We have removed the images. We have removed the sample that contained them. The 
sample was old and we do not need it anymore and the images they contained were 
absolutely unimportant and irrelevant to the Apache NetBeans project. 

> Clarify the licensing concerns of EaselDemo files.
> --
>
> Key: NETBEANS-1820
> URL: https://issues.apache.org/jira/browse/NETBEANS-1820
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: Next
>Reporter: Laszlo Kishalmi
>Assignee: Geertjan Wielenga
>Priority: Blocker
>  Labels: license, pull-request-available
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> Check if we have the permission to use/distribute these files:
> ./webcommon/web.client.samples/EaselDemo/*
> It seems:
> webcommon/web.client.samples/EaselDemo/public_html/img/*
> contains files from a professional photographer:
> https://www.warrenphotographic.co.uk/10542-kitten-and-rabbit



--
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