[jira] [Commented] (NETBEANS-887) IDE freezes during runtime

2018-06-04 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-887:
--

Looks weird. Do you use any kind of antivirus software? Are the User Directory 
= \AppData\Roaming\NetBeans\8.2
 Cache Directory = \AppData\Local\NetBeans\Cache\8.2 local to your computer or 
network drive Or you just removed your home directory from the path?

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: log_jcmd_20180604_01.txt, messages -1_20180604.log, 
> messages.log, messages.log.1, messages.log.2, uigestures, uigestures.1, 
> uigestures_20180604
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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-919) javascript formatting bug

2018-06-04 Thread Sol Mumey (JIRA)


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

Sol Mumey updated NETBEANS-919:
---
Affects Version/s: 9.0

> javascript formatting bug
> -
>
> Key: NETBEANS-919
> URL: https://issues.apache.org/jira/browse/NETBEANS-919
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Sol Mumey
>Priority: Major
>
> An error occurred while attempting to format JavaScript code in a new 
> JavaScript file. This code was copied in from a JSP I'm refactoring. If I 
> comment out the following line, format works correctly:
> {code:javascript}
> <%=request.getSession().getAttribute(LineItemAction.IS_SURVEYGEN_AVAILABLE)%>
> {code}
> {code}
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1
> java.lang.AssertionError: FormatToken\{kind=AFTER_FUNCTION_CALL_PARENTHESIS, 
> offset=-1, text=null, id=null}
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterCallNode(JsFormatVisitor.java:595)
>     at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:100)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at com.oracle.js.parser.ir.BinaryNode.accept(BinaryNode.java:154)
>     at 
> com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleStandardBlock(JsFormatVisitor.java:1072)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:124)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
>     at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at com.oracle.js.parser.ir.Node.accept(Node.java:280)
>     at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:103)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at 
> com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:122)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
>     at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:169)
>     at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:131)
>     at 
> org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:95)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> 

[jira] [Updated] (NETBEANS-919) javascript formatting bug

2018-06-04 Thread Sol Mumey (JIRA)


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

Sol Mumey updated NETBEANS-919:
---
Summary: javascript formatting bug  (was: javascript formating bug)

> javascript formatting bug
> -
>
> Key: NETBEANS-919
> URL: https://issues.apache.org/jira/browse/NETBEANS-919
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Sol Mumey
>Priority: Major
>
> An error occurred while attempting to format JavaScript code in a new 
> JavaScript file. This code was copied in from a JSP I'm refactoring. If I 
> comment out the following line, format works correctly:
> {code:javascript}
> <%=request.getSession().getAttribute(LineItemAction.IS_SURVEYGEN_AVAILABLE)%>
> {code}
> {code}
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1
> java.lang.AssertionError: FormatToken\{kind=AFTER_FUNCTION_CALL_PARENTHESIS, 
> offset=-1, text=null, id=null}
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterCallNode(JsFormatVisitor.java:595)
>     at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:100)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at com.oracle.js.parser.ir.BinaryNode.accept(BinaryNode.java:154)
>     at 
> com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleStandardBlock(JsFormatVisitor.java:1072)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:124)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
>     at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at com.oracle.js.parser.ir.Node.accept(Node.java:280)
>     at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:103)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at 
> com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:122)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
>     at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
>     at 
> com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
>     at 
> com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:169)
>     at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
>     at 
> org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:131)
>     at 
> org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:95)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> 

[jira] [Created] (NETBEANS-919) javascript formating bug

2018-06-04 Thread Sol Mumey (JIRA)
Sol Mumey created NETBEANS-919:
--

 Summary: javascript formating bug
 Key: NETBEANS-919
 URL: https://issues.apache.org/jira/browse/NETBEANS-919
 Project: NetBeans
  Issue Type: Bug
Reporter: Sol Mumey


An error occurred while attempting to format JavaScript code in a new 
JavaScript file. This code was copied in from a JSP I'm refactoring. If I 
comment out the following line, format works correctly:

{code:javascript}
<%=request.getSession().getAttribute(LineItemAction.IS_SURVEYGEN_AVAILABLE)%>
{code}

{code}
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.progress.ui.RunOffEDTImpl$1
java.lang.AssertionError: FormatToken\{kind=AFTER_FUNCTION_CALL_PARENTHESIS, 
offset=-1, text=null, id=null}
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterCallNode(JsFormatVisitor.java:595)
    at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:100)
    at 
com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
    at 
com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
    at com.oracle.js.parser.ir.BinaryNode.accept(BinaryNode.java:154)
    at 
com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleStandardBlock(JsFormatVisitor.java:1072)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:124)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
    at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
    at 
com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
    at 
com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
    at com.oracle.js.parser.ir.Node.accept(Node.java:280)
    at com.oracle.js.parser.ir.CallNode.accept(CallNode.java:103)
    at 
com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
    at 
com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
    at 
com.oracle.js.parser.ir.ExpressionStatement.accept(ExpressionStatement.java:62)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1174)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.handleBlockContent(JsFormatVisitor.java:1166)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterBlock(JsFormatVisitor.java:122)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatVisitor.enterFunctionNode(JsFormatVisitor.java:452)
    at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301)
    at 
