[jira] [Commented] (NETBEANS-565) Missing Css3.g file from donation

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-565:


3rd donation has been completed by Oracle and this patch is included.

> Missing Css3.g file from donation
> -
>
> Key: NETBEANS-565
> URL: https://issues.apache.org/jira/browse/NETBEANS-565
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Editor
>Affects Versions: 9.0
>Reporter: Matthias Bläsing
>Assignee: Geertjan Wielenga
>Priority: Major
> Attachments: nb_css_parser.patch
>
>
> While investigating a potential CSS parser error I saw while working with NB9
>  and noticed, that one of the most important files is missing:
> css.lib/src/org/netbeans/modules/css/lib/Css3.g
> that file holds an antlr3 grammer for CSS 3. That file was not donated
>  and I think the reason is, that the header contains a different
>  copyright:
> {noformat}
>  // Author  : Jim Idle, Temporal Wave LLC.
>  // Contact : j...@temporal-wave.com
>  // Website : http://www.temporal-wave.com
>  // License : ANTLR Free BSD License
> {noformat}
> My investigation showed, that the file is based on:
> [https://github.com/antlr/grammars-v3/blob/master/css21/css21.g]
>  or
>  [https://github.com/antlr/grammars-v3/raw/master/css21/css21.g]
> the headers and big chunks of the first checkin of Css3.g match.
> I see that oracle might feel uncomfortable/prohibited donating the
>  whole file, but what could be donated is a diff between the original
>  file from the antlr repository and the current state in netbeans.
> In technical term I suggest, that the patch against the base file is
>  donated:
> {noformat}
> # Get basefile
> wget https://github.com/antlr/grammars-v3/raw/master/css21/css21.g
> # Get netbeans state
> wget 
> http://hg.netbeans.org/releases/raw-file/tip/css.lib/src/org/netbeans/modules/css/lib/Css3.g
> # Create patch
> diff -u css21.g Css3.g > nb_css_parser.patch
> {noformat}
> That diff than only contains changes done by netbeans committers and this is
>  either covered by the normal Oracle copyright (employees working on
>  netbeans) or the OCLA.
> Maybe it helps, that there are only three authors listed in the history 
> (taken from the releases repository):
>  * Marek Fukala 
>  * Milutin Kristofic 
>  * Ondrej Brejla 
> As requested by mail I created this issue to track the donation. I attached 
> the diff/patch described above to this issue. I did not touch the file after 
> creating the diff, as the license headers can be adjusted if/when oracle 
> agrees to donate the contents (I'm willing to do the integration).



--
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-1419) AssertionError when edit JDK

2018-10-30 Thread ASF GitHub Bot (JIRA)


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

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

> AssertionError when edit JDK
> 
>
> Key: NETBEANS-1419
> URL: https://issues.apache.org/jira/browse/NETBEANS-1419
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 880, Java 11.0.1
>Reporter: Michal Rama
>Assignee: Sarvesh Kesharwani
>Priority: Blocker
>  Labels: JDK, pull-request-available
>
> Hello,
> When I right-click on jdk (any version) and choose edit, it will throw an 
> error.
> *A org.openide.util.RequestProcessor$SlowItem exception has occurred.*
> Clicking Show Details will appear
> {code:java}
> java.lang.AssertionError
>  at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:78)
>  at 
> org.openide.awt.HtmlRendererImpl.getTreeCellRendererComponent(HtmlRendererImpl.java:122)
>  at 
> org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:131)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:3155)
>  at 
> java.desktop/javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:493)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1344)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:903)
>  at 
> java.desktop/javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:371)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:465)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3816)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
>  at 
> java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
>  at java.desktop/java.awt.Component.firePropertyChange(Component.java:8728)
>  at java.desktop/javax.swing.JTree.setCellRenderer(JTree.java:775)
>  at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:281)
>  at org.openide.explorer.view.TreeView.(TreeView.java:213)
>  at org.openide.explorer.view.TreeView.(TreeView.java:203)
>  at org.openide.explorer.view.BeanTreeView.(BeanTreeView.java:73)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer$PlatformsView.(PlatformsCustomizer.java:527)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer.initComponents(PlatformsCustomizer.java:153)
>  at 
> org.netbeans.modules.java.platform.ui.PlatformsCustomizer.(PlatformsCustomizer.java:94)
>  at 
> org.netbeans.api.java.platform.PlatformsCustomizer.showCustomizer(PlatformsCustomizer.java:41)
>  at 
> org.netbeans.modules.java.api.common.project.ui.PlatformNode$PlatformEditable.edit(PlatformNode.java:292)
>  at 
> org.netbeans.modules.java.api.common.project.ui.EditRootAction.performAction(EditRootAction.java:41)
>  at 
> org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:561)
>  at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>  at 
> org.openide.util.actions.ActionInvoker$ActionRunnable.actionPerformed(ActionInvoker.java:137)
>  at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:84)
>  at 
> org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:35)
>  at 
> org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:128)
>  at org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:85)
>  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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>  at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>  at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:89)
>  at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>  at 
> org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:558)
>  at 
> java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
>  at 
> 

[jira] [Commented] (NETBEANS-1404) Exception installing nb-javac

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1404:
-

Probably a network error of some kind, you should not need the Notifications 
window, i.e., this should be prompted when creating a new Java-related 
application for the first time. This should be verified in 10vc2, please verify 
(once 10vc2 is release, during the next few days) and then provide exact step 
by step instructions to reproduce.

> Exception installing nb-javac
> -
>
> Key: NETBEANS-1404
> URL: https://issues.apache.org/jira/browse/NETBEANS-1404
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
>
> I get this exception clicking on "Install nb-javac" in the notification window
> {noformat}
> org.netbeans.api.autoupdate.OperationException[INSTALL]: could not add 
> nbjavac Library[org.netbeans.modules.nbjavac/1.4] to updates
>   at 
> org.netbeans.modules.autoupdate.ui.ModuleInstallerSupport.installPlugins(ModuleInstallerSupport.java:232)
> [catch] at 
> org.netbeans.modules.autoupdate.ui.api.PluginManager.installSingle(PluginManager.java:152)
>   at 
> org.netbeans.modules.java.source.JBrowseModule.lambda$null$1(JBrowseModule.java:96)
>   at 
> java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
>   at 
> java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
>   at 
> java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
>   at 
> java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6589)
>   at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6354)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2261)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
>   at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
>   at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {noformat}



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


[jira] [Commented] (NETBEANS-1401) Run into jdk method not working

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1401:
-

Well, let's wait until you can try this with the official Open JDK 11 package.

> Run into jdk method not working
> ---
>
> Key: NETBEANS-1401
> URL: https://issues.apache.org/jira/browse/NETBEANS-1401
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0
> Environment: Ubuntu 18.04
>Reporter: Aldo Brucale
>Priority: Major
>
> I'm running [this test 
> case|http://netbeans-vm.apache.org/synergy/client/app/#/case/980/suite/1635/v/1]
>  on Ubuntu 18.04 with openjdk 11 and the debugger does not enter the jdk 
> sources.
> I have installed the jdk and sources from this ppa 
> [https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa] because the official 
> openjdk-11-jdk package still installs Java 10.



--
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-1383) AssertionError

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1383:
-

Probably this should be fixed in 10vc2, please try there, once we have 10vc2, 
e.g., https://github.com/apache/incubator-netbeans/pull/995

> AssertionError
> --
>
> Key: NETBEANS-1383
> URL: https://issues.apache.org/jira/browse/NETBEANS-1383
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Attachments: messages.log
>
>
> Steps to reproduce:
>  * open the dependencies node of a maven project
>  * select "View Artifact Details" for a dependency jar
>  * "Create Library"
> The library is correctly created, but I get this assertion error:
> {{SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.maven.actions.CreateLibraryAction$1}}
> {{java.lang.AssertionError}}
> {{ at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:78)}}
> Same result with Java 10 and 11.



--
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-1448) NPE opening a java source file

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1448:
-

Can you provide more details? Does this happen all the time? Please try with 
10vc2, once we have it.

> NPE opening a java source file
> --
>
> Key: NETBEANS-1448
> URL: https://issues.apache.org/jira/browse/NETBEANS-1448
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Attachments: messages.log
>
>
> I got this exception:
> {noformat}
> java.lang.NullPointerException
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHash(Check.java:2095)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Check.checkClassOverrideEqualsAndHashIfNeeded(Check.java:2085)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4577)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4503)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:951)
>   at 
> org.netbeans.lib.nbjavac.services.NBAttr.visitClassDef(NBAttr.java:61)
>   at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:774)
>   at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
>   at jdk.compiler/com.sun.tools.javac.comp.Attr.attribStat(Attr.java:724)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Attr.visitAnonymousClassDefinition(Attr.java:2397)
>   at 
> jdk.compiler/com.sun.tools.javac.comp.Attr.visitNewClass(Attr.java:2288)
>   at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1689)
>   at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:655)
>   at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:695)
>   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)
> [catch] 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)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}



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

[jira] [Commented] (NETBEANS-1346) NPE at first run

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1346:
-

Possibly using a fresh user directory should resolve this, not sure, you 
managed to get it working afterwards, how?

> NPE at first run
> 
>
> Key: NETBEANS-1346
> URL: https://issues.apache.org/jira/browse/NETBEANS-1346
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Fix For: 10.0
>
> Attachments: messages.log
>
>
> See the attached logfile



--
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-1381) AssertionError right-clicking on a node

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1381:
-

Looks like something to do with not being able to resolve nb-javac-api.jar, 
related to not installing nb-javac-api.jar, I suspect. Please try again with a 
fresh user directory in 10vc2.

> AssertionError right-clicking on a node
> ---
>
> Key: NETBEANS-1381
> URL: https://issues.apache.org/jira/browse/NETBEANS-1381
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Aldo Brucale
>Priority: Major
> Attachments: messages.log
>
>
> After creating a Netbeans Module project, in the Files tab I have navigated 
> and expanded the generated jar node under build/cluster/modules. The 
> exception was thrown when I right-clicked the META-INF folder node.



--
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-1384) NPE with keyboard shortcut

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1384:
-

Please try this again with a fresh user directory in 10vc2, once we have it.

> NPE with keyboard shortcut
> --
>
> Key: NETBEANS-1384
> URL: https://issues.apache.org/jira/browse/NETBEANS-1384
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Attachments: messages.log
>
>
> Hitting ctrl+alt+shift+C in an editor window:
>  
> {noformat}
> java.lang.NullPointerException
>   at 
> org.netbeans.core.multiview.TabsComponent.peerClearSplit(TabsComponent.java:191)
>   at 
> org.netbeans.core.multiview.MultiViewPeer.peerClearSplit(MultiViewPeer.java:389)
>   at 
> org.netbeans.core.multiview.MultiViewCloneableTopComponent.clearSplit(MultiViewCloneableTopComponent.java:227)
>   at 
> org.netbeans.core.multiview.SplitAction.clearSplit(SplitAction.java:215)
>   at 
> org.netbeans.core.multiview.ClearSplitAction.actionPerformed(ClearSplitAction.java:59)
>   at 
> org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:174)
>   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
>   at 
> org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
>   at 
> org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
>   at 
> org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:177)
>   at 
> org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151)
>   at 
> java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6366)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2261)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1140)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1010)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:836)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4847)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> 

[jira] [Commented] (NETBEANS-1359) Profiling the IDE hangs when saving snapshot

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1359:
-

Sven, can you verify this? 11.0.2 does not seem to be available yet and which 
specific ea of JDK 12 should this now be working correctly in?

> Profiling the IDE hangs when saving snapshot
> 
>
> Key: NETBEANS-1359
> URL: https://issues.apache.org/jira/browse/NETBEANS-1359
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 10.0
>Reporter: Glenn Holmer
>Assignee: Glenn Holmer
>Priority: Blocker
>  Labels: netcat
> Attachments: stacktrace.txt
>
>
> 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling 
> the IDE.
> 2) Open some projects, files within them, etc. to create some activity for 
> the profiler.
> 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a 
> Snapshot").
> This last action should create and open a profiler snapshot, but the "Saving 
> snapshot" progress bar in the status area of NetBeans never goes anywhere and 
> a snapshot is not opened.
>  



--
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-1346) NPE at first run

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1346:
-

I see. That's a lot of additional useful info. Would be great to try this again 
in 10vc2.

> NPE at first run
> 
>
> Key: NETBEANS-1346
> URL: https://issues.apache.org/jira/browse/NETBEANS-1346
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Fix For: 10.0
>
> Attachments: messages.log
>
>
> See the attached logfile



--
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-mavenutils] 01/01: Merge pull request #2 from ebarboni/branding

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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

commit 64c16dad094e5a7f5a06fcdd76500e35d430443b
Merge: 3b08a59 70b20e1
Author: Eric Barboni 
AuthorDate: Tue Oct 30 11:16:34 2018 +0100

Merge pull request #2 from ebarboni/branding

