[jira] [Commented] (NETBEANS-620) profiling SQL queries doesn't work under JDK 10

2018-04-08 Thread Glenn Holmer (JIRA)

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

Glenn Holmer commented on NETBEANS-620:
---

The following appears in the output window:
Illegal reflective access by
org.netbeans.lib.profiler.server.ClassLoaderManager to method
java.lang.ClassLoader.findLoadedClass(java.lang.String)

> profiling SQL queries doesn't work under JDK 10
> ---
>
> Key: NETBEANS-620
> URL: https://issues.apache.org/jira/browse/NETBEANS-620
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Base
>Affects Versions: 9.0
> Environment: I tested under NetBeans 9.0 build 395 with a project 
> that uses a Postgres database.
>Reporter: Glenn Holmer
>Priority: Major
>
> Profiler's SQL query profiling feature does not work under JDK 10:
> 1) Create or open a project that uses JDBC queries to a database.
> 2) Click the profiler icon in the toolbar.
> 3) In the Profiler button dropdown, select "SQL Queries".
> 4) Click the gear icon at the right of the profiler toolbar and select "All 
> queries".
> 5) Click the "Profile" button to start profiling.
> The program runs, but no SQL query data are returned. This works fine under 
> JDK 8.



--
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-622) Can not remove row in "Insert Record(s)" modal panel from SQL view data tab before add values to required fields.

2018-04-08 Thread Vldimir Orlyansky (JIRA)
Vldimir Orlyansky created NETBEANS-622:
--

 Summary: Can not remove row in "Insert Record(s)" modal panel from 
SQL view data tab before add values to required fields.
 Key: NETBEANS-622
 URL: https://issues.apache.org/jira/browse/NETBEANS-622
 Project: NetBeans
  Issue Type: Bug
  Components: db - SQL Editor
Affects Versions: 9.0
Reporter: Vldimir Orlyansky


Found in NetCat 9

>From "View Data"/SQL tab i click to insert "Insert Record(s)" button.

I have modal panel "Insert Record(s)".

I click to "Add Row" for example two times.

But second time is wrong. I want to cancel insert second record. But button 
"Remove" is disabled before I add any values in required fields.

http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/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] [Created] (NETBEANS-623) CTRL+/ does not work for block code comment

2018-04-08 Thread Constantin Drabo (JIRA)
Constantin Drabo created NETBEANS-623:
-

 Summary: CTRL+/ does not work for  block code comment
 Key: NETBEANS-623
 URL: https://issues.apache.org/jira/browse/NETBEANS-623
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
 Environment: OS : Linux 
VM : Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime 
Environment, 1.8.0_102-b14
Reporter: Constantin Drabo






--
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-626) Number of row in "Insert Record(s)" modal panel is left after removming row JDK 10 only

2018-04-08 Thread Vldimir Orlyansky (JIRA)
Vldimir Orlyansky created NETBEANS-626:
--

 Summary: Number of row in "Insert Record(s)" modal panel is left 
after removming row JDK 10 only
 Key: NETBEANS-626
 URL: https://issues.apache.org/jira/browse/NETBEANS-626
 Project: NetBeans
  Issue Type: Bug
  Components: db - Show Data
Affects Versions: 9.0
Reporter: Vldimir Orlyansky


Found in NetCat 9 through working with 
[http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/1]

It happens only under JDK 10. Under JDK 8 there is not such issue.

Click to view data and then click to "Insert Record(s)".

In modal panel create two rows.

Remove last row.

Number of row in column "#" will be present after removing last row.



--
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-625) Recreate feature does not work on JDK 10

2018-04-08 Thread Vldimir Orlyansky (JIRA)
Vldimir Orlyansky created NETBEANS-625:
--

 Summary: Recreate feature does not work on JDK 10
 Key: NETBEANS-625
 URL: https://issues.apache.org/jira/browse/NETBEANS-625
 Project: NetBeans
  Issue Type: Bug
  Components: db - DB schema
Affects Versions: 9.0
Reporter: Vldimir Orlyansky


Found in NetCat 9 through work with 
[http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/1]

Recreate feature does not work in JDK 10. Under JDK 8 tables can be recreated 
without problem. Under JDK 10 grab file was created under JDK 10 can be used 
for recreate table from grab file.

Stack trace i have put below.

 

java.lang.ClassNotFoundException: javax.xml.ws.Holder
    at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
    at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
    at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
Caused: java.lang.ClassNotFoundException: javax.xml.ws.Holder starting from 
ModuleCL@21abeae7[org.netbeans.modules.db] with possible defining loaders 
[ModuleCL@5b5306b0[org.netbeans.modules.websvc.jaxws21api]] and declared 
parents [ModuleCL@59bbf5cf[org.openide.nodes], 
ModuleCL@47742c04[org.openide.filesystems.nb], 
ModuleCL@7b767775[org.netbeans.modules.javahelp], 
org.netbeans.MainImpl$BootClassLoader@6d2b0d81, 
ModuleCL@14b1173d[org.netbeans.core.ide], 
ModuleCL@400a964c[org.netbeans.modules.project.libraries], 
ModuleCL@52473f06[org.openide.explorer], ModuleCL@77ab3fc5[org.openide.awt], 
ModuleCL@2f94fb16[org.netbeans.modules.db.metadata.model], 
ModuleCL@1eff6e71[org.netbeans.modules.keyring], ...6 more]
    at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