com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60)
    at 
com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatter$1.run(JsFormatter.java:169)
    at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
    at 
org.netbeans.modules.javascript2.editor.formatter.JsFormatter.reformat(JsFormatter.java:131)
    at 
org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:95)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
    at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
    at 
org.netbeans.modules.csl.core.GsfReformatTask.reformat(GsfReformatTask.java:83)
    at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
    at 

[incubator-netbeans] branch master updated (d03c2dd -> 1a21180)

2018-06-04 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git.


from d03c2dd  Updating plugin portal location in master to 9.0.
 add 7f5c898  NETBEANS-716 Help-Report Issue should navigate to JIRA link 
in browser
 new 1a21180  Merge pull request #549 from rtaneja1/rtaneja/netbeans-716

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../modules/bugzilla/exceptionreporter/Bundle.properties   |  2 +-
 .../bugzilla/exceptionreporter/ReportNBIssueAction.java| 14 --
 2 files changed, 13 insertions(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
matthiasblaes...@apache.org.

-
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] 01/01: Merge pull request #549 from rtaneja1/rtaneja/netbeans-716

2018-06-04 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git

commit 1a21180eafe9de7dca7f02e5aade632cf665c60d
Merge: d03c2dd 7f5c898
Author: Matthias Bläsing 
AuthorDate: Mon Jun 4 22:23:58 2018 +0200

Merge pull request #549 from rtaneja1/rtaneja/netbeans-716

NETBEANS-716 Help-Report Issue should navigate to JIRA link in browser

 .../modules/bugzilla/exceptionreporter/Bundle.properties   |  2 +-
 .../bugzilla/exceptionreporter/ReportNBIssueAction.java| 14 --
 2 files changed, 13 insertions(+), 3 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
matthiasblaes...@apache.org.

-
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] [Resolved] (NETBEANS-74) derby module contains binary sample db

2018-06-04 Thread JIRA


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

Matthias Bläsing resolved NETBEANS-74.
--
   Resolution: Fixed
 Assignee: Matthias Bläsing
Fix Version/s: 9.0

Thank you for the heads up Laszlo! The issue was fixed already via:

[https://github.com/apache/incubator-netbeans/commit/6e6aa5a]

Closing this as resolved.

> derby module contains binary sample db
> --
>
> Key: NETBEANS-74
> URL: https://issues.apache.org/jira/browse/NETBEANS-74
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - Code
>Reporter: Matthias Bläsing
>Assignee: Matthias Bläsing
>Priority: Major
> Fix For: 9.0
>
>
> The derby module contains a sample database. The database source code is 
> present in form of a sql script and as a binary. The binary should be 
> removed. Two possible solutions:
> # Build the binary sample database at build time
> # Include the database source code in the module and create sample database 
> by executing sql



--
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-917) NPE Search Usages Exception

2018-06-04 Thread Mariano Marcolongo (JIRA)
Mariano Marcolongo created NETBEANS-917:
---

 Summary: NPE Search Usages Exception
 Key: NETBEANS-917
 URL: https://issues.apache.org/jira/browse/NETBEANS-917
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Mariano Marcolongo


java.lang.NullPointerException
    at 
org.netbeans.api.java.source.ElementHandle.resolve(ElementHandle.java:118)
    at 
org.netbeans.api.java.source.TreePathHandle$TreeDelegate.resolveElement(TreePathHandle.java:530)
    at 
org.netbeans.api.java.source.TreePathHandle.resolveElement(TreePathHandle.java:162)
    at 
org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:574)
    at 
org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin$FindTask.run(JavaWhereUsedQueryPlugin.java:548)
    at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:166)
    at 
org.netbeans.modules.parsing.api.ParserManager$MultiUserTaskAction.run(ParserManager.java:138)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
    at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:83)
    at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
    at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
    at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:319)
    at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.processFiles(JavaRefactoringPlugin.java:263)
    at 
org.netbeans.modules.refactoring.java.spi.JavaRefactoringPlugin.queryFiles(JavaRefactoringPlugin.java:253)
    at 
org.netbeans.modules.refactoring.java.plugins.JavaWhereUsedQueryPlugin.prepare(JavaWhereUsedQueryPlugin.java:362)
[catch] at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:417)
    at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:401)
    at 
org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:212)
    at 
org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare$2.run(ParametersPanel.java:1059)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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] [Commented] (NETBEANS-827) commons-net-3.6.jar license/notice

2018-06-04 Thread JIRA


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

Matthias Bläsing commented on NETBEANS-827:
---

Emilian referenced the start of the "issue". Justin claims, that there is 
something wrong with the NOTICE file. And also includes the parts from 
commons-net, there are bubbled up from the commons-net NOTICE file into the 
netbeans notice file.

I think the problem is not the content itself, but the fact, that the NOTICE 
file is not well readable. After this PR:

[https://github.com/apache/incubator-netbeans/commit/88932d010f2e7927c7b5c75040dad8e205585f49]

We end up with:

 
{noformat}
Apache Commons Net
Copyright 2001-2017 The Apache Software Foundation

{noformat}
in the NOTICE file. This is the part from commons-net that was "bubbled-up" and 
to my understanding this is what the ASF requires.

 

> commons-net-3.6.jar license/notice
> --
>
> Key: NETBEANS-827
> URL: https://issues.apache.org/jira/browse/NETBEANS-827
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Emilian Bold
>Assignee: Matthias Bläsing
>Priority: Major
>
> ./ide/modules/ext/commons-net-3.6.jar
> - probably no need to include this in NOTICE as you’re done
> Additional notes on LICENSE and NOTICE: 
> http://mail-archives.apache.org/mod_mbox/incubator-general/201801.mbox/%3cc4c5d5c4-ab44-4afe-ade2-9e91f593a...@classsoftware.com%3e



--
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-916) Cannot open File with other encoding than UTF-8

2018-06-04 Thread Mariano Marcolongo (JIRA)


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

Mariano Marcolongo updated NETBEANS-916:

Description: 
By clicking on the output  build console with message:

--- maven-compiler-plugin:3.1:compile (default-compile) @ jmf-apps ---
Changes detected - recompiling the module!
Compiling 63 source files to /xx/target/classes
x/AboutDialog.java:[126,76] unmappable character for encoding UTF-8

A popup error came up and can't continue.

org.openide.text.DataEditorSupport$1: The file /AboutDialog.java cannot 
be safely opened with encoding UTF-8. Do you want to continue opening it?
     at 
org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
     at 
org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
     at 