Update Branding and package to fit apache

 README.md  |   9 ++
 archetype/nbm-archetype/pom.xml|  20 ++--
 archetype/nbm-suite-root/pom.xml   |  20 ++--
 archetype/netbeans-platform-app-archetype/pom.xml  |  20 ++--
 nb-repository-plugin/pom.xml   |  49 +++-
 .../nbm/repository/DownloadIndexMojo.java  |   2 +-
 .../nbm/repository/PopulateRepositoryMojo.java |   6 +-
 nb-repository-plugin/src/site/apt/index.apt|   2 +-
 nb-repository-plugin/src/site/apt/repository.apt   |   2 +-
 .../nbm/repository/PopulateRepositoryMojoTest.java |   3 +-
 nbm-maven-harness/pom.xml  |  23 ++--
 nbm-maven-plugin/pom.xml   |  64 +++
 .../mojo => netbeans}/nbm/AbstractNbmMojo.java |  15 ++-
 .../mojo => netbeans}/nbm/AdaptNbVersion.java  |   2 +-
 .../mojo => netbeans}/nbm/BrandingMojo.java|   2 +-
 .../mojo => netbeans}/nbm/BuildInstallersMojo.java |   2 +-
 .../nbm/CollectLibrariesNodeVisitor.java   |   4 +-
 .../nbm/CollectModuleLibrariesNodeVisitor.java |   4 +-
 .../nbm/CreateClusterAppMojo.java  |   4 +-
 .../mojo => netbeans}/nbm/CreateClusterMojo.java   |   4 +-
 .../mojo => netbeans}/nbm/CreateNbmMojo.java   |   2 +-
 .../nbm/CreateNetBeansFileStructure.java   |   8 +-
 .../nbm/CreateStandaloneMojo.java  |   2 +-
 .../nbm/CreateUpdateSiteMojo.java  |   2 +-
 .../nbm/CreateWebstartAppMojo.java |   2 +-
 .../nbm/NetBeansManifestUpdateMojo.java|   8 +-
 .../mojo => netbeans}/nbm/RunNetBeansMojo.java |   2 +-
 .../mojo => netbeans}/nbm/RunPlatformAppMojo.java  |   2 +-
 nbm-maven-plugin/src/main/mdo/descriptor.mdo   |   2 +-
 .../main/resources/META-INF/plexus/components.xml  |   8 +-
 .../mojo => netbeans}/nbm/AbstractNbmMojoTest.java |   9 +-
 .../mojo => netbeans}/nbm/BrandingMojoTest.java|   3 +-
 .../nbm/CreateClusterAppMojoTest.java  |   7 +-
 .../nbm/CreateNetBeansFileStructureTest.java   |   3 +-
 .../nbm/NetBeansManifestUpdateMojoTest.java|   3 +-
 nbm-shared/pom.xml |  49 +++-
 .../nbm/utils/AbstractNetbeansMojo.java|   2 +-
 .../nbm/utils/ExamineManifest.java |   2 +-
 .../nbm/utils/ExamineManifestTest.java |   3 +-
 parent/pom.xml | 128 +
 40 files changed, 306 insertions(+), 198 deletions(-)


-
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-mavenutils] branch master updated (3b08a59 -> 64c16da)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


from 3b08a59  Merge pull request #1 from eirikbakke/fixJDK9detection
 add cb41672  parent pom
 add 5dbf318  use parent pom, update dependencies and plugin
 add 0d10a39  rename package to start with org.apache.netbeans
 add 0be64e3  update package
 add af855d5  fix date
 add 09d575d  update archetype to use parent
 add 8d50f3b  component xml file update du to groupid changes
 add 5e9692a  add issues and ml info to readme
 add 5f430e9  typo
 add 70b20e1  repackage using org.netbeans.nbm
 new 64c16da  Merge pull request #2 from ebarboni/branding

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:
 README.md  |   9 ++
 archetype/nbm-archetype/pom.xml|  20 ++--
 archetype/nbm-suite-root/pom.xml   |  20 ++--
 archetype/netbeans-platform-app-archetype/pom.xml  |  20 ++--
 nb-repository-plugin/pom.xml   |  49 +++-
 .../nbm/repository/DownloadIndexMojo.java  |   2 +-
 .../nbm/repository/PopulateRepositoryMojo.java |   6 +-
 nb-repository-plugin/src/site/apt/index.apt|   2 +-
 nb-repository-plugin/src/site/apt/repository.apt   |   2 +-
 .../nbm/repository/PopulateRepositoryMojoTest.java |   3 +-
 nbm-maven-harness/pom.xml  |  23 ++--
 nbm-maven-plugin/pom.xml   |  64 +++
 .../mojo => netbeans}/nbm/AbstractNbmMojo.java |  15 ++-
 .../mojo => netbeans}/nbm/AdaptNbVersion.java  |   2 +-
 .../mojo => netbeans}/nbm/BrandingMojo.java|   2 +-
 .../mojo => netbeans}/nbm/BuildInstallersMojo.java |   2 +-
 .../nbm/CollectLibrariesNodeVisitor.java   |   4 +-
 .../nbm/CollectModuleLibrariesNodeVisitor.java |   4 +-
 .../nbm/CreateClusterAppMojo.java  |   4 +-
 .../mojo => netbeans}/nbm/CreateClusterMojo.java   |   4 +-
 .../mojo => netbeans}/nbm/CreateNbmMojo.java   |   2 +-
 .../nbm/CreateNetBeansFileStructure.java   |   8 +-
 .../nbm/CreateStandaloneMojo.java  |   2 +-
 .../nbm/CreateUpdateSiteMojo.java  |   2 +-
 .../nbm/CreateWebstartAppMojo.java |   2 +-
 .../nbm/NetBeansManifestUpdateMojo.java|   8 +-
 .../mojo => netbeans}/nbm/RunNetBeansMojo.java |   2 +-
 .../mojo => netbeans}/nbm/RunPlatformAppMojo.java  |   2 +-
 nbm-maven-plugin/src/main/mdo/descriptor.mdo   |   2 +-
 .../main/resources/META-INF/plexus/components.xml  |   8 +-
 .../mojo => netbeans}/nbm/AbstractNbmMojoTest.java |   9 +-
 .../mojo => netbeans}/nbm/BrandingMojoTest.java|   3 +-
 .../nbm/CreateClusterAppMojoTest.java  |   7 +-
 .../nbm/CreateNetBeansFileStructureTest.java   |   3 +-
 .../nbm/NetBeansManifestUpdateMojoTest.java|   3 +-
 nbm-shared/pom.xml |  49 +++-
 .../nbm/utils/AbstractNetbeansMojo.java|   2 +-
 .../nbm/utils/ExamineManifest.java |   2 +-
 .../nbm/utils/ExamineManifestTest.java |   3 +-
 parent/pom.xml | 128 +
 40 files changed, 306 insertions(+), 198 deletions(-)
 rename nb-repository-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/repository/DownloadIndexMojo.java (99%)
 rename nb-repository-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/repository/PopulateRepositoryMojo.java (99%)
 rename nb-repository-plugin/src/test/java/org/{codehaus/mojo => 
netbeans}/nbm/repository/PopulateRepositoryMojoTest.java (97%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/AbstractNbmMojo.java (98%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/AdaptNbVersion.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/BrandingMojo.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/BuildInstallersMojo.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/CollectLibrariesNodeVisitor.java (98%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/CollectModuleLibrariesNodeVisitor.java (98%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/CreateClusterAppMojo.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/CreateClusterMojo.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 
netbeans}/nbm/CreateNbmMojo.java (99%)
 rename nbm-maven-plugin/src/main/java/org/{codehaus/mojo => 

[jira] [Commented] (NETBEANS-1577) Assertion Error in Java autocompletion

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1577:
-

This should be fixed in 10vc2, please verify (once 10vc2 is release, during the 
next few days) and then provide exact step by step instructions to reproduce.

> Assertion Error in Java autocompletion
> --
>
> Key: NETBEANS-1577
> URL: https://issues.apache.org/jira/browse/NETBEANS-1577
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 10.0
> Environment: Netbeans 10.0-vc1
>Reporter: Aldo Brucale
>Priority: Major
> Attachments: messages.log
>
>
> Often when I hit ctrl-space I get this exception:
> {noformat}
> 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.Attr.visitVarDef(Attr.java:1173)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:962)
>   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.visitForeachLoop(Attr.java:1402)
>   at 
> com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1166)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:660)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:736)
>   at 
> org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:651)
>   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.computeSuggestions(HintsInvoker.java:450)
>   at 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:221)
>   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)
> {noformat}
> When the exception appears, subsequent attempts fail with the same exception.



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

[jira] [Commented] (NETBEANS-1426) AssertionError in "Introduce method" refactoring

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1426:
-

This should be fixed in 10vc2, please verify (once 10vc2 is release, during the 
next few days) and then provide exact step by step instructions to reproduce.

> AssertionError in "Introduce method" refactoring
> 
>
> Key: NETBEANS-1426
> URL: https://issues.apache.org/jira/browse/NETBEANS-1426
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
>
> I get this exteption invoking the "Introduce method" refactoring from the 
> light bulb icon in the editor:
> {noformat}
> java.lang.AssertionError
>   at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:78)
>   at 
> org.openide.awt.HtmlRendererImpl.getListCellRendererComponent(HtmlRendererImpl.java:140)
>   at 
> org.netbeans.modules.java.hints.introduce.CommonMembersPanel$TargetsRendererImpl.getListCellRendererComponent(CommonMembersPanel.java:95)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1439)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1389)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2784)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:219)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:199)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:246)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:443)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:453)
>   at 
> java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:497)
>   at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:1234)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicComboPopup.access$300(BasicComboPopup.java:66)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(BasicComboPopup.java:1058)
>   at 
> java.desktop/javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1227)
>   at 
> java.desktop/javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1288)
>   at 
> java.desktop/javax.swing.JComboBox.contentsChanged(JComboBox.java:1335)
>   at 
> java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123)
>   at 
> java.desktop/javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:94)
>   at 
> java.desktop/javax.swing.JComboBox.setSelectedItem(JComboBox.java:579)
>   at 
> java.desktop/javax.swing.JComboBox.setSelectedIndex(JComboBox.java:624)
>   at 
> org.netbeans.modules.java.hints.introduce.CommonMembersPanel.updateTargetsModel(CommonMembersPanel.java:75)
>   at 
> org.netbeans.modules.java.hints.introduce.CommonMembersPanel.initialize(CommonMembersPanel.java:58)
>   at 
> org.netbeans.modules.java.hints.introduce.IntroduceMethodPanel.(IntroduceMethodPanel.java:115)
>   at 
> org.netbeans.modules.java.hints.introduce.IntroduceExpressionBasedMethodFix.implement(IntroduceExpressionBasedMethodFix.java:178)
>   at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:810)
>   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)
> Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
>   at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
>   at 
> org.netbeans.modules.editor.hints.HintsUI.invokeHint(HintsUI.java:807)
>   at 
> org.netbeans.modules.editor.hints.HintsUI.keyPressed(HintsUI.java:733)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6547)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6366)
>   at 

[jira] [Commented] (NETBEANS-1576) PHP autocompletion partially broken

2018-10-30 Thread Kevin Andrews (JIRA)


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

Kevin Andrews commented on NETBEANS-1576:
-

Additional information which may help track when this regression started:

I've opened a previous build which works fine:

netbeans-20181014

And opened all subsequent builds in which this functionality has stopped 
working:

netbeans-20181022
netbeans-20181029

Hopefully this helps :) 

> PHP autocompletion partially broken
> ---
>
> Key: NETBEANS-1576
> URL: https://issues.apache.org/jira/browse/NETBEANS-1576
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
>Reporter: Nameless
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion, php
> Attachments: PhpAutocompletionProblems.zip, 
> autocompletion_problem_screencast.mp4
>
>
> It seems that autocompletion partially broken for PHP project.
> In project's properties PHP version 7.2 selected for my example.
> Here is [screencast|https://streamable.com/auldi] (attached also). 
> Screencast was made with NB v10#890, but I'm getting the same troubles with 
> Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are 
> specified.
> Textual description (in comments):
> {code:php}
>  namespace Repo;
> 
> use Entity\EntityClass;
> 
> /**
>  * @method EntityClass[] getAll() 
>  */
> class RepoClass
> {
> /**
>  * 
>  * @param array $params
>  * @return EntityClass
>  */
> public function findOrCreate(array $params): EntityClass
> {
> return new EntityClass();
> }
> }
> {code}
> {code:php}
>  
> namespace App;
> 
> class App
> {
> public function exec()
> {
> $repo = $magick->getRepo();
> /* @var $repo \Repo\RepoClass */
> $obj = $repo->findOrCreate($params);
> // for now all goes fine, ctrl+space after `->` shows methods 
> // `getAll()` and  `findOrCreate(array $params)`
> $obj-> // but no autocompletion here :(
> }
> 
> }
> {code}
> {panel:title=Versions}
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
> {panel}



--
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-1579) Maven deployment of application fail on jdk 11

2018-10-30 Thread Eric Barboni (JIRA)
Eric Barboni created NETBEANS-1579:
--

 Summary: Maven deployment of application fail on jdk 11 
 Key: NETBEANS-1579
 URL: https://issues.apache.org/jira/browse/NETBEANS-1579
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Maven
Reporter: Eric Barboni


This is jdk issue.

Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:4.1:build-installers 
(extra) on project nbapp2-app: 
Installers creation failed: 
C:\Users\barboni\Documents\NetBeansProjects\nbapp2\application\target\installer\nbi\stub\template.xml:145:
 Error starting Sun's native2ascii: : sun.tools.native2ascii.Main -> [Help 1]





--
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-1346) NPE at first run

2018-10-30 Thread Aldo Brucale (JIRA)


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

Aldo Brucale commented on NETBEANS-1346:


Yes, of course: the exception is only raised when Netbeans imports the 8.2 
version settings. Actually, I believe it happens _after_ the settings have been 
imported, when the existing project group are opened and netbeans performs an 
indexing of the jar files in my projects. 

> NPE at first run
> 
>
> Key: NETBEANS-1346
> URL: https://issues.apache.org/jira/browse/NETBEANS-1346
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Fix For: 10.0
>
> Attachments: messages.log
>
>
> See the attached logfile



--
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-1576) PHP autocompletion partially broken

2018-10-30 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-1576:


[~CaffeineAddict]
I'm not sure if your problem is the same as above example. 
Could you provide a simple sample project to reproduce your problem like this 
issue?
If your issue is not the same as this, please submit it as a new issue. 
Thanks.