Caused: java.lang.NoClassDefFoundError: javax/xml/ws/Holder
    at 
org.netbeans.modules.db.explorer.action.RecreateTableAction$2.run(RecreateTableAction.java:138)
    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:406)
    at 
org.netbeans.modules.db.explorer.action.RecreateTableAction.performAction(RecreateTableAction.java:100)
    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.doPerformAction(ActionInvoker.java:91)
    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 
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.AbstractButton.doClick(AbstractButton.java:369)
    at 
java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:980)
    at 
java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1024)
    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:2260)
    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2318)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
    at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
    at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
    at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2304)
    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 

[jira] [Updated] (NETBEANS-622) Can not remove row in "Insert Record(s)" modal panel from SQL view data tab before add values to required fields.

2018-04-08 Thread Vldimir Orlyansky (JIRA)

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

Vldimir Orlyansky updated NETBEANS-622:
---
   Priority: Trivial  (was: Minor)
Description: 
Found in NetCat 9

>From "View Data"/SQL tab i click to insert "Insert Record(s)" button.

I have modal panel "Insert Record(s)".

I click to "Add Row" for example two times.

But second time is wrong. I want to cancel insert second record. But button 
"Remove" is disabled before I add any values in required fields.

It happens only if i select whole row by click to number of Row. If i click 
then to any field of wrong button "Remove" is enabled.

[http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/1]

  was:
Found in NetCat 9

>From "View Data"/SQL tab i click to insert "Insert Record(s)" button.

I have modal panel "Insert Record(s)".

I click to "Add Row" for example two times.

But second time is wrong. I want to cancel insert second record. But button 
"Remove" is disabled before I add any values in required fields.

http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/1


> Can not remove row in "Insert Record(s)" modal panel from SQL view data tab 
> before add values to required fields.
> -
>
> Key: NETBEANS-622
> URL: https://issues.apache.org/jira/browse/NETBEANS-622
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - SQL Editor
>Affects Versions: 9.0
>Reporter: Vldimir Orlyansky
>Priority: Trivial
>  Labels: netcat
>
> Found in NetCat 9
> From "View Data"/SQL tab i click to insert "Insert Record(s)" button.
> I have modal panel "Insert Record(s)".
> I click to "Add Row" for example two times.
> But second time is wrong. I want to cancel insert second record. But button 
> "Remove" is disabled before I add any values in required fields.
> It happens only if i select whole row by click to number of Row. If i click 
> then to any field of wrong button "Remove" is enabled.
> [http://netbeans-vm.apache.org/synergy/client/app/#/assignment/2185/v/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] [Created] (NETBEANS-624) Can not create "Unique" column in table with Derby database

2018-04-08 Thread Vldimir Orlyansky (JIRA)
Vldimir Orlyansky created NETBEANS-624:
--

 Summary: Can not create "Unique" column in table with Derby 
database
 Key: NETBEANS-624
 URL: https://issues.apache.org/jira/browse/NETBEANS-624
 Project: NetBeans
  Issue Type: Bug
  Components: db - DB schema
Affects Versions: 9.0
Reporter: Vldimir Orlyansky


Found in NetCat 9.0

Can not create column with "Unique" constraint.

I try to create column with Unique. If select only Unique constraint i need to 
add Default. If set any default i have syntax error on creation.

If i select "Null" constraint result index does not have "Unique" property.

In "Indexes" node new unique index can be created without problem.



--
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-627) Unexpected Exception RequestProcessor

2018-04-08 Thread will mason (JIRA)
will mason created NETBEANS-627:
---

 Summary: Unexpected Exception RequestProcessor
 Key: NETBEANS-627
 URL: https://issues.apache.org/jira/browse/NETBEANS-627
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Other, guibuilder - Code
Affects Versions: 9.0
 Environment: Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-205-on-20180202)
Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
Runtime: Java(TM) SE Runtime Environment 10+46
System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
Reporter: will mason
 Attachments: image-2018-04-09-11-59-51-504.png, messages.log, 
netbeans-9.0-beta1.logs

h2. expected

* Opened a GUI form (JPanel)
* netbeans normally displays GUI layout

h2. actual

* Was shown a pop-up for unexpected exception
* GUI JPanel layout was still displayed -- but it is unclear if the screen is 
correct
* Need to close Netbeans in case the form has been corrupted.

h2.  supporting information

*  messages.log
*  netbeans-9.0-beta1.logs - contains ...
**  stacktrace
**  UI log
**  IDE log

 

!image-2018-04-09-11-59-51-504.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



[jira] [Assigned] (NETBEANS-615) Cannot run java application from IDE

2018-04-08 Thread Jan Lahoda (JIRA)

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

Jan Lahoda reassigned NETBEANS-615:
---

Assignee: Jan Lahoda

> Cannot run java application from IDE
> 
>
> Key: NETBEANS-615
> URL: https://issues.apache.org/jira/browse/NETBEANS-615
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Netbeans 9 beta x64
> Windows 2008 R2 x64
> Java 10 sdk 
>Reporter: Filippo
>Assignee: Jan Lahoda
>Priority: Major
>
> I created the following class:
> {code:java}
> public static void main(String[] args) {
>     
>     System.out.println("java version: " + 
> System.getProperty("java.version"));
>     }
> {code}
> It compiles correctly and I can  execute it from coammand line with *java*.
> If I try to run it from the ide a new .class file is generated which contains 
> RuntimeException as the first line.
> I double checked the configuration and found nothing wrong.



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