org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
     at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
     at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
     at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
     at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
     at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
     at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
 [catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

  was:
org.openide.text.DataEditorSupport$1: The file /AboutDialog.java cannot 
be safely opened with encoding UTF-8. Do you want to continue opening it?
    at 
org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
    at 
org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
    at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
    at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


> Cannot open File with other encoding than UTF-8
> ---
>
> Key: NETBEANS-916
> URL: https://issues.apache.org/jira/browse/NETBEANS-916
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
>Reporter: Mariano Marcolongo
>Priority: Major
>
> By clicking on the output  build console with message:
> --- maven-compiler-plugin:3.1:compile (default-compile) @ jmf-apps ---
> Changes detected - recompiling the module!
> Compiling 63 source files to /xx/target/classes
> x/AboutDialog.java:[126,76] unmappable character for encoding UTF-8
> A popup error came up and can't continue.
> org.openide.text.DataEditorSupport$1: The file /AboutDialog.java 
> cannot be safely opened with encoding UTF-8. Do you want to continue opening 
> it?
>      at 
> org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
>      at 
> org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
>      at 
> org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
>      at 
> org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
>      at 
> org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
>      at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
>      at 
> org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
>      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>      at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>  [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



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

[jira] [Created] (NETBEANS-916) Cannot open File with other encoding than UTF-8

2018-06-04 Thread Mariano Marcolongo (JIRA)
Mariano Marcolongo created NETBEANS-916:
---

 Summary: Cannot open File with other encoding than UTF-8
 Key: NETBEANS-916
 URL: https://issues.apache.org/jira/browse/NETBEANS-916
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Other
Affects Versions: 9.0
Reporter: Mariano Marcolongo


org.openide.text.DataEditorSupport$1: The file /AboutDialog.java cannot 
be safely opened with encoding UTF-8. Do you want to continue opening it?
    at 
org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
    at 
org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
    at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
    at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
    at 
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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] [Commented] (NETBEANS-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica commented on NETBEANS-887:
-

Please find the attached [^log_jcmd_20180604_01.txt],  [^messages 
-1_20180604.log]  and [^uigestures_20180604].

Netbeans froze while the autocomplete was on. The IDE is no longer visible but 
the process is still running. I cannot connect to it with JConsole, but I 
exported the threads dump with jcmd. 

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: log_jcmd_20180604_01.txt, messages -1_20180604.log, 
> messages.log, messages.log.1, messages.log.2, uigestures, uigestures.1, 
> uigestures_20180604
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica updated NETBEANS-887:

Attachment: messages -1_20180604.log

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: log_jcmd_20180604_01.txt, messages -1_20180604.log, 
> messages.log, messages.log.1, messages.log.2, uigestures, uigestures.1
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica updated NETBEANS-887:

Attachment: log_jcmd_20180604_01.txt

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: log_jcmd_20180604_01.txt, messages.log, messages.log.1, 
> messages.log.2, uigestures, uigestures.1
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica edited comment on NETBEANS-887 at 6/4/18 1:26 PM:
-

I had on my laptop more java versions (7, 8 with update 51 and 171) installed; 
therefore I uninstalled the ones I do not use. I also made sure the 
environmental variables for java are correctly set.

As soon as a strange behavior happens, I will collect logs and I will try to 
get also the thread dump.


was (Author: olimpiap):
I had on my laptop more java versions (7, 8 with update 51 and 171) installed. 
Therefore I uninstalled the ones I do not use. I also made sure the 
environmental variables for java are correctly set.

As soon as a strange behavior happens, I will collect logs and I will try to 
get also the thread dump.

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: messages.log, messages.log.1, messages.log.2, 
> uigestures, uigestures.1
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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] [Resolved] (NETBEANS-912) Debugging exception

2018-06-04 Thread luca campagnaro (JIRA)


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

luca campagnaro resolved NETBEANS-912.
--
Resolution: Fixed

I deleted cache directories and the problem now is resolved.(on)
(user/AppData/Local/NetBeans/Cache)
(user/AppData/Roaming/NetBeans/dev)

> Debugging exception
> ---
>
> Key: NETBEANS-912
> URL: https://issues.apache.org/jira/browse/NETBEANS-912
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: luca campagnaro
>Priority: Major
> Fix For: 9.0, Next
>
>
> 
>  2018-06-04T10:25:39
>  1528100739215
>  1340
>  1001
>  78
>  
>  java.lang.NoSuchMethodException: 
> org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(org.netbeans.spi.debugger.jpda.Evaluator$Expression,
>  java.lang.String, int, com.sun.source.util.TreePathScanner, 
> com.sun.source.util.TreePathScanner, java.lang.Object, boolean, 
> java.util.function.Function, 
> org.netbeans.spi.debugger.jpda.SourcePathProvider)
>  
>  java.lang.Class
>  getMethod
>  2065
>  jrt:/java.base/java/lang/Class.class
>  
>  
>  org.netbeans.modules.debugger.jpda.EditorContextBridge
>  interpretOrCompileCode
>  130
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.expr.TreeEvaluator
>  evaluate
>  207
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.JavaEvaluator
>  evaluateIn
>  170
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.JavaEvaluator
>  evaluate
>  118
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression
>  evaluate
>  76
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
>  evaluateGeneric
>  979
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
>  evaluate
>  373
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
>  evaluate
>  337
>  ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
>  
>  
>  
> org.netbeans.modules.debugger.jpda.projectsui.ToolTipAnnotation
>  run
>  262
>  
> ${netBeansDir}modules/org-netbeans-modules-debugger-jpda-projectsui.jar
>  
>  
>  org.openide.util.RequestProcessor$Task
>  run
>  1418
>  ${netbeans.home}lib/org-openide-util.jar
>  
>  
>  org.netbeans.modules.openide.util.GlobalLookup
>  execute
>  45
>  ${netbeans.home}lib/org-openide-util-lookup.jar
>  
>  
>  org.openide.util.lookup.Lookups
>  executeWith
>  278
>  ${netbeans.home}lib/org-openide-util-lookup.jar
>  
>  
>  org.openide.util.RequestProcessor$Processor
>  run
>  2033
>  ${netbeans.home}lib/org-openide-util.jar
>  
>  
> 
> 
>  2018-06-04T10:25:42
>  1528100742355
>  1366
>  800
>  188
>  INDEXING_STARTED
>  INDEXING_STARTED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  7251
> 
> 
>  2018-06-04T10:25:42
>  1528100742355
>  1367
>  800
>  188
>  INDEXING_FINISHED
>  INDEXING_FINISHED
>  org.netbeans.modules.parsing.impl.indexing.Bundle
>  0
> 
> 
>  2018-06-04T10:26:20
>  1528100780242
>  1535
>  700
>  107
>  UI_USER_CONFIGURATION
>  UI_USER_CONFIGURATION
>  org.netbeans.modules.uihandler.Bundle
>  Windows 7, 6.1, amd64
>  Java HotSpot(TM) 64-Bit Server VM, 9+181, Java(TM) SE Runtime 
> Environment, 9+181
>  Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-302-on-20180517)
>  freekamel67
>  NoSuchMethodException: 
> org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(org.netbeans.spi.debugger.jpda.Evaluator$Expression,
>  java.lang.String, int, com.sun.source.util.TreePathScanner, 
> com.sun.source.util.TreePathScanner, java.lang.Object, boolean, 
> java.util.function.Function, 
> org.netbeans.spi.debugger.jpda.SourcePathProvider)
>  Please provide a description of the problem or the steps to 
> reproduce
>  *
> 



--
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-914) Generated WizardDescriptor.InstantiatingIterator contains suspicious code

2018-06-04 Thread Peter Nabbefeld (JIRA)
Peter Nabbefeld created NETBEANS-914:


 Summary: Generated WizardDescriptor.InstantiatingIterator contains 
suspicious code
 Key: NETBEANS-914
 URL: https://issues.apache.org/jira/browse/NETBEANS-914
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 9.0
 Environment: Linux
Reporter: Peter Nabbefeld