> PHP autocompletion partially broken
> ---
>
> Key: NETBEANS-1576
> URL: https://issues.apache.org/jira/browse/NETBEANS-1576
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
>Reporter: Nameless
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion, php
> Attachments: PhpAutocompletionProblems.zip, 
> autocompletion_problem_screencast.mp4
>
>
> It seems that autocompletion partially broken for PHP project.
> In project's properties PHP version 7.2 selected for my example.
> Here is [screencast|https://streamable.com/auldi] (attached also). 
> Screencast was made with NB v10#890, but I'm getting the same troubles with 
> Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are 
> specified.
> Textual description (in comments):
> {code:php}
>  namespace Repo;
> 
> use Entity\EntityClass;
> 
> /**
>  * @method EntityClass[] getAll() 
>  */
> class RepoClass
> {
> /**
>  * 
>  * @param array $params
>  * @return EntityClass
>  */
> public function findOrCreate(array $params): EntityClass
> {
> return new EntityClass();
> }
> }
> {code}
> {code:php}
>  
> namespace App;
> 
> class App
> {
> public function exec()
> {
> $repo = $magick->getRepo();
> /* @var $repo \Repo\RepoClass */
> $obj = $repo->findOrCreate($params);
> // for now all goes fine, ctrl+space after `->` shows methods 
> // `getAll()` and  `findOrCreate(array $params)`
> $obj-> // but no autocompletion here :(
> }
> 
> }
> {code}
> {panel:title=Versions}
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
> {panel}



--
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-1579) Maven deployment of application fail on jdk 11

2018-10-30 Thread Eric Barboni (JIRA)


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

Eric Barboni commented on NETBEANS-1579:


[~palman] you are using windows too?

> Maven deployment of application fail on jdk 11 
> ---
>
> Key: NETBEANS-1579
> URL: https://issues.apache.org/jira/browse/NETBEANS-1579
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Reporter: Eric Barboni
>Priority: Major
>
> This is jdk issue.
> Failed to execute goal 
> org.codehaus.mojo:nbm-maven-plugin:4.1:build-installers (extra) on project 
> nbapp2-app: 
> Installers creation failed: 
> C:\Users\barboni\Documents\NetBeansProjects\nbapp2\application\target\installer\nbi\stub\template.xml:145:
>  Error starting Sun's native2ascii: : sun.tools.native2ascii.Main -> [Help 1]



--
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-1499) Change icon for package.json

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1499:
-
Labels: hek help-requested help-wanted  (was: )

> Change icon for package.json
> 
>
> Key: NETBEANS-1499
> URL: https://issues.apache.org/jira/browse/NETBEANS-1499
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Node.js
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: hek, help-requested, help-wanted
>
> Would like to change the icon to the common npm one: 
> [https://www.google.de/search?q=npm+logo=lnms=isch#imgrc=GfUgGd8Q-n8dgM]
>  Of course a smaller one ;)



--
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-1499) Change icon for package.json

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1499:
--

Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for 
this file type. Don't know how to set the icon for that.



> Change icon for package.json
> 
>
> Key: NETBEANS-1499
> URL: https://issues.apache.org/jira/browse/NETBEANS-1499
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Node.js
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: hek, help-requested, help-wanted
>
> Would like to change the icon to the common npm one: 
> [https://www.google.de/search?q=npm+logo=lnms=isch#imgrc=GfUgGd8Q-n8dgM]
>  Of course a smaller one ;)



--
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-1501) Change icon for gruntfile.js

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1501:
-
Labels: help help-requested help-wanted  (was: )

> Change icon for gruntfile.js
> 
>
> Key: NETBEANS-1501
> URL: https://issues.apache.org/jira/browse/NETBEANS-1501
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Other, platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: help, help-requested, help-wanted
>
> Would like to change the icon to the common grunt one: 
> https://www.google.de/search?tbm=isch=1=P6fNW8GoFtHmsAffiJ-QBw=grunt+logo#imgrc=hTiZymJTepcFNM:



--
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-1501) Change icon for gruntfile.js

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1501:
--

Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for 
this file type. Don't know how to set the icon for that.



> Change icon for gruntfile.js
> 
>
> Key: NETBEANS-1501
> URL: https://issues.apache.org/jira/browse/NETBEANS-1501
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Other, platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: help, help-requested, help-wanted
>
> Would like to change the icon to the common grunt one: 
> https://www.google.de/search?tbm=isch=1=P6fNW8GoFtHmsAffiJ-QBw=grunt+logo#imgrc=hTiZymJTepcFNM:



--
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-1506) Change icon for mimetype text/bower+x-json

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1506:
--

Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for 
this file type. Don't know how to set the icon for that.



> Change icon for mimetype text/bower+x-json
> --
>
> Key: NETBEANS-1506
> URL: https://issues.apache.org/jira/browse/NETBEANS-1506
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: help, help-requested, help-wanted
>
> I would like to change the icon of files with the mimetype text/bower+x-json 
> (mostly bower.json and .bowerrc) with the common bower icon: 
> https://www.google.de/search?q=bower+logo=lnms=isch#imgrc=u2SCB33vROkBZM:



--
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-1502) Change icon for gulpfile.js

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1502:
-
Labels: help help-requested help-wanted  (was: )

> Change icon for gulpfile.js
> ---
>
> Key: NETBEANS-1502
> URL: https://issues.apache.org/jira/browse/NETBEANS-1502
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Other, platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: help, help-requested, help-wanted
>
> Would like to change the icon to the common gulp one: 
> https://www.google.de/search?tbm=isch=1=Pq7NW9qRHcO5kwW85Z-wDA=gulp+logo#imgrc=znyxIxYtAatp2M:



--
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-1502) Change icon for gulpfile.js

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1502:
--

Doesn't seem that easy. Uses an own resolver.xml and it is not a DataObject for 
this file type. Don't know how to set the icon for that.

> Change icon for gulpfile.js
> ---
>
> Key: NETBEANS-1502
> URL: https://issues.apache.org/jira/browse/NETBEANS-1502
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Other, platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>
> Would like to change the icon to the common gulp one: 
> https://www.google.de/search?tbm=isch=1=Pq7NW9qRHcO5kwW85Z-wDA=gulp+logo#imgrc=znyxIxYtAatp2M:



--
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-1506) Change icon for mimetype text/bower+x-json

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz updated NETBEANS-1506:
-
Labels: help help-requested help-wanted  (was: )

> Change icon for mimetype text/bower+x-json
> --
>
> Key: NETBEANS-1506
> URL: https://issues.apache.org/jira/browse/NETBEANS-1506
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: platform - Filesystems
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: help, help-requested, help-wanted
>
> I would like to change the icon of files with the mimetype text/bower+x-json 
> (mostly bower.json and .bowerrc) with the common bower icon: 
> https://www.google.de/search?q=bower+logo=lnms=isch#imgrc=u2SCB33vROkBZM:



--
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-1227) Mark Windows launcher binary as per-monitor DPI aware

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz commented on NETBEANS-1227:
--

Thx [~ebakke] I'm really talking about modules, that I want to run inside 
NetBeans Dev. We are not talking about a normal Java application, which doesn't 
make sense, in this context. It opens NetBeans in small, thats it. I think it 
happens with maven and ant too. Yes it could be, that I run it with JDK 8. 
Comes from the settings of the module, right?

Will check the old trick for the Dev ide again. Thx.

> Mark Windows launcher binary as per-monitor DPI aware
> -
>
> Key: NETBEANS-1227
> URL: https://issues.apache.org/jira/browse/NETBEANS-1227
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 9.0
> Environment: Windows 8.1 and Windows 10
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: 10.0
>
> Attachments: SmallIconsRun.png
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> As of Java 10.0.2, support for HiDPI monitors on Windows is quite good. All 
> the standard Swing components appear in high resolution, and Graphics2D 
> surfaces are automatically scaled appropriately for whichever monitor their 
> containing window is located on, including when windows are dragged between 
> monitors in a mixed-DPI multi-monitor setting.
> For this to work, however, the EXE file that launches NetBeans must contain a 
> manifest that declares the application to be DPI-aware. Such a manifest 
> currently exists in java.exe and javaw.exe, but not in the custom 
> netbeans64.exe launcher. A workaround for the missing manifest is to right 
> click the "bin\netbeans64.exe" file, or whichever shortcut is being used to 
> open NetBeans, go to the "Compatibility" tab, click "Change high DPI 
> settings", "Override high DPI scaling behavior", and select scaling performed 
> by "Application".
> An appropriate manifest should be added to netbeans64.exe to declare NetBeans 
> as per-monitor DPI aware.
> To see how the manifest should be declared, we can dump the manifest of 
> javaw.exe:
>  {code:xml}
> 
>  xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" manifestVersion="1.0">
>   processorArchitecture="X86" type="win32"/>
>  Java(TM) SE process
>  
>  
>   xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings;>
>  true/PM
>  
>  
>  
> 
> {code}
> This reveals that Java 10.0.2 considers itself DPI-aware at the "Per Monitor 
> V1" level (see the Microsoft documentation linked below). The NetBeans 
> launcher binary should declare the same.
> References:
> [https://docs.microsoft.com/en-us/windows/desktop/hidpi/high-dpi-desktop-application-development-on-windows]
> [https://msdn.microsoft.com/en-us/library/windows/desktop/mt846517(v=vs.85).aspx]
> [https://docs.microsoft.com/en-us/windows/desktop/sbscs/application-manifests]
> [https://blogs.msdn.microsoft.com/mithuns/2009/12/16/random-how-to-quickly-view-a-binarys-embedded-manifest]
> [https://docs.microsoft.com/en-us/sysinternals/downloads/sigcheck]
>  



--
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-1498) Change icon for pom.xml file.

2018-10-30 Thread Christian Lenz (JIRA)


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

Christian Lenz resolved NETBEANS-1498.
--
Resolution: Fixed

PR merged into master.

> Change icon for pom.xml file.
> -
>
> Key: NETBEANS-1498
> URL: https://issues.apache.org/jira/browse/NETBEANS-1498
> Project: NetBeans
>  Issue Type: Sub-task
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
> Attachments: image-2018-10-22-11-50-18-135.png
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> I would like to use this icon.  !image-2018-10-22-11-50-18-135.png!



--
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-mavenutils] branch master updated (64c16da -> b11dbee)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


from 64c16da  Merge pull request #2 from ebarboni/branding
 add e5c093b  JenkinsFile script for site generation
 new b11dbee  Merge pull request #4 from ebarboni/sitescript

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:
 Jenkinsfile-site.groovy | 70 +
 1 file changed, 70 insertions(+)
 create mode 100644 Jenkinsfile-site.groovy


-
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-mavenutils] 01/01: Merge pull request #4 from ebarboni/sitescript

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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

commit b11dbee6965be5382ead8c521419776b858dbdaa
Merge: 64c16da e5c093b
Author: Eric Barboni 
AuthorDate: Tue Oct 30 16:03:25 2018 +0100

Merge pull request #4 from ebarboni/sitescript

JenkinsFile script for site generation

 Jenkinsfile-site.groovy | 70 +
 1 file changed, 70 insertions(+)


-
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-1579) Maven deployment of application fail on jdk 11

2018-10-30 Thread Rami Swailem (JIRA)


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

Rami Swailem commented on NETBEANS-1579:


Works fine with nbm-maven-plugin 4.2-SNAPSHOT

https://github.com/mojohaus/nbm-maven-plugin

 

> Maven deployment of application fail on jdk 11 
> ---
>
> Key: NETBEANS-1579
> URL: https://issues.apache.org/jira/browse/NETBEANS-1579
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Reporter: Eric Barboni
>Priority: Major
>
> This is jdk issue.
> Failed to execute goal 
> org.codehaus.mojo:nbm-maven-plugin:4.1:build-installers (extra) on project 
> nbapp2-app: 
> Installers creation failed: 
> C:\Users\barboni\Documents\NetBeansProjects\nbapp2\application\target\installer\nbi\stub\template.xml:145:
>  Error starting Sun's native2ascii: : sun.tools.native2ascii.Main -> [Help 1]



--
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] 01/01: Merge pull request #983 from Chris2011/feature/NETBEANS-1498-change-pom-icon

2018-10-30 Thread chrizzly
This is an automated email from the ASF dual-hosted git repository.

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

commit 1a1d6cdac370bb59546b89578d4422e7e4466ce5
Merge: e0e3318 29298d6
Author: Chrizzly 
AuthorDate: Tue Oct 30 15:41:12 2018 +0100

Merge pull request #983 from Chris2011/feature/NETBEANS-1498-change-pom-icon

NETBEANS-1498 - Added Maven2Icon.gif to change the pom file icon to it.

 .../src/org/netbeans/modules/maven/grammar/Maven2Icon.gif | Bin 0 -> 679 bytes
 .../org/netbeans/modules/maven/grammar/POMDataObject.java |   2 +-
 .../src/org/netbeans/modules/maven/grammar/layer.xml  |   2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)


-
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] branch master updated (e0e3318 -> 1a1d6cd)

2018-10-30 Thread chrizzly
This is an automated email from the ASF dual-hosted git repository.

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


from e0e3318  Update Bundle.properties
 add 29298d6  NETBEANS-1498 - Added Maven2Icon.gif to change the pom file 
icon to it.
 new 1a1d6cd  Merge pull request #983 from 
Chris2011/feature/NETBEANS-1498-change-pom-icon

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:
 .../src/org/netbeans/modules/maven/grammar}/Maven2Icon.gif  | Bin
 .../org/netbeans/modules/maven/grammar/POMDataObject.java   |   2 +-
 .../src/org/netbeans/modules/maven/grammar/layer.xml|   2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 copy java/{maven/src/org/netbeans/modules/maven/resources => 
maven.grammar/src/org/netbeans/modules/maven/grammar}/Maven2Icon.gif (100%)