The InstantiatingIterator contains following code:

    String[] steps = createSteps();
    for (int i = 0; i < panels.size(); i++) {
    Component c = panels.get(i).getComponent();
    if (steps[i] == null) {
    // Default step name to component name of panel. Mainly
    // useful for getting the name of the target chooser to
    // appear in the list of steps.
    steps[i] = c.getName();
    }

Here, "steps" is used as a zero-based array.

It uses following method:

private String[] createSteps() {
    String[] beforeSteps = 
(String[])wizard.getProperty("WizardPanel_contentData");
    assert beforeSteps != null : "This wizard may only be used embedded in the 
template wizard";
    String[] res = new String[(beforeSteps.length - 1) + panels.size()];
    for (int i = 0; i < res.length; i++) {
    if (i < (beforeSteps.length - 1)) {
    res[i] = beforeSteps[i];
    } else {
    res[i] = panels.get(i - beforeSteps.length + 
1).getComponent().getName();
    }
    }
    return res;
}

Here, "steps" has a bias-value (the size of beforeSteps - 1), which seems to be 
zero in most cases, but the different usage may cause errors if bias > 0.

Probably it should be made clear, what this bias value exactly is, and then it 
should also be used in the code above, if needed.



--
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-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Description: 
I've just created a Maven project that uses JAR packaging and Java 10. I've 
added a class called "Main" and I've written this in it:
{code:java}
public class Main {

    public static void main (String[] arguments) {
        var foo = (String) null;
    }

}{code}
 

Then, I've typed an "at" symbol (@) inside the type cast, in order to get this:
{code:java}
public class Main {

public static void main (String[] arguments) {
var foo = (@Nullable String) null;
}

}{code}
 

But NetBeans has thrown the following exception:
{code:java}
java.lang.AssertionError
    at com.sun.tools.javac.util.Assert.error(Assert.java:155)
    at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
    at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
    at 
com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
    at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
    at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
    at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
    at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
    at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
    at 
com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
    at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
    at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
    at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
    at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
    at 
org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
    at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
    at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

{code}
Thank you!

 

  was:
I've just created a Maven project with JAR packaging, using Java 10. I've added 
a class called "Main" and I've written this in it:
{code:java}
public class Main {

    public static void main (String[] arguments) {
        var foo = (String) null;
    }

}{code}
 

Then, I've typed an "at" symbol (@) inside the type cast, in order to get this:
{code:java}
public class Main {

public static void main (String[] arguments) {
var foo 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Attachment: maven-project--netbeans-bug.zip

> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: IDE: NetBeans 9 RC1
> OS : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
> Attachments: maven-project--netbeans-bug.zip
>
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>     at 
> 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Attachment: (was: netbeans-bug.zip)

> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: IDE: NetBeans 9 RC1
> OS : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
> Attachments: maven-project--netbeans-bug.zip
>
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>     at 
> 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Attachment: netbeans-bug.zip

> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: IDE: NetBeans 9 RC1
> OS : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
> Attachments: netbeans-bug.zip
>
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>     at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>     at 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Environment: 
IDE: NetBeans 9 RC1
OS : Debian 9.4 - Stretch - amd64
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1

  was:
IDE: NetBeans 9 RC1
Operative system : Debian 9.4 - Stretch - amd64
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1


> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: IDE: NetBeans 9 RC1
> OS : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Environment: 
IDE: NetBeans 9 RC1
Operative system : Debian 9.4 - Stretch - amd64
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1

  was:
Operative system : Debian 9.4 - Stretch - amd64
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1


> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: IDE: NetBeans 9 RC1
> Operative system : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Environment: 
Operative system : Debian 9.4 - Stretch - amd64
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1

  was:
Operative system : Debian 9.4 Stretch
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1


> "AssertionError" when writing an annotation inside of a type cast
> -
>
> Key: NETBEANS-913
> URL: https://issues.apache.org/jira/browse/NETBEANS-913
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Completion
>Affects Versions: 9.0
> Environment: Operative system : Debian 9.4 - Stretch - amd64
> Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
> GNU/Linux
> JDK: Oracle JDK 10.0.1
>Reporter: negora
>Priority: Major
>
> I've just created a Maven project with JAR packaging, using Java 10. I've 
> added a class called "Main" and I've written this in it:
> {code:java}
> public class Main {
>     public static void main (String[] arguments) {
>         var foo = (String) null;
>     }
> }{code}
>  
> Then, I've typed an "at" symbol (@) inside the type cast, in order to get 
> this:
> {code:java}
> public class Main {
> public static void main (String[] arguments) {
> var foo = (@Nullable String) null;
> }
> }{code}
>  
> But NetBeans has thrown the following exception:
> {code:java}
> java.lang.AssertionError
>     at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>     at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
>     at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
>     at 
> com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
>     at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
>     at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
>     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
>     at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
>     at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>     at 
> com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
>     at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
>     at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
>     at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
>     at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>     at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
>     at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
>     at 
> org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
>     at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
>     at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>     at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>     at 
> 

[jira] [Updated] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)


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

negora updated NETBEANS-913:

Description: 
I've just created a Maven project with JAR packaging, using Java 10. I've added 
a class called "Main" and I've written this in it:
{code:java}
public class Main {

    public static void main (String[] arguments) {
        var foo = (String) null;
    }

}{code}
 

Then, I've typed an "at" symbol (@) inside the type cast, in order to get this:
{code:java}
public class Main {

public static void main (String[] arguments) {
var foo = (@Nullable String) null;
}

}{code}
 

But NetBeans has thrown the following exception:
{code:java}
java.lang.AssertionError
    at com.sun.tools.javac.util.Assert.error(Assert.java:155)
    at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
    at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:167)
    at 
com.sun.tools.javac.comp.Annotate.lambda$annotateTypeSecondStage$5(Annotate.java:1031)
    at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:194)
    at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144)
    at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:333)
    at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:953)
    at org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:57)
    at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
    at 
com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2495)
    at com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2379)
    at org.netbeans.lib.nbjavac.services.NBAttr.visitNewClass(NBAttr.java:74)
    at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
    at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:706)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:650)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:430)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:344)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:324)
    at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:320)
    at 
org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
    at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
    at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
    at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
    at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

{code}
Thank you!

 

  was:
I've just created a Maven project with JAR packaging, using Java 10. I've added 
a class called "Main" and I've written this in it:
  
{code:java}
public class Main {

    public static void main (String[] arguments) {
        var foo = (String) null;
    }

}{code}
Then, I've typed an "at" symbol (@) inside the type cast, in order to get this:
{code:java}
public class Main {

public static void main (String[] arguments) {
var foo = 

[jira] [Created] (NETBEANS-913) "AssertionError" when writing an annotation inside of a type cast

2018-06-04 Thread negora (JIRA)
negora created NETBEANS-913:
---

 Summary: "AssertionError" when writing an annotation inside of a 
type cast
 Key: NETBEANS-913
 URL: https://issues.apache.org/jira/browse/NETBEANS-913
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Code Completion
Affects Versions: 9.0
 Environment: Operative system : Debian 9.4 Stretch
Kernel: Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 
GNU/Linux
JDK: Oracle JDK 10.0.1
Reporter: negora


I've just created a Maven project with JAR packaging, using Java 10. I've added 
a class called "Main" and I've written this in it:
  
{code:java}
public class Main {

    public static void main (String[] arguments) {
        var foo = (String) null;
    }

}{code}
Then, I've typed an "at" symbol (@) inside the type cast, in order to get this:
{code:java}
public class Main {

public static void main (String[] arguments) {
var foo = (@Nullable String) null;
}

}{code}
 

 



--
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] [Commented] (NETBEANS-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica commented on NETBEANS-887:
-

I had on my laptop more java versions (7, 8 with update 51 and 171) installed. 
Therefore I uninstalled the ones I do not use. I also made sure the 
environmental variables for java are correctly set.

As soon as a strange behavior happens, I will collect logs and I will try to 
get also the thread dump.

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: messages.log, messages.log.1, messages.log.2, 
> uigestures, uigestures.1
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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] [Assigned] (NETBEANS-892) Refactor -> Move Class into other class breaks multicatches and lambas in destination class

2018-06-04 Thread Reema Taneja (JIRA)


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

Reema Taneja reassigned NETBEANS-892:
-

Assignee: Reema Taneja

> Refactor -> Move Class into other class breaks multicatches and lambas in 
> destination class
> ---
>
> Key: NETBEANS-892
> URL: https://issues.apache.org/jira/browse/NETBEANS-892
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Assignee: Reema Taneja
>Priority: Blocker
> Fix For: 9.0
>
> Attachments: EvilRefactorBug.zip
>
>
> Move the class "MoveMeIn" into the class "MoveTo". Things break. Many, many 
> thing break.



--
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] [Commented] (NETBEANS-330) NetBeans 9.0 UC hosted on Apache infra

2018-06-04 Thread Bertrand Delacretaz (JIRA)


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

Bertrand Delacretaz commented on NETBEANS-330:
--

As a side note: as mentioned on the nb dev list I think anything that tracks 
the user or collects statistics must be opt-in and disabled by default.

> NetBeans 9.0 UC hosted on Apache infra
> --
>
> Key: NETBEANS-330
> URL: https://issues.apache.org/jira/browse/NETBEANS-330
> Project: NetBeans
>  Issue Type: Task
>  Components: website
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Jiří Kovalský
>Priority: Blocker
>  Labels: NETBEANS-9
>
> In order to keep measuring number of NetBeans active users also in the future 
> we need to create an update center similar to 8.2 NetBeans Distribution UC 
> [1] which will be hosted on Apache infrastructure and register it in the 
> NetBeans 9.0 FCS build. We are measuring this statistics since 2004 and 
> stopping it now is not an option hence this is a blocker bug for 9.0 release.
> [1] 
> [http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz]
> (for the uninitiated: UC == Update Center)



--
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 asf-site updated: Automated site publishing by Jenkins build 94

2018-06-04 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 2a5b6d3  Automated site publishing by Jenkins build 94
2a5b6d3 is described below

commit 2a5b6d359094c2859cd870ff092ee8a3f74f40f0
Author: jenkins 
AuthorDate: Mon Jun 4 09:11:39 2018 +

Automated site publishing by Jenkins build 94
---
 content/community/who.html | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/content/community/who.html b/content/community/who.html
index 2542643..2a1ad54 100644
--- a/content/community/who.html
+++ b/content/community/who.html
@@ -1445,13 +1445,19 @@
 
 
 
-Nano Creations / ESOFT Metro Campus, Ekala, Sri Lanka
+Nano Creations, Ekala, Sri Lanka
 
 
 RCP, API, EE, Spring, Angular, TypeScript
 
 