-
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-mavenutils] branch asf-site created (now b11dbee)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


  at b11dbee  Merge pull request #4 from ebarboni/sitescript

No new revisions were added by this update.


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

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



[incubator-netbeans-mavenutils] branch asf-site deleted (was b11dbee)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


 was b11dbee  Merge pull request #4 from ebarboni/sitescript

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.


-
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-mavenutils] branch asf-site created (now c6319b0)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


  at c6319b0  Add Readme for the branch

This branch includes the following new commits:

 new c6319b0  Add Readme for the branch

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.



-
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-mavenutils] 01/01: Add Readme for the branch

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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

commit c6319b0dee3b1be4b789c632fc4696e3089497b5
Author: Eric Barboni 
AuthorDate: Tue Oct 30 15:55:10 2018 +

Add Readme for the branch
---
 README.md | 23 +++
 1 file changed, 23 insertions(+)

diff --git a/README.md b/README.md
new file mode 100644
index 000..21f8af3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+
+
+Placeholder for website files
+


-
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] annotated tag 10.0-vc2 updated (33c13f7 -> df0aae6)

2018-10-30 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a change to annotated tag 10.0-vc2
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git.


*** WARNING: tag 10.0-vc2 was modified! ***

from 33c13f7  (commit)
  to df0aae6  (tag)
 tagging 33c13f7dc16257bfaa375da52b6ab9e150cfb2b5 (commit)
 replaces 10.0-vc1
  by Laszlo Kishalmi
  on Tue Oct 30 09:21:55 2018 -0700

- Log -
Apache NetBeans 10.0-vc2
---


No new revisions were added by this update.

Summary of changes:


-
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



svn commit: r30535 - in /dev/incubator/netbeans: incubating-netbeans-platform/incubating-10.0-vc2/ incubating-netbeans/incubating-10.0-vc2/

2018-10-30 Thread lkishalmi
Author: lkishalmi
Date: Tue Oct 30 16:11:11 2018
New Revision: 30535

Log:
Apache NetBeans 10.0-vc2

Added:
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip
   (with props)

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.asc

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.sha1

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip
   (with props)

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip.asc

dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip.sha1
dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-bin.zip
   (with props)

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-bin.zip.asc

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-bin.zip.sha1

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-source.zip
   (with props)

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-source.zip.asc

dev/incubator/netbeans/incubating-netbeans/incubating-10.0-vc2/incubating-netbeans-10.0-vc2-source.zip.sha1

Added: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip
==
Binary file - no diff available.

Propchange: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.asc
==
--- 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.asc
 (added)
+++ 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.asc
 Tue Oct 30 16:11:11 2018
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEecjwKnJunvU2RtcSsr+BT6FFyy0FAlvYfiUACgkQsr+BT6FF
+yy3M9BAAkZqToXSOiDJFIJyfyhS3YVj7HmQdSSllcHW70KAzM7kj1xE1SWV9zCMM
+4yoIoaiHcIEzV87k6qibACyH4x7MKhVb0d3a3QplPXsge0DU2W9IAcn7y67DzUZ1
+GIsRGwwF19Z3R6MOLVJjP+5jXXLZMOXPyi29SC3xnoboMltr4BE1i0KvhCVGhy6q
+mbi0Ce4upVHlE+3A/k2EoM8TxyBhRvF5aQ4FRr2QH9654d9qKwAn8gvjP5ielnQL
+UX45fbn6G0Nofk8IrBWncEk0VTCuUVzVAqo4BYMKOZYfb2ShNNpH2dygxmxA5/BS
+EpwM7htVYnDCZaJiuRr9KCrF+mTQ6OLWUYLUXhVMHdF3kldjo4JTEalpGXU/d06P
+2sbXFufWWmk4UNFaeq1zxdYaWFZao34zs0dLF9Vx0/Aehh1j+fASCPjFIM+WiUS+
+68F3lZzqLn+mBCjkLpD3S3brno5qC7VD30rQxRc6zBVZaxO/aQlLozGoBW3yI2TZ
++O+BUuKfDjVdaO3DckcGuQ8IsRG3Uwp3MKnDZK6T+/WVcTb7NB9fm6zameVwQqhO
+eoslnKX5JVFfWnQro9rpEF/VWH+xFK33oj14K3HvkTPv7nngpvp6PhLrYuQNcVGn
+kUWrcggpYvoFeTQKXjq3E4w1IGFM4lsaIHOTAcI/Wtv228Iha+g=
+=c3m4
+-END PGP SIGNATURE-

Added: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.sha1
==
--- 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.sha1
 (added)
+++ 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-bin.zip.sha1
 Tue Oct 30 16:11:11 2018
@@ -0,0 +1 @@
+b8ee1bd6bf07a789e540e42aef8db87b9cbc8f51  
incubating-netbeans-platform-10.0-vc2-bin.zip

Added: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip
==
Binary file - no diff available.

Propchange: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/netbeans/incubating-netbeans-platform/incubating-10.0-vc2/incubating-netbeans-platform-10.0-vc2-source.zip.asc
==
--- 

[incubator-netbeans-mavenutils] 01/01: Merge pull request #5 from ebarboni/sitescript2

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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

commit a9c2a1b33b67558fe047d761d9205bc246cfb4d2
Merge: b11dbee fcc708d
Author: Eric Barboni 
AuthorDate: Tue Oct 30 17:32:22 2018 +0100

Merge pull request #5 from ebarboni/sitescript2

use JDK 1.8 lastest for building site

 Jenkinsfile-site.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-mavenutils] branch master updated (b11dbee -> a9c2a1b)

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


from b11dbee  Merge pull request #4 from ebarboni/sitescript
 add fcc708d  use JDK 1.8 lastest
 new a9c2a1b  Merge pull request #5 from ebarboni/sitescript2

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:
 Jenkinsfile-site.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-
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-mavenutils] branch master updated: missing quote

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new acd1bec  missing quote
acd1bec is described below

commit acd1bec02e0fa9fde553d0bcb4722f2042101d65
Author: Eric Barboni 
AuthorDate: Tue Oct 30 18:00:27 2018 +0100

missing quote
---
 Jenkinsfile-site.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index 4149e6f..5e00b3f 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -60,11 +60,11 @@ pipeline {
 echo 'Adding content...'
 sshagent (credentials: 
['9b041bd0-aea9-4498-a576-9eeb771411dd']) {
 sh 'git add -v .'
-sh 'git commit -v -m "Automated site publishing by 
Jenkins build ${BUILD_NUMBER}'
+sh 'git commit -v -m "Automated site publishing by 
Jenkins build ${BUILD_NUMBER}"'
 sh 'git push -v origin asf-site'
 } 
 }
 }
 }
 }
-}
\ No newline at end of file
+}


-
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-mavenutils] branch master updated: preliminary step for asf-site branch

2018-10-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new cbb0ada  preliminary step for asf-site branch
cbb0ada is described below

commit cbb0ada72aa2aece06a7ac77f0f96bde15506b74
Author: Eric Barboni 
AuthorDate: Tue Oct 30 20:32:45 2018 +0100

preliminary step for asf-site branch
---
 Jenkinsfile-site.groovy | 13 +
 1 file changed, 13 insertions(+)

diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index 5e00b3f..6e1c2b2 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -35,6 +35,19 @@ pipeline {
 checkout([$class: 'GitSCM', branches: [[name: '*/asf-site']], 
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 
'MessageExclusion', excludedMessage: 'Automated site publishing.*'], [$class: 
'RelativeTargetDirectory', relativeTargetDir: 'asf-site-branch']], 
submoduleCfg: [], userRemoteConfigs: [[credentialsId: 
'9b041bd0-aea9-4498-a576-9eeb771411dd', url: 
'https://gitbox.apache.org/repos/asf//incubator-netbeans-mavenutils/']]])
 }
 }
+stage('Prepare Publish Site'){ 
+agent {label 'git-websites'}
+steps {
+dir('asf-site-branch') {
+echo 'Adding content...'
+sshagent (credentials: 
['9b041bd0-aea9-4498-a576-9eeb771411dd']) {
+sh 'git checkout asf-site'
+sh 'git fetch origin asf-site'
+sh 'git pull origin asf-site'
+} 
+}
+}
+}
 stage('Build Site'){ 
 agent {label 'git-websites'}
 steps {


-
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-1581) AssertionError scanning Maven projects

2018-10-30 Thread Sultan Tezadov (JIRA)
Sultan Tezadov created NETBEANS-1581:


 Summary: AssertionError scanning Maven projects
 Key: NETBEANS-1581
 URL: https://issues.apache.org/jira/browse/NETBEANS-1581
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 9.0
Reporter: Sultan Tezadov
 Attachments: IDE log.txt, UI log.txt.zip

When NetBeans scans my open Maven projects it produces a lot of errors like 
this:
{code}
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at 
com.sun.tools.javac.comp.TransTypes.translateArgs(TransTypes.java:211)
at 
com.sun.tools.javac.comp.TransTypes.visitNewClass(TransTypes.java:723)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1695)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
at 
com.sun.tools.javac.comp.TransTypes.translateArgs(TransTypes.java:218)
at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:695)
at 
com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1640)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:655)
at 
com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1458)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at 
com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
at 
com.sun.tools.javac.comp.TransTypes.visitMethodDef(TransTypes.java:539)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at 
com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:139)
at 
com.sun.tools.javac.comp.TransTypes.translateClass(TransTypes.java:971)
at 
com.sun.tools.javac.comp.TransTypes.visitClassDef(TransTypes.java:525)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778)
at 
com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:504)
at 
com.sun.tools.javac.comp.TransTypes.translateTopLevelClass(TransTypes.java:995)
at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653)
at com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1520)
at 
com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:567)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644)
at 
com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:570)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
at 

[jira] [Resolved] (NETBEANS-1197) ClosedByInterruptException in NetBeans classloader

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke resolved NETBEANS-1197.
---
   Resolution: Fixed
Fix Version/s: Next

Marked as fixed as the corresponding pull request was reviewed and merged.

> ClosedByInterruptException in NetBeans classloader
> --
>
> Key: NETBEANS-1197
> URL: https://issues.apache.org/jira/browse/NETBEANS-1197
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Module System
>Affects Versions: 9.0
> Environment: Java: 10.0.2; OpenJDK 64-Bit Server VM 10.0.2+13, 
> Runtime: OpenJDK Runtime Environment 10.0.2+13, System: Windows 10 version 
> 10.0 running on amd64; Cp1252; en_US
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: pull-request-available
> Fix For: Next
>
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> I have just updated my NetBeans Platform application to use NetBeans 9.0-vc3. 
> There seems to be a new problem with NetBeans' JarClassLoader, whereby an 
> exception dialog pops up if a thread happens to be interrupted while the 
> classloader is loading a new class. The stack trace is as follows:
> {noformat}
> WARNING [org.netbeans.JarClassLoader]: looking up 
> com/ultorg/box/builders/EmptyBoxBuilder.class
> java.nio.channels.ClosedByInterruptException
>   at 
> java.base/java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:199)
>   at java.base/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:228)
>   at 
> java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65)
>   at 
> java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109)
>   at 
> java.base/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
>   at 
> org.netbeans.JarClassLoader$DirSource.readClass(JarClassLoader.java:889)
> [catch] at 
> org.netbeans.JarClassLoader$Source.getClassData(JarClassLoader.java:371)
>   at org.netbeans.JarClassLoader.doLoadClass(JarClassLoader.java:213)
>   at 
> org.netbeans.ProxyClassLoader.selfLoadClass(ProxyClassLoader.java:234)
>   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:162)
>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
>   at 
> com.ultorg.layout.internal.LayoutContext.emptyBoxBuilder(LayoutContext.java:393)
>   (...more calls in application code that's designed to be 
> interruptible...)
>   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)
> {noformat}
> The application in question is multi-threaded, with a RequestProcessor task 
> running a visualization routine that can be interrupted and restarted in 
> response to a number of common UI events. In this case the visualization 
> routine is being started but immediately interrupted a few milliseconds 
> later, before the classloader has had time to finish its work.
> I suspect the problem was introduced when JarClassLoader was migrated to use 
> the new NIO-based InputStream implementations; see 
> [https://github.com/apache/incubator-netbeans/commit/4b82e6adb31e294c74fd2fa99779ce9e27ae6184]
>  . These streams support interruption, while the regular old FileInputStream 
> would just have its read() calls block and run to completion even when the 
> calling thread was interrupted. In JarClassLoader's case, it probably makes 
> sense to keep the old behavior: always finish loading the class even when the 
> current thread is interrupted.



--
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-1582) HiDPI icons for window system icons on Linux LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1582:
--
Summary: HiDPI icons for window system icons on Linux LAF  (was: HiDPI 
icons for window system icons on Linux)

> HiDPI icons for window system icons on Linux LAF
> 
>
> Key: NETBEANS-1582
> URL: https://issues.apache.org/jira/browse/NETBEANS-1582
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
> Environment: Linux
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI displays on Linux, the various icons that are part of 
> NetBeans' window system must be made scalable to arbitrary resolutions. This 
> includes, for instance, the "X" button that is used to close tabs, the "_" 
> button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
> icons. These icons reside in the tabcontrol and openide.awt modules.
> The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
> already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
> NETBEANS-1238, respectively). Using the same approach, it should now be 
> relatively easy to do the same on Linux. Or more specifically, whichever LAF 
> is the default on, say, Ubuntu (I'm not sure myself).
> (The author of the PR above does not have a Linux machine handily available, 
> and so only did the work for Windows and MacOS. Note that these icons are 
> more or less the only ones that are different from one LAF to another.)



--
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-1423) RuntimeException when searching for classes (java files)

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1  (was: 
Windows 10, Incubator NetBeans Linux 880, Java 11.0.1)
Summary: RuntimeException when searching for classes (java files)  
(was: IllegalArgumentException when writing code)

> RuntimeException when searching for classes (java files)
> 
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> I do not know how to describe it or what it is related to.
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1423) RuntimeException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Description: 
Hello,

When I start writing a code (such as a class name), it says "please wait" and 
then a list of possible classes is displayed.

Or, if I write a dot after the object name, the same is done, and then a list 
of related methods and fields is displayed.

Sometimes it happens that "please wait" is displayed for a few seconds and then 
it will throw an error.

*A java.lang.RuntimeException exception has occurred.*
 *However, the system should continue working without further problems.*

Clicking Show Details will appear.
{code:java}
java.lang.IllegalArgumentException: Argument compositeType cannot be null.
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
 at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
 at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
 at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
 at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
 at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
 at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
[catch] at 
org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
 at 
org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
 at 
org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
 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}
Sometimes he does it only once, sometimes several times in a row.

Additionally, each error will add Saving snapshot,

!picture1.png!

which can not be canceled. (Only by closing the application)

This bug does not limit me, but it is quite annoying.

Please repair

Thank you

  was:
Hello,

When I start writing a code (such as a class name), it says "please wait" and 
then a list of possible classes is displayed.

Or, if I write a dot after the object name, the same is done, and then a list 
of related methods and fields is displayed.

Sometimes it happens that "please wait" is displayed for a few seconds and then 
it will throw an error.

*A java.lang.RuntimeException exception has occurred.*
 *However, the system should continue working without further problems.*

Clicking Show Details will appear
{code:java}
java.lang.IllegalArgumentException: Argument compositeType cannot be null.
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
 at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
 at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
 at 

[jira] [Updated] (NETBEANS-1575) Change twig and smarty file icons

2018-10-30 Thread ASF GitHub Bot (JIRA)


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

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

> Change twig and smarty file icons
> -
>
> Key: NETBEANS-1575
> URL: https://issues.apache.org/jira/browse/NETBEANS-1575
> Project: NetBeans
>  Issue Type: Task
>  Components: php - Smarty, php - Twig
>Affects Versions: 10.0
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
> Attachments: netbeans-twig-smarty-file-icon.png
>
>
> Change twig and smarty file icons. I guess that these are changed 
> accidentally. I don't think that these are third-party icons because these 
> are similar to other file icons (e.g. php, js, latte,...). 
>  !netbeans-twig-smarty-file-icon.png! 
> I'm going to add them as CDDL again.



--
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-1582) HiDPI icons for window system icons on default Linux LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1582:
--
Description: 
To look good on HiDPI displays on Linux, the various icons that are part of 
NetBeans' window system must be made scalable to arbitrary resolutions. This 
includes, for instance, the "X" button that is used to close tabs, the "_" 
button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
icons. These icons reside in the tabcontrol and openide.awt modules.

The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
NETBEANS-1238, respectively). Using the same approach, it should now be 
relatively easy to do the same on Linux. Or more specifically, whichever LAF is 
the default on, say, Ubuntu (I'm not sure myself).

This issue does _not_ cover the equivalent work on the Darcula plugin; that 
would be a separate effort (see 
[https://github.com/Revivius/nb-darcula/issues/160] ).

(The author of the PR above does not have a Linux machine handily available, 
and so only did the work for Windows and MacOS. Note that these icons are more 
or less the only ones that are different from one LAF to another.)

  was:
To look good on HiDPI displays on Linux, the various icons that are part of 
NetBeans' window system must be made scalable to arbitrary resolutions. This 
includes, for instance, the "X" button that is used to close tabs, the "_" 
button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
icons. These icons reside in the tabcontrol and openide.awt modules.

The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
NETBEANS-1238, respectively). Using the same approach, it should now be 
relatively easy to do the same on Linux. Or more specifically, whichever LAF is 
the default on, say, Ubuntu (I'm not sure myself).

This issue does _not_ cover the equivalent work on the Darcula plugin; that 
would be a separate effort.

(The author of the PR above does not have a Linux machine handily available, 
and so only did the work for Windows and MacOS. Note that these icons are more 
or less the only ones that are different from one LAF to another.)


> HiDPI icons for window system icons on default Linux LAF
> 
>
> Key: NETBEANS-1582
> URL: https://issues.apache.org/jira/browse/NETBEANS-1582
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
> Environment: Linux
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI displays on Linux, the various icons that are part of 
> NetBeans' window system must be made scalable to arbitrary resolutions. This 
> includes, for instance, the "X" button that is used to close tabs, the "_" 
> button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
> icons. These icons reside in the tabcontrol and openide.awt modules.
> The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
> already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
> NETBEANS-1238, respectively). Using the same approach, it should now be 
> relatively easy to do the same on Linux. Or more specifically, whichever LAF 
> is the default on, say, Ubuntu (I'm not sure myself).
> This issue does _not_ cover the equivalent work on the Darcula plugin; that 
> would be a separate effort (see 
> [https://github.com/Revivius/nb-darcula/issues/160] ).
> (The author of the PR above does not have a Linux machine handily available, 
> and so only did the work for Windows and MacOS. Note that these icons are 
> more or less the only ones that are different from one LAF to another.)



--
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-1238) HiDPI icons in tabcontrol and openide.awt modules for Windows LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1238:
--
Fix Version/s: Next

> HiDPI icons in tabcontrol and openide.awt modules for Windows LAF
> -
>
> Key: NETBEANS-1238
> URL: https://issues.apache.org/jira/browse/NETBEANS-1238
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
> Environment: Windows 8.1 and Windows 10 with high-density displays or 
> accessibility scaling
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: Next
>
> Attachments: NETBEANS-1238 After patch.png, NETBEANS-1238 Before 
> patch.png, VectorIconTester output.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> On Windows 10, each monitor may be configured with an arbitrary scaling 
> factor, such as 125%, 150%, 200%, or even 300%. For instance, high-density 
> laptop displays are typically set to a scaling of 200% by default. On Java 9 
> and 10, Swing handles this "HiDPI" scaling automatically, making the UI take 
> up more pixels without looking smaller, and without any changes in the client 
> application. This makes bitmap icons blurry or ragged, however.
> To look good on HiDPI displays on Windows 10, the various icons that are part 
> of NetBeans' window system must be made scalable to arbitrary resolutions. 
> This includes, for instance, the "X" button that is used to close tabs, the 
> "_" button that collapses a sidebar, or the ">>" button that shows hidden 
> toolbar icons. These icons reside in the tabcontrol and openide.awt modules.



--
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-378) Font size and splash panel on a high-DPI display on Windows 10.

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke edited comment on NETBEANS-378 at 10/30/18 10:04 PM:
-

Hmm, the "-fontsize 24" options seem to have more problemsicons become much 
smaller than the surrounding text. But maybe you prefer that? Yeah, it would be 
nice to do some tuning for HiDPI on Linux, too-though at least the text renders 
properly and the UI isn't unusable as it was on previous JDK versions.


was (Author: ebakke):
Hmm, the "--fontsize 24" options seem to have more problems--icons become much 
smaller than the surrounding text. But maybe you prefer that? Yeah, it would be 
nice to do some tuning for HiDPI on Linux, too--though at least the text 
renders properly and the UI isn't unusable as it was on previous JDK versions.

> Font size and splash panel on a high-DPI display on Windows 10.
> ---
>
> Key: NETBEANS-378
> URL: https://issues.apache.org/jira/browse/NETBEANS-378
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Reporter: Giulio D'Ambrosi
>Priority: Major
>  Labels: HiDPI
> Attachments: Installer.PNG, Screenshot_Idea.png, 
> Screenshot_Netbeans.png, Screenshot_Netbeans_Fontsize24.png, keymap.PNG, 
> plugins.PNG, tab.PNG
>
>
> I started using NetBeans with the 4K resolution and i cannot see anything 
> because everything on that JFrame becomes too small and I won't be able to 
> read anything.
> See attached images



--
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-1582) HiDPI icons for window system icons on Linux LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1582:
--
Description: 
To look good on HiDPI displays on Linux, the various icons that are part of 
NetBeans' window system must be made scalable to arbitrary resolutions. This 
includes, for instance, the "X" button that is used to close tabs, the "_" 
button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
icons. These icons reside in the tabcontrol and openide.awt modules.

The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
NETBEANS-1238, respectively). Using the same approach, it should now be 
relatively easy to do the same on Linux. Or more specifically, whichever LAF is 
the default on, say, Ubuntu (I'm not sure myself).

This issue does _not_ cover the equivalent work on the Darcula plugin; that 
would be a separate effort.

(The author of the PR above does not have a Linux machine handily available, 
and so only did the work for Windows and MacOS. Note that these icons are more 
or less the only ones that are different from one LAF to another.)

  was:
To look good on HiDPI displays on Linux, the various icons that are part of 
NetBeans' window system must be made scalable to arbitrary resolutions. This 
includes, for instance, the "X" button that is used to close tabs, the "_" 
button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
icons. These icons reside in the tabcontrol and openide.awt modules.

The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
NETBEANS-1238, respectively). Using the same approach, it should now be 
relatively easy to do the same on Linux. Or more specifically, whichever LAF is 
the default on, say, Ubuntu (I'm not sure myself).

(The author of the PR above does not have a Linux machine handily available, 
and so only did the work for Windows and MacOS. Note that these icons are more 
or less the only ones that are different from one LAF to another.)


> HiDPI icons for window system icons on Linux LAF
> 
>
> Key: NETBEANS-1582
> URL: https://issues.apache.org/jira/browse/NETBEANS-1582
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
> Environment: Linux
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI displays on Linux, the various icons that are part of 
> NetBeans' window system must be made scalable to arbitrary resolutions. This 
> includes, for instance, the "X" button that is used to close tabs, the "_" 
> button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
> icons. These icons reside in the tabcontrol and openide.awt modules.
> The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
> already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
> NETBEANS-1238, respectively). Using the same approach, it should now be 
> relatively easy to do the same on Linux. Or more specifically, whichever LAF 
> is the default on, say, Ubuntu (I'm not sure myself).
> This issue does _not_ cover the equivalent work on the Darcula plugin; that 
> would be a separate effort.
> (The author of the PR above does not have a Linux machine handily available, 
> and so only did the work for Windows and MacOS. Note that these icons are 
> more or less the only ones that are different from one LAF to another.)



--
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-1252) shifted cursor in output window when selecting text with GDK_SCALE=2

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1252:
--
Labels: HiDPI pull-request-available  (was: pull-request-available)

> shifted cursor in output window when selecting text with GDK_SCALE=2
> 
>
> Key: NETBEANS-1252
> URL: https://issues.apache.org/jira/browse/NETBEANS-1252
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Output Window
>Affects Versions: 9.0
>Reporter: Michal Hlavac
>Assignee: Michal Hlavac
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: Next
>
> Attachments: shifted-cursor.mkv
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Using GDK_SCALE=2 env variable and Oracle JDK 11 (also 9, 10) cursor in 
> ouptut window is shifted. It's OK without GDK_SCALE=2.
>  Added attachment [^shifted-cursor.mkv] with short video.



--
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-1582) HiDPI icons for window system icons on default Linux LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1582:
--
Summary: HiDPI icons for window system icons on default Linux LAF  (was: 
HiDPI icons for window system icons on Linux LAF)

> HiDPI icons for window system icons on default Linux LAF
> 
>
> Key: NETBEANS-1582
> URL: https://issues.apache.org/jira/browse/NETBEANS-1582
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Window System
> Environment: Linux
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI displays on Linux, the various icons that are part of 
> NetBeans' window system must be made scalable to arbitrary resolutions. This 
> includes, for instance, the "X" button that is used to close tabs, the "_" 
> button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
> icons. These icons reside in the tabcontrol and openide.awt modules.
> The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
> already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
> NETBEANS-1238, respectively). Using the same approach, it should now be 
> relatively easy to do the same on Linux. Or more specifically, whichever LAF 
> is the default on, say, Ubuntu (I'm not sure myself).
> This issue does _not_ cover the equivalent work on the Darcula plugin; that 
> would be a separate effort.
> (The author of the PR above does not have a Linux machine handily available, 
> and so only did the work for Windows and MacOS. Note that these icons are 
> more or less the only ones that are different from one LAF to another.)



--
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] [Closed] (NETBEANS-1260) HiDPI icons in tabcontrol and openide.awt modules for Aqua (MacOS) LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke closed NETBEANS-1260.
-
   Resolution: Fixed
Fix Version/s: Next

Closing as the corresponding pull request was reviewed and merged.

> HiDPI icons in tabcontrol and openide.awt modules for Aqua (MacOS) LAF
> --
>
> Key: NETBEANS-1260
> URL: https://issues.apache.org/jira/browse/NETBEANS-1260
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
> Environment: MacOS with retina screens (e.g. MacBook Pro)
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: Next
>
> Attachments: NETBEANS-1260 MacOS Retina After Patch.png, 
> NETBEANS-1260 MacOS Retina Before Patch.png, VectorIconTest Output with Aqua 
> and Windows vector icons.png
>
>
> To look good on MacBook Pro and other Apple computers with Retina screens, 
> the various icons that are part of NetBeans' window system must be made 
> available in both 100% and 200% sizes. This includes, for instance, the "X" 
> button that is used to close tabs, the "_" button that collapses a sidebar, 
> or the ">>" button that shows hidden toolbar icons. These icons reside in the 
> tabcontrol and openide.awt modules.
> I'll soon submit a pull request that fixes this by providing vectorized 
> versions of the relevant window system icons. The approach is the same as is 
> taken for the Windows LAF, in NETBEANS-1238.