-LinkedIn github
+http://thilina01.com/; class="bare">http://thilina01.com/
+
+
+https://www.linkedin.com/in/thilina-ranathunga-35bb2864/; 
class="bare">https://www.linkedin.com/in/thilina-ranathunga-35bb2864/
+
+
+https://github.com/thilina01; 
class="bare">https://github.com/thilina01
 
 
 

-- 
To stop receiving notification emails like this one, please contact
git-site-r...@apache.org.

-
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 master updated: Updating thilina01 personal information

2018-06-04 Thread vieiro
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new aa793df  Updating thilina01 personal information
aa793df is described below

commit aa793dfa3deaf743e57f743a475b9ea3cdaf032b
Author: Thilina Ranathunga 
AuthorDate: Mon Jun 4 14:40:42 2018 +0530

Updating thilina01 personal information

As per his request.
---
 netbeans.apache.org/src/content/community/who.asciidoc | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/community/who.asciidoc 
b/netbeans.apache.org/src/content/community/who.asciidoc
index f9bf2df..a4a6feb 100644
--- a/netbeans.apache.org/src/content/community/who.asciidoc
+++ b/netbeans.apache.org/src/content/community/who.asciidoc
@@ -474,9 +474,11 @@ Committer
   - Platform, JavaFX, JavaEE, Groovy, Gradle, XML 
 
 === Thilina Ranathunga
-  - Nano Creations / ESOFT Metro Campus, Ekala, Sri Lanka 
+  - Nano Creations, Ekala, Sri Lanka 
   - RCP, API, EE, Spring, Angular, TypeScript 
-  -  LinkedIn github 
+  -  http://thilina01.com/
+  -  https://www.linkedin.com/in/thilina-ranathunga-35bb2864/
+  -  https://github.com/thilina01
 
 === Thomas Kruse
   - apache id: everflux 

-- 
To stop receiving notification emails like this one, please contact
vie...@apache.org.

-
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-912) Debugging exception

2018-06-04 Thread luca campagnaro (JIRA)
luca campagnaro created NETBEANS-912:


 Summary: Debugging exception
 Key: NETBEANS-912
 URL: https://issues.apache.org/jira/browse/NETBEANS-912
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 9.0
Reporter: luca campagnaro
 Fix For: 9.0, Next



 2018-06-04T10:25:39
 1528100739215
 1340
 1001
 78
 
 java.lang.NoSuchMethodException: 
org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(org.netbeans.spi.debugger.jpda.Evaluator$Expression,
 java.lang.String, int, com.sun.source.util.TreePathScanner, 
com.sun.source.util.TreePathScanner, java.lang.Object, boolean, 
java.util.function.Function, 
org.netbeans.spi.debugger.jpda.SourcePathProvider)
 
 java.lang.Class
 getMethod
 2065
 jrt:/java.base/java/lang/Class.class
 
 
 org.netbeans.modules.debugger.jpda.EditorContextBridge
 interpretOrCompileCode
 130
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.expr.TreeEvaluator
 evaluate
 207
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.JavaEvaluator
 evaluateIn
 170
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.JavaEvaluator
 evaluate
 118
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.expr.EvaluatorExpression
 evaluate
 76
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
 evaluateGeneric
 979
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
 evaluate
 373
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.JPDADebuggerImpl
 evaluate
 337
 ${user.dir}modules/org-netbeans-modules-debugger-jpda.jar
 
 
 org.netbeans.modules.debugger.jpda.projectsui.ToolTipAnnotation
 run
 262
 
${netBeansDir}modules/org-netbeans-modules-debugger-jpda-projectsui.jar
 
 
 org.openide.util.RequestProcessor$Task
 run
 1418
 ${netbeans.home}lib/org-openide-util.jar
 
 
 org.netbeans.modules.openide.util.GlobalLookup
 execute
 45
 ${netbeans.home}lib/org-openide-util-lookup.jar
 
 
 org.openide.util.lookup.Lookups
 executeWith
 278
 ${netbeans.home}lib/org-openide-util-lookup.jar
 
 
 org.openide.util.RequestProcessor$Processor
 run
 2033
 ${netbeans.home}lib/org-openide-util.jar
 
 


 2018-06-04T10:25:42
 1528100742355
 1366
 800
 188
 INDEXING_STARTED
 INDEXING_STARTED
 org.netbeans.modules.parsing.impl.indexing.Bundle
 7251


 2018-06-04T10:25:42
 1528100742355
 1367
 800
 188
 INDEXING_FINISHED
 INDEXING_FINISHED
 org.netbeans.modules.parsing.impl.indexing.Bundle
 0


 2018-06-04T10:26:20
 1528100780242
 1535
 700
 107
 UI_USER_CONFIGURATION
 UI_USER_CONFIGURATION
 org.netbeans.modules.uihandler.Bundle
 Windows 7, 6.1, amd64
 Java HotSpot(TM) 64-Bit Server VM, 9+181, Java(TM) SE Runtime 
Environment, 9+181
 Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-302-on-20180517)
 freekamel67
 NoSuchMethodException: 