--
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] [Closed] (NETBEANS-1238) HiDPI icons in tabcontrol and openide.awt modules for Windows LAF

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke closed NETBEANS-1238.
-
Resolution: Fixed

Closing as the corresponding pull request was reviewed and merged.

> HiDPI icons in tabcontrol and openide.awt modules for Windows LAF
> -
>
> Key: NETBEANS-1238
> URL: https://issues.apache.org/jira/browse/NETBEANS-1238
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Window System
>Affects Versions: 9.0
> Environment: Windows 8.1 and Windows 10 with high-density displays or 
> accessibility scaling
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI, pull-request-available
> Fix For: Next
>
> Attachments: NETBEANS-1238 After patch.png, NETBEANS-1238 Before 
> patch.png, VectorIconTester output.png
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> On Windows 10, each monitor may be configured with an arbitrary scaling 
> factor, such as 125%, 150%, 200%, or even 300%. For instance, high-density 
> laptop displays are typically set to a scaling of 200% by default. On Java 9 
> and 10, Swing handles this "HiDPI" scaling automatically, making the UI take 
> up more pixels without looking smaller, and without any changes in the client 
> application. This makes bitmap icons blurry or ragged, however.
> To look good on HiDPI displays on Windows 10, the various icons that are part 
> of NetBeans' window system must be made scalable to arbitrary resolutions. 
> This includes, for instance, the "X" button that is used to close tabs, the 
> "_" button that collapses a sidebar, or the ">>" button that shows hidden 
> toolbar icons. These icons reside in the tabcontrol and openide.awt modules.



--
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-1582) HiDPI icons for window system icons on Linux

2018-10-30 Thread Eirik Bakke (JIRA)
Eirik Bakke created NETBEANS-1582:
-

 Summary: HiDPI icons for window system icons on Linux
 Key: NETBEANS-1582
 URL: https://issues.apache.org/jira/browse/NETBEANS-1582
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - Window System
 Environment: Linux
Reporter: Eirik Bakke


To look good on HiDPI displays on Linux, the various icons that are part of 
NetBeans' window system must be made scalable to arbitrary resolutions. This 
includes, for instance, the "X" button that is used to close tabs, the "_" 
button that collapses a sidebar, or the ">>" button that shows hidden toolbar 
icons. These icons reside in the tabcontrol and openide.awt modules.

The pull request at [https://github.com/apache/incubator-netbeans/pull/859] 
already did this work for the MacOS and Windows LAFs (see NETBEANS-1260 and 
NETBEANS-1238, respectively). Using the same approach, it should now be 
relatively easy to do the same on Linux. Or more specifically, whichever LAF is 
the default on, say, Ubuntu (I'm not sure myself).

(The author of the PR above does not have a Linux machine handily available, 
and so only did the work for Windows and MacOS. Note that these icons are more 
or less the only ones that are different from one LAF to another.)



--
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-1423) RuntimeException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Description: 
Hello,

When I start writing a code (such as a class name), it says "please wait" and 
then a list of possible classes is displayed.

Or, if I write a dot after the object name, the same is done, and then a list 
of related methods and fields is displayed.

Sometimes it happens that "please wait" is displayed for a few seconds and then 
it will throw an error.

*A java.lang.RuntimeException exception has occurred.*
 *However, the system should continue working without further problems.*

Clicking Show Details will appear
{code:java}
java.lang.IllegalArgumentException: Argument compositeType cannot be null.
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
 at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
 at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
 at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
 at 
org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
 at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
 at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
[catch] at 
org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
 at 
org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
 at 
org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
 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}
Sometimes he does it only once, sometimes several times in a row.

Additionally, each error will add Saving snapshot,

!picture1.png!

which can not be canceled. (Only by closing the application)

This bug does not limit me, but it is quite annoying.

Please repair

Thank you

  was:
Hello,

I do not know how to describe it or what it is related to.

When I start writing a code (such as a class name), it says "please wait" and 
then a list of possible classes is displayed.

Or, if I write a dot after the object name, the same is done, and then a list 
of related methods and fields is displayed.

Sometimes it happens that "please wait" is displayed for a few seconds and then 
it will throw an error.

*A java.lang.RuntimeException exception has occurred.*
 *However, the system should continue working without further problems.*

Clicking Show Details will appear
{code:java}
java.lang.IllegalArgumentException: Argument compositeType cannot be null.
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
 at 
java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
 at 
java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
 at 
java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
Caused: java.lang.reflect.InvocationTargetException
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at 
org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
Caused: java.lang.RuntimeException

[jira] [Commented] (NETBEANS-1423) RuntimeException when searching for classes (java files)

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama commented on NETBEANS-1423:
---

As I said, this bug occurs in any language and in any version.

The problem is, therefore, in NetBeans, specifically in searching for possible 
code writing / completion.

Although this error does not block me, it slows down and hurts unnecessarily.

I would be very grateful if someone would correct it.

Thank you

> RuntimeException when searching for classes (java files)
> 
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> I do not know how to describe it or what it is related to.
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1423) RuntimeException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Summary: RuntimeException when searching for possible code 
writing/completion.  (was: RuntimeException when searching for classes (java 
files))

> RuntimeException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> I do not know how to describe it or what it is related to.
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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] branch master updated: [NETBEANS-1197] Avoid ClosedByInterruptException in NetBeans' classloader

2018-10-30 Thread ebakke
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new ef48003  [NETBEANS-1197] Avoid ClosedByInterruptException in NetBeans' 
classloader
ef48003 is described below

commit ef4800372ccb39c98f610dc9a69569251ab58744
Author: Eirik Bakke 
AuthorDate: Tue Oct 30 17:22:41 2018 -0400

[NETBEANS-1197] Avoid ClosedByInterruptException in NetBeans' classloader

Use NIO by default, but fall back to the old FileInputStream if 
ClosedByInterruptException is detected.
---
 .../src/org/netbeans/JarClassLoader.java   | 74 ++
 1 file changed, 62 insertions(+), 12 deletions(-)

diff --git a/platform/o.n.bootstrap/src/org/netbeans/JarClassLoader.java 
b/platform/o.n.bootstrap/src/org/netbeans/JarClassLoader.java
index b1cdcc8..77cc076 100644
--- a/platform/o.n.bootstrap/src/org/netbeans/JarClassLoader.java
+++ b/platform/o.n.bootstrap/src/org/netbeans/JarClassLoader.java
@@ -21,6 +21,7 @@ package org.netbeans;
 
 import java.io.ByteArrayInputStream;
 import java.io.File;
+import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.io.InputStream;
@@ -36,6 +37,7 @@ import java.net.URISyntaxException;
 import java.net.URL;
 import java.net.URLConnection;
 import java.net.URLStreamHandler;
+import java.nio.channels.ClosedByInterruptException;
 import java.nio.file.Files;
 import java.nio.file.InvalidPathException;
 import java.security.CodeSource;
@@ -850,20 +852,41 @@ public class JarClassLoader extends ProxyClassLoader {
 super(BaseUtilities.toURI(file).toURL());
 dir = file;
 }