org.netbeans.modules.debugger.jpda.projectsui.EditorContextImpl.interpretOrCompileCode(org.netbeans.spi.debugger.jpda.Evaluator$Expression,
 java.lang.String, int, com.sun.source.util.TreePathScanner, 
com.sun.source.util.TreePathScanner, java.lang.Object, boolean, 
java.util.function.Function, 
org.netbeans.spi.debugger.jpda.SourcePathProvider)
 Please provide a description of the problem or the steps to 
reproduce
 *




--
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] [Commented] (NETBEANS-876) Update release 9.0 branding

2018-06-04 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-876:
-

Ok, but then you mean explicit linux dist, right? Because on Windows, this is 
the path for cache: C:\Users\UserName\AppData\Local\NetBeans\Cache\8.2 and this 
is the folder for the other stuff: 
C:\Users\UserName\AppData\Roaming\NetBeans\8.2 or 
C:\Users\UserName\AppData\Roaming\NetBeans\Derby

I would like to prefer .netbeans on windows too, it is more common these days. 
A lot of application does this in the following folder 
C:\Users\UserName\.whatever (VSCode, JetBrains Collection, VMware, Docker, 
gradle). Then you don't have the struggle, that you have 2 different folders in 
2 different places to find the cache and the configuration etc. Only my 
opinion. We should make it the same on all platforms. If possible.

> Update release 9.0 branding
> ---
>
> Key: NETBEANS-876
> URL: https://issues.apache.org/jira/browse/NETBEANS-876
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Priority: Blocker
>
> In order to build Apache NetBeans IDE 9.0 release candidate we need to update:
>  # name to *Apache NetBeans IDE 9.0*
>  # URLs to update centers from _{color:#f79232}updates.netbeans.org{color}_ 
> to {color:#f79232}_netbeans.apache.org_{color}
>  # splash screen
>  # user and cache directories to _{color:#f79232}.netbeans/9.0{color}_ and 
> _{color:#f79232}.cache/netbeans/9.0{color}_
>  # Remove assertions {{-J-ea}} from the {{netbeans.conf}}



--
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] [Commented] (NETBEANS-887) IDE freezes during runtime

2018-06-04 Thread Olimpia Popica (JIRA)


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

Olimpia Popica commented on NETBEANS-887:
-

I have tried to connect JConsole to the Netbeans process, but unfortunately did 
not manage to do it.

With other applications it works, but with Netbeans I always get: 
{panel}
Exception in thread "VMPanel.connect" java.lang.InternalError: Remote thread 
failed for unknown reason
 at sun.tools.attach.WindowsVirtualMachine.enqueue(Native Method)
 at 
sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:96)
 at 
sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
 at 
sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:243)
 at 
sun.tools.attach.HotSpotVirtualMachine.startLocalManagementAgent(HotSpotVirtualMachine.java:204)
 at 
sun.tools.jconsole.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:239)
 at 
sun.tools.jconsole.LocalVirtualMachine.startManagementAgent(LocalVirtualMachine.java:98)
 at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:333)
 at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:313)
 at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:294)
{panel}

> IDE freezes during runtime
> --
>
> Key: NETBEANS-887
> URL: https://issues.apache.org/jira/browse/NETBEANS-887
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 8.2
>Reporter: Olimpia Popica
>Priority: Major
>  Labels: usability, windows
> Attachments: messages.log, messages.log.1, messages.log.2, 
> uigestures, uigestures.1
>
>
> Some weeks ago I installed Netbeans 8.2 on a Windows 10 computer.
> As soon as I opened the IDE and I tried to open an existing project, it froze 
> completely. The only way I could stop it was by killing its process.
> The freezing happens very often, mostly during run-time, while writing code 
> (in this case, the not saved code is lost), but also when trying to create a 
> new project (File -> New Project). 
>  
> *System Info:*
>  Product Version = NetBeans IDE 8.2 (Build 201609300101) (#5fd841261bf9)
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_171; Java HotSpot(TM) 64-Bit Server VM 25.171-b11; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_171-b11
>  Java Home = C:\Program Files\Java\jdk1.8.0_171\jre
>  System Locale; Encoding = en_US (nb); Cp1252
>  Current Directory = C:\Program Files\NetBeans 8.2
>  User Directory = \AppData\Roaming\NetBeans\8.2
>  Cache Directory = \AppData\Local\NetBeans\Cache\8.2



--
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-911) generated-layer.xml not rebuilt after annotation changes

2018-06-04 Thread Peter Nabbefeld (JIRA)
Peter Nabbefeld created NETBEANS-911:


 Summary: generated-layer.xml not rebuilt after annotation changes
 Key: NETBEANS-911
 URL: https://issues.apache.org/jira/browse/NETBEANS-911
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Peter Nabbefeld


I've created a module for a new file type, containing a package-info.java file 
with a @TemplateRegistration annotation.

When I change the parameters of this annotation, the generated-layer.xml isn't 
rebuilt, thus changes are ignored.

When I change some target directories (I don't want to do a clean build because 
I don't want to remove userdir), I sometimes get Exceptions when I try running 
after rebuilding, so removing is not really a good workaround. As it doesn't 
happen always, I had to investigate, when this happens, but it's also useless, 
if this bug gets fixed.



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