-
+
+private Manifest getManifestHelper(boolean useNIO) throws IOException {
+  File maniF = new File(new File(dir, "META-INF"), "MANIFEST.MF");
+  Manifest mf = new Manifest();
+  if (maniF.canRead()) {
+  try (InputStream istm = useNIO
+  ? Files.newInputStream(maniF.toPath())
+  : new FileInputStream(maniF))
+  {
+  mf.read(istm);
+  }
+  }
+  return mf;
+}
+
 public Manifest getManifest() {
 Manifest mf = manifest;
 if (mf != null) {
 return mf;
 }
-File maniF = new File(new File(dir, "META-INF"), "MANIFEST.MF");
-mf = new Manifest();
-if (maniF.canRead()) {
-try (InputStream istm = Files.newInputStream(maniF.toPath())) {
-mf.read(istm);
-} catch (IOException | InvalidPathException ex) {
-Exceptions.printStackTrace(ex);
+try {
+try {
+mf = getManifestHelper(true);
+} catch (ClosedByInterruptException ex) {
+// See comments in readClass().
+LOGGER.log(Level.INFO,
+"getManifest was interrupted; redoing operation with a 
regular FileInputStream");
+try {
+  mf = getManifestHelper(false);
+} finally {
+  Thread.currentThread().interrupt();
+}
 }
+} catch (IOException | InvalidPathException ex) {
+Exceptions.printStackTrace(ex);
 }
 return manifest = mf;
 }
@@ -876,14 +899,17 @@ public class JarClassLoader extends ProxyClassLoader {
 File resFile = new File(dir, name);
 return resFile.exists() ? BaseUtilities.toURI(resFile).toURL() : 
null;
 }
-
-protected byte[] readClass(String path) throws IOException {
+
+private byte[] readClassHelper(String path, boolean usingNIO) throws 
IOException {
 File clsFile = new File(dir, path.replace('/', 
File.separatorChar));
 if (!clsFile.exists()) return null;
-
+
 int len = (int)clsFile.length();
 byte[] data = new byte[len];
-try (InputStream is = Files.newInputStream(clsFile.toPath())) {
+try (InputStream is = usingNIO
+  ? Files.newInputStream(clsFile.toPath())
+  : new FileInputStream(clsFile))
+{
 int count = 0;
 while (count < len) {
 count += is.read(data, count, len - count);
@@ -893,6 +919,30 @@ public class JarClassLoader extends ProxyClassLoader {
 throw new IOException(ex);
 }
 }
+
+protected byte[] readClass(String path) throws IOException {
+/* "FileOutputStream and FileInputStream complicate GC because 
they both override
+'finalize()'. Switching to NIO API 

[jira] [Updated] (NETBEANS-1561) Reproducible NullPointerException at Refactor-Move in Java Modular Project

2018-10-30 Thread Andreas Eckstein (JIRA)


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

Andreas Eckstein updated NETBEANS-1561:
---
Summary: Reproducible NullPointerException at Refactor-Move in Java Modular 
Project  (was: Refactor-Move in Java Modular Project throws 
NullPointerException)

> Reproducible NullPointerException at Refactor-Move in Java Modular Project
> --
>
> Key: NETBEANS-1561
> URL: https://issues.apache.org/jira/browse/NETBEANS-1561
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Refactoring
>Affects Versions: Next
>Reporter: Andreas Eckstein
>Priority: Major
> Attachments: testProject1.zip
>
>
> I found a reproducible case of NullPointerException when trying to 
> refactor-move a class. In the attached testProject1, each module contains two 
> classes. In mod1a, class Test1A2.java can be moved to package mod1a.pkg 
> without issue. Trying the same thing in mod1b with Test1B2.java results in an 
> exception. Not sure what triggers this, but simpler projects with less 
> class/module relations seem to work fine.
> Platform:
> Linux x86_64
> openjdk version "11.0.1" 2018-10-16
> NetBeans-dev-incubator-netbeans-linux-882-on-20181025-release.zip
> (I've seen this error since Netbeans 9.0/JDK9)



--
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] branch master updated: Tweak color of 3 LAF-independent HiDPI icons for dark themes (e.g. Darcula).

2018-10-30 Thread ebakke
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 8f1f57b  Tweak color of 3 LAF-independent HiDPI icons for dark themes 
(e.g. Darcula).
8f1f57b is described below

commit 8f1f57bdc2552541b9947fd12ac8dd74796539f6
Author: Eirik Bakke 
AuthorDate: Tue Oct 30 19:22:08 2018 -0400

Tweak color of 3 LAF-independent HiDPI icons for dark themes (e.g. Darcula).
---
 platform/openide.awt/src/org/openide/awt/IconWithArrow.java| 10 +-
 .../openide.awt/src/org/openide/awt/ToolbarWithOverflow.java   |  9 -
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/platform/openide.awt/src/org/openide/awt/IconWithArrow.java 
b/platform/openide.awt/src/org/openide/awt/IconWithArrow.java
index 1c87da8..d2ac2a8 100644
--- a/platform/openide.awt/src/org/openide/awt/IconWithArrow.java
+++ b/platform/openide.awt/src/org/openide/awt/IconWithArrow.java
@@ -26,6 +26,7 @@ import java.awt.Graphics2D;
 import java.awt.geom.Path2D;
 import javax.swing.Icon;
 import javax.swing.UIManager;
+import org.openide.util.ImageUtilities;
 import org.openide.util.Parameters;
 import org.openide.util.VectorIcon;
 
@@ -101,7 +102,14 @@ class IconWithArrow implements Icon {
 
 @Override
 protected void paintIcon(Component c, Graphics2D g, int width, int 
height, double scaling) {
-g.setColor(disabled ? new Color(201, 201, 201, 255) : new 
Color(86, 86, 86, 255));
+final Color color;
+if (UIManager.getBoolean("nb.dark.theme")) {
+  // Foreground brightness level taken from the combobox dropdown 
on Darcula.
+  color = disabled ? new Color(90, 90, 90, 255) : new Color(187, 
187, 187, 255);
+} else {
+  color = disabled ? new Color(201, 201, 201, 255) : new Color(86, 
86, 86, 255);
+}
+g.setColor(color);
 final double overshoot = 2.0 / scaling;
 final double arrowWidth = width + overshoot * scaling;
 final double arrowHeight = height - 0.2 * scaling;
diff --git a/platform/openide.awt/src/org/openide/awt/ToolbarWithOverflow.java 
b/platform/openide.awt/src/org/openide/awt/ToolbarWithOverflow.java
index b2c03dd..1951e77 100644
--- a/platform/openide.awt/src/org/openide/awt/ToolbarWithOverflow.java
+++ b/platform/openide.awt/src/org/openide/awt/ToolbarWithOverflow.java
@@ -511,7 +511,14 @@ public class ToolbarWithOverflow extends JToolBar {
 // Draw two chevrons pointing downwards. Make strokes a little 
thicker at low scalings.
 double strokeWidth = 0.8 * scaling + 0.3;
 g.setStroke(new BasicStroke((float) strokeWidth));
-g.setColor(new Color(50, 50, 50, 255));
+final Color color;
+if (UIManager.getBoolean("nb.dark.theme")) {
+  // Foreground brightness level taken from the combobox dropdown 
on Darcula.
+  color = new Color(187, 187, 187, 255);
+} else {
+  color = new Color(50, 50, 50, 255);
+}
+g.setColor(color);
 for (int i = 0; i < 2; i++) {
 final int y = round((1.4 + 4.1 * i) * scaling);
 final double arrowWidth = round(5.0 * scaling);


-
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-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Summary: IllegalArgumentException when searching for possible code 
writing/completion.  (was: RuntimeException when searching for possible code 
writing/completion.)

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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] [Issue Comment Deleted] (NETBEANS-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama updated NETBEANS-1423:
--
Comment: was deleted

(was: UPDATE: The problem is related to the editor. It does not arise due to 
the language I am writing. (the error is displayed in all).)

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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] branch master updated (8f1f57b -> a7566b1)

2018-10-30 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


from 8f1f57b  Tweak color of 3 LAF-independent HiDPI icons for dark themes 
(e.g. Darcula).
 add 12f1dad  [NETBEANS-1575] Change twig and smarty file icons
 new a7566b1  Merge pull request #996 from 
junichi11/netbeans-1575-twig-smarty-icon

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:
 php/php.smarty/licenseinfo.xml|   5 +
 .../modules/php/smarty/editor/TplDataObject.java  |   4 +++-
 .../netbeans/modules/php/smarty/resources/layer.xml   |   4 ++--
 .../modules/php/smarty/resources/tpl-icon.png | Bin 2898 -> 3287 bytes
 php/php.twig/licenseinfo.xml  |   5 +
 .../modules/php/twig/editor/TwigDataObject.java   |  10 ++
 .../org/netbeans/modules/php/twig/resources/layer.xml |   4 ++--
 .../netbeans/modules/php/twig/resources/twig-icon.png | Bin 3234 -> 3301 bytes
 8 files changed, 23 insertions(+), 9 deletions(-)
 copy 
java/form/src/org/netbeans/modules/form/layoutsupport/griddesigner/resources/gridheight_relative.png
 => php/php.smarty/src/org/netbeans/modules/php/smarty/resources/tpl-icon.png 
(83%)
 copy 
ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/icons/event.png => 
php/php.twig/src/org/netbeans/modules/php/twig/resources/twig-icon.png (81%)


-
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 #996 from junichi11/netbeans-1575-twig-smarty-icon

2018-10-30 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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

commit a7566b1f2139b5af172e161f2911a63d31c23168
Merge: 8f1f57b 12f1dad
Author: Tomáš Myšík 
AuthorDate: Wed Oct 31 05:39:04 2018 +0100

Merge pull request #996 from junichi11/netbeans-1575-twig-smarty-icon

[NETBEANS-1575] Change twig and smarty file icons

 php/php.smarty/licenseinfo.xml   |   5 +
 .../modules/php/smarty/editor/TplDataObject.java |   4 +++-
 .../org/netbeans/modules/php/smarty/resources/layer.xml  |   4 ++--
 .../netbeans/modules/php/smarty/resources/tpl-icon.png   | Bin 0 -> 3287 bytes
 php/php.twig/licenseinfo.xml |   5 +
 .../netbeans/modules/php/twig/editor/TwigDataObject.java |  10 ++
 .../org/netbeans/modules/php/twig/resources/layer.xml|   4 ++--
 .../netbeans/modules/php/twig/resources/twig-icon.png| Bin 0 -> 3301 bytes
 8 files changed, 23 insertions(+), 9 deletions(-)


-
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-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)
Eirik Bakke created NETBEANS-1583:
-

 Summary: Support MultiResolutionImage loading from ImageUtilities 
 Key: NETBEANS-1583
 URL: https://issues.apache.org/jira/browse/NETBEANS-1583
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - Other
Affects Versions: 10.0
 Environment: Windows, Linux, and MacOS
Reporter: Eirik Bakke


To look good on HiDPI/Retina displays, the NetBeans IDE and NetBeans Platform 
applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the MultiResolutionImage class; such images are automatically 
loaded by methods such as Toolkit.getImage based on a standard naming 
convention. For instance, on MacOS, Toolkit.getImage("myicon.png") will also 
load the file "myi...@2x.png" if present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.



--
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-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other ImageUtilities methods such as createDisabledIcon, 
createDisabledImage, and mergeImages should also be updated to support both 
MultiResolutionImage and the new org.openide.util.VectorIcon class (introduced 
at https://github.com/apache/incubator-netbeans/pull/859/files ). Emilian Bold 
has done some work on this in the past; see 
https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1
 . Eirik Bakke also has some working code for createDisabledIcon in particular, 
which works with the VectorIcon class and any other Icon instance.

Last, note that there are two ways to create icons that look good on HiDPI 
displays: either by using MultiResolutionImage, or by hand-painting vector 
graphics in a custom implementation of the Icon class. This issue deals with 
the MultiResolutionImage approach; the vector painting approach is supported 
via the existing helper class org.openide.util.VectorIcon. Both approaches are 
valid and should be supported by the NetBeans Platform.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of 

[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/9/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.


> Support MultiResolutionImage loading from ImageUtilities 
> -
>
> Key: NETBEANS-1583
> URL: https://issues.apache.org/jira/browse/NETBEANS-1583
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP), applications will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In Swing, multi-resolution 
> image assets are supported via the 
> [MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
>  class; such images are automatically loaded by methods such as 
> Toolkit.getImage based on a standard naming convention. For instance, on 
> MacOS, Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" 
> if present, returning a MultiResolutionImage (see 
> [https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
> ImageUtilities.loadImage and friends should do the same.
> The same naming convention for 

[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/9/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the MultiResolutionImage class; such images are automatically 
loaded by methods such as Toolkit.getImage based on a standard naming 
convention. For instance, on MacOS, Toolkit.getImage("myicon.png") will also 
load the file "myi...@2x.png" if present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.


> Support MultiResolutionImage loading from ImageUtilities 
> -
>
> Key: NETBEANS-1583
> URL: https://issues.apache.org/jira/browse/NETBEANS-1583
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP), applications will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In Swing, multi-resolution 
> image assets are supported via the 
> [MultiResolutionImage|https://docs.oracle.com/javase/9/docs/api/java/awt/image/MultiResolutionImage.html]
>  class; such images are automatically loaded by methods such as 
> Toolkit.getImage based on a standard naming convention. For instance, on 
> MacOS, Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" 
> if present, returning a MultiResolutionImage (see 
> [https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
> ImageUtilities.loadImage and friends should do the same.
> The same naming convention for multi-resolution image assets should be used 
> as in the JDK. See Philip Race's comment on 
> 

[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other ImageUtilities methods such as createDisabledIcon, 
createDisabledImage, and mergeImages should also be updated to support both 
MultiResolutionImage and the new org.openide.util.VectorIcon class (introduced 
at https://github.com/apache/incubator-netbeans/pull/859/files ). Emilian Bold 
has done some work on this in the past; see 
https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1
 . Eirik Bakke also has some working code for createDisabledIcon in particular, 
which works with the VectorIcon class and any other Icon instance.

Last, note that there are two ways to create icons that look good on HiDPI 
displays: either by using MultiResolutionImage, or by hand-painting vector 
graphics in a custom implementation of the Icon class. This issue deals with 
the MultiResolutionImage approach; the vector painting approach is supported 
via the org.openide.util.VectorIcon class. Both approaches are valid and should 
be supported by the NetBeans Platform.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other 

[jira] [Commented] (NETBEANS-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-10-30 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA commented on NETBEANS-1423:
-

Unable to reproduce the issue in Windows 10 and Linux 7.4, with 10 VC1 and dev 
build, using JDK 8, JDK11. 

Can you please attach the sample project where the issue is reproducible.

Also let me know the class name on which autocomplete is failing

 

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the MultiResolutionImage class; such images are automatically 
loaded by methods such as Toolkit.getImage based on a standard naming 
convention. For instance, on MacOS, Toolkit.getImage("myicon.png") will also 
load the file "myi...@2x.png" if present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE and NetBeans Platform 
applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the MultiResolutionImage class; such images are automatically 
loaded by methods such as Toolkit.getImage based on a standard naming 
convention. For instance, on MacOS, Toolkit.getImage("myicon.png") will also 
load the file "myi...@2x.png" if present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.


> Support MultiResolutionImage loading from ImageUtilities 
> -
>
> Key: NETBEANS-1583
> URL: https://issues.apache.org/jira/browse/NETBEANS-1583
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP), applications will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In Swing, multi-resolution 
> image assets are supported via the MultiResolutionImage class; such images 
> are automatically loaded by methods such as Toolkit.getImage based on a 
> standard naming convention. For instance, on MacOS, 
> Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
> present, returning a MultiResolutionImage (see 
> [https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
> ImageUtilities.loadImage and friends should do the same.
> The same naming convention for multi-resolution image assets should be used 
> as in the JDK. See Philip Race's comment on 
> [https://bugs.openjdk.java.net/browse/JDK-8151787] :
> {quote}The proposed name convention for splash screens *and* other multi-res 
> images is @125pct @150pct @200pct @2x @250pct @300pct @3x 

[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.

  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP), applications will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (see 
[https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
https://bugs.openjdk.java.net/browse/JDK-8090575 )

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage. So it's already possible to implement this 
on the latest JDK. Note, however, that we should probably wait for 
https://bugs.openjdk.java.net/browse/JDK-8212226 to be fixed before enabling 
this on Windows.


> Support MultiResolutionImage loading from ImageUtilities 
> -
>
> Key: NETBEANS-1583
> URL: https://issues.apache.org/jira/browse/NETBEANS-1583
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP) applications, will eventually need to provide high-resolution 
> versions of various image asset (typically icons). In Swing, multi-resolution 
> image assets are supported via the 
> [MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
>  class; such images are automatically loaded by methods such as 
> Toolkit.getImage based on a standard naming convention. For instance, on 
> MacOS, Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" 
> if present, returning a MultiResolutionImage (see 
> [https://bugs.openjdk.java.net/browse/JDK-8011059] ). NetBeans' 
> ImageUtilities.loadImage and friends should do the same.
> The same naming convention for 

[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other ImageUtilities methods such as createDisabledIcon, 
createDisabledImage, and mergeImages should also be updated to support both 
MultiResolutionImage and the new org.openide.util.VectorIcon class (introduced 
at https://github.com/apache/incubator-netbeans/pull/859/files ). Emilian Bold 
has done some work on this in the past; see 
https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1
 . Eirik Bakke also has some working code for createDisabledIcon in particular, 
which works with the VectorIcon class and any other Icon instance.



  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other ImageUtilities methods such as createDisabledIcon, 
createDisabledImage, and mergeImages should also be updated to support both 
MultiResolutionImage and the new org.openide.util.VectorIcon class (introduced 
at https://github.com/apache/incubator-netbeans/pull/859/files ). Emilian Bold 
has done some work on this in the past; see 
https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1
 .



[jira] [Updated] (NETBEANS-1583) Support MultiResolutionImage loading from ImageUtilities

2018-10-30 Thread Eirik Bakke (JIRA)


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

Eirik Bakke updated NETBEANS-1583:
--
Description: 
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575]. Also make sure 
to retain the ability to add a "_dark" suffix for dark LAFs.

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.

As part of this patch, other ImageUtilities methods such as createDisabledIcon, 
createDisabledImage, and mergeImages should also be updated to support both 
MultiResolutionImage and the new org.openide.util.VectorIcon class (introduced 
at https://github.com/apache/incubator-netbeans/pull/859/files ). Emilian Bold 
has done some work on this in the past; see 
https://github.com/emilianbold/nextbeans/commit/0f99dba0c1b3e8e0bc4e7cec407b53d30e85ead1
 .



  was:
To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans Platform 
(RCP) applications, will eventually need to provide high-resolution versions of 
various image asset (typically icons). In Swing, multi-resolution image assets 
are supported via the 
[MultiResolutionImage|https://docs.oracle.com/javase/10/docs/api/java/awt/image/MultiResolutionImage.html]
 class; such images are automatically loaded by methods such as 
Toolkit.getImage based on a standard naming convention. For instance, on MacOS, 
Toolkit.getImage("myicon.png") will also load the file "myi...@2x.png" if 
present, returning a MultiResolutionImage (implemented in 
[JDK-8011059|https://bugs.openjdk.java.net/browse/JDK-8011059]). NetBeans' 
ImageUtilities.loadImage and friends should do the same.

The same naming convention for multi-resolution image assets should be used as 
in the JDK. See Philip Race's comment on 
[JDK-8151787|https://bugs.openjdk.java.net/browse/JDK-8151787] :

{quote}The proposed name convention for splash screens *and* other multi-res 
images is @125pct @150pct @200pct @2x @250pct @300pct @3x 
ie @2x and @3x are supported as synonyms for @200pct and @300pct respectively 
and also because we already supported @2x on retina Mac.
{quote}
 
(On the naming convention, see also 
[JDK-8090575|https://bugs.openjdk.java.net/browse/JDK-8090575])

As far as I know, only MacOS currently supports the automatic loading of such 
assets via Toolkit.getImage, but both Windows and MacOS (and Linux?) support 
the underlying MultiResolutionImage class. So it's already possible to 
implement this on the latest JDK. Note, however, that we should probably wait 
for [JDK-8212226|https://bugs.openjdk.java.net/browse/JDK-8212226] to be fixed 
before enabling this on Windows.


> Support MultiResolutionImage loading from ImageUtilities 
> -
>
> Key: NETBEANS-1583
> URL: https://issues.apache.org/jira/browse/NETBEANS-1583
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Other
>Affects Versions: 10.0
> Environment: Windows, Linux, and MacOS
>Reporter: Eirik Bakke
>Priority: Major
>  Labels: HiDPI
>
> To look good on HiDPI/Retina displays, the NetBeans IDE, and NetBeans 
> Platform (RCP) applications, will eventually need to provide high-resolution 
> versions 

[jira] [Comment Edited] (NETBEANS-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-10-30 Thread Michal Rama (JIRA)


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

Michal Rama edited comment on NETBEANS-1423 at 10/31/18 2:36 AM:
-

This bug occurs in any language and in any version.

The problem is, therefore, in NetBeans, specifically in searching for possible 
code writing / completion.

Although this error does not block me, it slows down and hurts unnecessarily.

I would be very grateful if someone would correct it.

Thank you


was (Author: michal_cat):
As I said, this bug occurs in any language and in any version.

The problem is, therefore, in NetBeans, specifically in searching for possible 
code writing / completion.

Although this error does not block me, it slows down and hurts unnecessarily.

I would be very grateful if someone would correct it.

Thank you

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



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

-
To unsubscribe, e-mail: 

[jira] [Commented] (NETBEANS-1440) BadLocationException on triple click to select text at EOF

2018-10-30 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA commented on NETBEANS-1440:
-

Unable to reproduce the issue in Windows 10 and Linux 7.4, with 10 VC1 and dev 
build, using JDK 8, JDK11. 

I am doing triple click at end on file , it is not selecting any line.

Can you please attach sample file where the issue is reproducible

> BadLocationException on triple click to select text at EOF 
> ---
>
> Key: NETBEANS-1440
> URL: https://issues.apache.org/jira/browse/NETBEANS-1440
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - CSL (API  infrastructure), editor - Other
>Affects Versions: 10.0
>Reporter: Christian Lenz
>Assignee: ARUNAVA SINHA
>Priority: Critical
> Attachments: badLocationException.gif
>
>
> I got a BadLocationException, when I'm at the end of the file, doing triple 
> click and try to select the text from the bottom:
> {code}
> javax.swing.text.BadLocationException: Invalid offset=1228 not within <0, 
> 1227>
>   at 
> org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:214)
>   at 
> org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:209)
>   at 
> org.netbeans.modules.editor.lib2.DocUtils.getRowStart(DocUtils.java:45)
> [catch] at 
> org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting$CaretRowHighlighting.getCurrentBlockPositions(CaretBasedBlockHighlighting.java:278)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.updateLineInfo(CaretBasedBlockHighlighting.java:191)
>   at 
> org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.stateChanged(CaretBasedBlockHighlighting.java:179)
>   at 
> org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:331)
>   at 
> org.netbeans.api.editor.caret.EditorCaret$6.run(EditorCaret.java:1733)
>   at 
> org.netbeans.modules.editor.lib2.view.ViewUtils.runInEDT(ViewUtils.java:411)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.fireStateChanged(EditorCaret.java:1742)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1664)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.moveDot(EditorCaret.java:634)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.moveDot(EditorCaret.java:604)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.selectEnsureMinSelection(EditorCaret.java:2458)
>   at 
> org.netbeans.api.editor.caret.EditorCaret.access$4200(EditorCaret.java:143)
>   at 
> org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.mouseDragged(EditorCaret.java:3145)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:328)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:327)
>   at 
> java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6637)
>   at 
> java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6358)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2261)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
>   at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4560)
>   at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
>   at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>   at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
>   at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>   at 

[jira] [Assigned] (NETBEANS-1423) IllegalArgumentException when searching for possible code writing/completion.

2018-10-30 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA reassigned NETBEANS-1423:
---

Assignee: ARUNAVA SINHA

> IllegalArgumentException when searching for possible code writing/completion.
> -
>
> Key: NETBEANS-1423
> URL: https://issues.apache.org/jira/browse/NETBEANS-1423
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Completion  Templates
>Affects Versions: 10.0
> Environment: Windows 10, Incubator NetBeans Linux 893, Java 11.0.1
>Reporter: Michal Rama
>Assignee: ARUNAVA SINHA
>Priority: Critical
>  Labels: editor
> Attachments: picture1.png
>
>
> Hello,
> When I start writing a code (such as a class name), it says "please wait" and 
> then a list of possible classes is displayed.
> Or, if I write a dot after the object name, the same is done, and then a list 
> of related methods and fields is displayed.
> Sometimes it happens that "please wait" is displayed for a few seconds and 
> then it will throw an error.
> *A java.lang.RuntimeException exception has occurred.*
>  *However, the system should continue working without further problems.*
> Clicking Show Details will appear.
> {code:java}
> java.lang.IllegalArgumentException: Argument compositeType cannot be null.
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:206)
>  at 
> java.management/javax.management.openmbean.CompositeDataSupport.(CompositeDataSupport.java:118)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:130)
>  at 
> java.management/sun.management.ThreadInfoCompositeData.toCompositeData(ThreadInfoCompositeData.java:72)
> Caused: java.lang.reflect.InvocationTargetException
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
>  at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:178)
> Caused: java.lang.RuntimeException
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.toCompositeData(SamplesOutputStream.java:184)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.access$400(SamplesOutputStream.java:44)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.writeToStream(SamplesOutputStream.java:285)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream$Sample.access$300(SamplesOutputStream.java:253)
>  at 
> org.netbeans.modules.sampler.SamplesOutputStream.close(SamplesOutputStream.java:202)
>  at org.netbeans.modules.sampler.Sampler.stopSampling(Sampler.java:231)
>  at org.netbeans.modules.sampler.Sampler.stopAndWriteTo(Sampler.java:197)
> [catch] at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.stopImpl(CompletionImplProfile.java:84)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile.access$000(CompletionImplProfile.java:29)
>  at 
> org.netbeans.modules.editor.completion.CompletionImplProfile$1.run(CompletionImplProfile.java:59)
>  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}
> Sometimes he does it only once, sometimes several times in a row.
> Additionally, each error will add Saving snapshot,
> !picture1.png!
> which can not be canceled. (Only by closing the application)
> This bug does not limit me, but it is quite annoying.
> Please repair
> Thank you



--
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-1346) NPE at first run

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1346:
-

Also, if it happens again in 10vc2 (once we have it) on JDK 11, please switch 
to JDK 8 and try again, to see if the problem is related to the JDK.

> NPE at first run
> 
>
> Key: NETBEANS-1346
> URL: https://issues.apache.org/jira/browse/NETBEANS-1346
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Aldo Brucale
>Priority: Major
> Fix For: 10.0
>
> Attachments: messages.log
>
>
> See the attached logfile



--
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-1576) PHP autocompletion partially broken

2018-10-30 Thread Kevin Andrews (JIRA)


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

Kevin Andrews commented on NETBEANS-1576:
-

Fair comment, i'll investigate further and raise a new issue if needed.

> PHP autocompletion partially broken
> ---
>
> Key: NETBEANS-1576
> URL: https://issues.apache.org/jira/browse/NETBEANS-1576
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
>Reporter: Nameless
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion, php
> Attachments: PhpAutocompletionProblems.zip, 
> autocompletion_problem_screencast.mp4
>
>
> It seems that autocompletion partially broken for PHP project.
> In project's properties PHP version 7.2 selected for my example.
> Here is [screencast|https://streamable.com/auldi] (attached also). 
> Screencast was made with NB v10#890, but I'm getting the same troubles with 
> Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are 
> specified.
> Textual description (in comments):
> {code:php}
>  namespace Repo;
> 
> use Entity\EntityClass;
> 
> /**
>  * @method EntityClass[] getAll() 
>  */
> class RepoClass
> {
> /**
>  * 
>  * @param array $params
>  * @return EntityClass
>  */
> public function findOrCreate(array $params): EntityClass
> {
> return new EntityClass();
> }
> }
> {code}
> {code:php}
>  
> namespace App;
> 
> class App
> {
> public function exec()
> {
> $repo = $magick->getRepo();
> /* @var $repo \Repo\RepoClass */
> $obj = $repo->findOrCreate($params);
> // for now all goes fine, ctrl+space after `->` shows methods 
> // `getAll()` and  `findOrCreate(array $params)`
> $obj-> // but no autocompletion here :(
> }
> 
> }
> {code}
> {panel:title=Versions}
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
> {panel}



--
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-1580) I am unable to build NetBeans anymore; BUILD FAILED

2018-10-30 Thread Rami Swailem (JIRA)
Rami Swailem created NETBEANS-1580:
--

 Summary: I am unable to build NetBeans anymore; BUILD FAILED
 Key: NETBEANS-1580
 URL: https://issues.apache.org/jira/browse/NETBEANS-1580
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
 Environment: Linux and Mac OS X

java version "1.8.0_192-ea"
Java(TM) SE Runtime Environment (build 1.8.0_192-ea-b04)
Java HotSpot(TM) 64-Bit Server VM (build 25.192-b04, mixed mode)


Reporter: Rami Swailem


Hi All,

I get this errors during "ant build build-nbms generate-uc-catalog 
build-source-zips"

.
 -load-build-properties:
 bootstrap:
      [echo] Bootstrapping NetBeans-specific Ant extensions...
 generate-uc-catalog:
 [makeupdatedesc] Creating update description 
/root/NetBeansProjects/incubator-netbeans/nbbuild/nbms/updates.xml
 BUILD FAILED
 /root/NetBeansProjects/incubator-netbeans/nbbuild/build.xml:1897: NBM 
/root/NetBeansProjects/incubator-netbeans/nbbuild/nbms/tasks.jar was malformed: 
no Info/info.xml
 Total time: 9 minutes 31 seconds

 



--
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-1401) Run into jdk method not working

2018-10-30 Thread Aldo Brucale (JIRA)


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

Aldo Brucale commented on NETBEANS-1401:


I don't think it depends on the Ubuntu .deb packaging... I'll try again 
downloading the openjdk and sources from jdk.java.net.

> Run into jdk method not working
> ---
>
> Key: NETBEANS-1401
> URL: https://issues.apache.org/jira/browse/NETBEANS-1401
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0
> Environment: Ubuntu 18.04
>Reporter: Aldo Brucale
>Priority: Major
>
> I'm running [this test 
> case|http://netbeans-vm.apache.org/synergy/client/app/#/case/980/suite/1635/v/1]
>  on Ubuntu 18.04 with openjdk 11 and the debugger does not enter the jdk 
> sources.
> I have installed the jdk and sources from this ppa 
> [https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa] because the official 
> openjdk-11-jdk package still installs Java 10.



--
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-1401) Run into jdk method not working

2018-10-30 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-1401:
-

Also try earlier JDKs, to see if that works, i.e., whether it is JDK 11 
specific.

> Run into jdk method not working
> ---
>
> Key: NETBEANS-1401
> URL: https://issues.apache.org/jira/browse/NETBEANS-1401
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0
> Environment: Ubuntu 18.04
>Reporter: Aldo Brucale
>Priority: Major
>
> I'm running [this test 
> case|http://netbeans-vm.apache.org/synergy/client/app/#/case/980/suite/1635/v/1]
>  on Ubuntu 18.04 with openjdk 11 and the debugger does not enter the jdk 
> sources.
> I have installed the jdk and sources from this ppa 
> [https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa] because the official 
> openjdk-11-jdk package still installs Java 10.



--
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-1576) PHP autocompletion partially broken

2018-10-30 Thread Kevin Andrews (JIRA)


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

Kevin Andrews commented on NETBEANS-1576:
-

I'm seeing the same for:
 * auto completing (ctrl+space) of classes and variables not in a currently 
open file
 * clicking through (ctrl + left click) to un-open class files via class names 
and method calls

Interestingly if I open the class file manually and click through / use 
auto-completion it starts working correctly (for just that class file i've 
opened manually).

> PHP autocompletion partially broken
> ---
>
> Key: NETBEANS-1576
> URL: https://issues.apache.org/jira/browse/NETBEANS-1576
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 9.0, 10.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
>Reporter: Nameless
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: autocompletion, php
> Attachments: PhpAutocompletionProblems.zip, 
> autocompletion_problem_screencast.mp4
>
>
> It seems that autocompletion partially broken for PHP project.
> In project's properties PHP version 7.2 selected for my example.
> Here is [screencast|https://streamable.com/auldi] (attached also). 
> Screencast was made with NB v10#890, but I'm getting the same troubles with 
> Netbeans 9 (with installed PHP plugin from 8.2 dev) too, so both versions are 
> specified.
> Textual description (in comments):
> {code:php}
>  namespace Repo;
> 
> use Entity\EntityClass;
> 
> /**
>  * @method EntityClass[] getAll() 
>  */
> class RepoClass
> {
> /**
>  * 
>  * @param array $params
>  * @return EntityClass
>  */
> public function findOrCreate(array $params): EntityClass
> {
> return new EntityClass();
> }
> }
> {code}
> {code:php}
>  
> namespace App;
> 
> class App
> {
> public function exec()
> {
> $repo = $magick->getRepo();
> /* @var $repo \Repo\RepoClass */
> $obj = $repo->findOrCreate($params);
> // for now all goes fine, ctrl+space after `->` shows methods 
> // `getAll()` and  `findOrCreate(array $params)`
> $obj-> // but no autocompletion here :(
> }
> 
> }
> {code}
> {panel:title=Versions}
> Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-890-on-20181029)
> Java: 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS
> Runtime: Java(TM) SE Runtime Environment 11.0.1+13-LTS
> System: Linux version 4.18.15-1-default running on amd64; UTF-8; ru_RU (nb)
> {panel}



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