[jira] [Updated] (NETBEANS-938) Navigating JDK Sources not possible

2018-06-23 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-938:

Labels: pull-request-available  (was: )

> Navigating JDK Sources not possible
> ---
>
> Key: NETBEANS-938
> URL: https://issues.apache.org/jira/browse/NETBEANS-938
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
> Environment: Linux
>Reporter: Peter Nabbefeld
>Priority: Major
>  Labels: pull-request-available
>
> When doing Ctrl+MouseClick to go to some imported source, I cannot navigate 
> in JDK sources (i.e. java.io.File).
> That's rather strange, as I can e.g. navigate in sources of Maven 
> dependencies.
> To be exact: I can go to the source of every import (if available, of 
> course). But when I click on a method name in the navigator panel, I can only 
> navigate to a method in external dependencies, but not inside a JDK source.



--
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-168) Background scanning process needs a rethink

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-168:
--

Well, there is no movement for some time on this issue. Could we get a sample 
project, where we could demonstrate this? It could be any open source project 
big enough.

So it would be good if there would be something we could analyze. I tried 
switching between branches in netbeans git repo, but the background scanning 
never took more than 2 seconds.

> Background scanning process needs a rethink
> ---
>
> Key: NETBEANS-168
> URL: https://issues.apache.org/jira/browse/NETBEANS-168
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Performance, java - Platform, platform - Execution
>Affects Versions: 8.2, Next
> Environment: NetBeans 8.2, Windows 10 x64
>Reporter: Christian Lenz
>Priority: Critical
>
> Often, while cloning, switching branch, merging, opening etc. etc. NetBeans 
> starts Background scanning for changes, but it is not real background, 
> because everything what you want to do then, like changing the branch, 
> commit, push, pull, open project, delete or whatever, is blocking by this 
> task and you can't cancel it, because it is essential.
> Either we need to rethink about this process like to make everything or most 
> of the stuff doing things in parallel or the task should really be 
> cancelable. It is a pain in the ass for big projects when they start to scan 
> for changes. 
> It is a real world case because you acan see it when you work on NetBeans 
> modules.
> Cheers
> Chris



--
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-346) Tabs, characters, and the right Margin don't line up

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi closed NETBEANS-346.

Resolution: Information Provided

I'm going to close this issue in favor of NETBEANS-987 as these are issues that 
have workarounds and mostly caused by JDK font rendering/settings.

> Tabs, characters, and the right Margin don't line up
> 
>
> Key: NETBEANS-346
> URL: https://issues.apache.org/jira/browse/NETBEANS-346
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 9.0
> Environment: Mac OS 10.10 (at least)
>Reporter: Austin Stephens
>Priority: Critical
> Attachments: Screen Shot 2018-01-29 at 4.58.35 PM.png, Screen Shot 
> 2018-02-28 at 11.27.32 AM.png, linewidth.png
>
>
> When the Right Margin is set at 80 chars, it is drawn at 8*2* chars. This is 
> annoying because I have a 1440x900 screen that I split vertically in to two. 
> This results in two editing areas that are about 80 chars wide. I could see 
> the margin line in both editors when scrolled all the way to the left. Since 
> Netbeans (9.0 beta) is now drawing them at char 8*2*, it is not possible to 
> size those editors so I can see the line in both windows and it is driving me 
> crazy.
> This is a first world issue at the moment, but you might find code coming 
> from mac programmers coming in two or more chars too wide in the Netbeans 
> source code.



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

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

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



[jira] [Assigned] (NETBEANS-987) Create a wiki page on NetBeans font rendering issues

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi reassigned NETBEANS-987:


Assignee: Laszlo Kishalmi

> Create a wiki page on NetBeans font rendering issues
> 
>
> Key: NETBEANS-987
> URL: https://issues.apache.org/jira/browse/NETBEANS-987
> Project: NetBeans
>  Issue Type: Task
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: font
>
> We have a few font rendering issues introduced in latest JDK and new OS 
> fonts. It would be good to document it somewhere.
>  # fontconfig.properties
>  # Custom font usage on terminal and editor (NETBEANS-346)



--
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-987) Create a wiki page on NetBeans font rendering issues

2018-06-23 Thread Laszlo Kishalmi (JIRA)
Laszlo Kishalmi created NETBEANS-987:


 Summary: Create a wiki page on NetBeans font rendering issues
 Key: NETBEANS-987
 URL: https://issues.apache.org/jira/browse/NETBEANS-987
 Project: NetBeans
  Issue Type: Task
Reporter: Laszlo Kishalmi


We have a few font rendering issues introduced in latest JDK and new OS fonts. 
It would be good to document it somewhere.
 # fontconfig.properties
 # Custom font usage on terminal and editor (NETBEANS-346)



--
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-482) NoClassDefFoundError when trying to handle properties of JavaFX project

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-482:
--

It seems to work with the latest 9.0 builds. Please check again, and try to 
provide more feedback if this would occur again.

> NoClassDefFoundError when trying to handle properties of JavaFX project
> ---
>
> Key: NETBEANS-482
> URL: https://issues.apache.org/jira/browse/NETBEANS-482
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Property Editors
> Environment: Windows 10, 64-bit
> Java 9.0.4, an  Java 10
>Reporter: Helmut Leininger
>Priority: Critical
> Attachments: TestFX1.zip, messages.zip
>
>
> I installed Netbeans 9.0 from Apche incubating. Then, I ran the wizard to 
> cfreate a n application:
>  - New Project / JavaFX / JavaFX FXML application
> After the wizard has ebded, I tried to view / adapt the project properties:
>   -  right click on the project / Properties
> Then, click on "Run"
> --> Unexcpected 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 further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Resolved] (NETBEANS-491) Turn off exception reporter

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-491.
--
   Resolution: Fixed
Fix Version/s: 9.0

As all of the PR-s has been merged ending with the hiding of the progress bar, 
I mark this issue resolved. Please open a new specific issue if you feel there 
is something else need to be done.

> Turn off exception reporter
> ---
>
> Key: NETBEANS-491
> URL: https://issues.apache.org/jira/browse/NETBEANS-491
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Code
>Affects Versions: 9.0
>Reporter: Jiří Kovalský
>Assignee: Reema Taneja
>Priority: Critical
>  Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: before_report_problem.png, report_bug.png, 
> report_error.png
>
>  Time Spent: 7h 50m
>  Remaining Estimate: 0h
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
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-702) java.lang.UnsupportedOperationException: not running in regular module system, cannot restart

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi closed NETBEANS-702.

Resolution: Information Provided

First, it is an RCP 8.2 you are trying to build. It is officially not supported 
beyond Java 8. So you need Java 8 to run it. If you do that it works fine.

The Java compatibility issue has been addressed in NetBeans 9.0 platform.

> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
> -
>
> Key: NETBEANS-702
> URL: https://issues.apache.org/jira/browse/NETBEANS-702
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 8.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-272-on-20180418)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb)
> User directory: /Users/rami/Library/Application Support/NetBeans/dev
> Cache directory: /Users/rami/Library/Caches/NetBeans/dev
>Reporter: Rami Swailem
>Priority: Critical
>  Labels: Java10
> Attachments: mavenproject1.zip
>
>
> Can'r restart rcp Application after changing "Look and Feel"
>  
> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
>   at 
> org.netbeans.core.startup.ModuleLifecycleManager.markReadyForRestart(ModuleLifecycleManager.java:124)
>   at 
> org.netbeans.core.startup.ModuleSystem.markForRestart(ModuleSystem.java:518)
>   at 
> org.netbeans.core.NbLifecycleManager.markForRestart(NbLifecycleManager.java:231)
>   at 
> org.netbeans.core.windows.options.LafPanel$4.mouseClicked(LafPanel.java:341)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6592)
>   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:4552)
>   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:159)
> [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] [Updated] (NETBEANS-702) java.lang.UnsupportedOperationException: not running in regular module system, cannot restart

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-702:
-
Labels: Java10  (was: )

> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
> -
>
> Key: NETBEANS-702
> URL: https://issues.apache.org/jira/browse/NETBEANS-702
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 8.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-272-on-20180418)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb)
> User directory: /Users/rami/Library/Application Support/NetBeans/dev
> Cache directory: /Users/rami/Library/Caches/NetBeans/dev
>Reporter: Rami Swailem
>Priority: Critical
>  Labels: Java10
> Attachments: mavenproject1.zip
>
>
> Can'r restart rcp Application after changing "Look and Feel"
>  
> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
>   at 
> org.netbeans.core.startup.ModuleLifecycleManager.markReadyForRestart(ModuleLifecycleManager.java:124)
>   at 
> org.netbeans.core.startup.ModuleSystem.markForRestart(ModuleSystem.java:518)
>   at 
> org.netbeans.core.NbLifecycleManager.markForRestart(NbLifecycleManager.java:231)
>   at 
> org.netbeans.core.windows.options.LafPanel$4.mouseClicked(LafPanel.java:341)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6592)
>   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:4552)
>   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:159)
> [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 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



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


[jira] [Updated] (NETBEANS-702) java.lang.UnsupportedOperationException: not running in regular module system, cannot restart

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-702:
-
Component/s: platform - Launchers

> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
> -
>
> Key: NETBEANS-702
> URL: https://issues.apache.org/jira/browse/NETBEANS-702
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - LaunchersCLI
>Affects Versions: 8.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-272-on-20180418)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb)
> User directory: /Users/rami/Library/Application Support/NetBeans/dev
> Cache directory: /Users/rami/Library/Caches/NetBeans/dev
>Reporter: Rami Swailem
>Priority: Critical
> Attachments: mavenproject1.zip
>
>
> Can'r restart rcp Application after changing "Look and Feel"
>  
> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
>   at 
> org.netbeans.core.startup.ModuleLifecycleManager.markReadyForRestart(ModuleLifecycleManager.java:124)
>   at 
> org.netbeans.core.startup.ModuleSystem.markForRestart(ModuleSystem.java:518)
>   at 
> org.netbeans.core.NbLifecycleManager.markForRestart(NbLifecycleManager.java:231)
>   at 
> org.netbeans.core.windows.options.LafPanel$4.mouseClicked(LafPanel.java:341)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6592)
>   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:4552)
>   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:159)
> [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 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



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

-
To 

[jira] [Updated] (NETBEANS-702) java.lang.UnsupportedOperationException: not running in regular module system, cannot restart

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-702:
-
Affects Version/s: (was: 9.0)
   8.2

> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
> -
>
> Key: NETBEANS-702
> URL: https://issues.apache.org/jira/browse/NETBEANS-702
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-release-272-on-20180418)
> Java: 10.0.1; Java HotSpot(TM) 64-Bit Server VM 10.0.1+10
> Runtime: Java(TM) SE Runtime Environment 10.0.1+10
> System: Mac OS X version 10.13.4 running on x86_64; UTF-8; en_DE (nb)
> User directory: /Users/rami/Library/Application Support/NetBeans/dev
> Cache directory: /Users/rami/Library/Caches/NetBeans/dev
>Reporter: Rami Swailem
>Priority: Critical
> Attachments: mavenproject1.zip
>
>
> Can'r restart rcp Application after changing "Look and Feel"
>  
> java.lang.UnsupportedOperationException: not running in regular module 
> system, cannot restart
>   at 
> org.netbeans.core.startup.ModuleLifecycleManager.markReadyForRestart(ModuleLifecycleManager.java:124)
>   at 
> org.netbeans.core.startup.ModuleSystem.markForRestart(ModuleSystem.java:518)
>   at 
> org.netbeans.core.NbLifecycleManager.markForRestart(NbLifecycleManager.java:231)
>   at 
> org.netbeans.core.windows.options.LafPanel$4.mouseClicked(LafPanel.java:341)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
>   at 
> java.desktop/java.awt.Component.processMouseEvent(Component.java:6592)
>   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:4552)
>   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:159)
> [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 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



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

-
To unsubscribe, e-mail: 

[jira] [Commented] (NETBEANS-967) java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

2018-06-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-967:
--

Do you have multiple monitors?

If yes could you resize the NetBeans and move the window around the monitors to 
see if this happens again?

> java.awt.IllegalComponentStateException: component must be showing on the 
> screen to determine its location
> --
>
> Key: NETBEANS-967
> URL: https://issues.apache.org/jira/browse/NETBEANS-967
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
> Environment: Windows10
>Reporter: Jacco van Weert
>Priority: Major
>
> A lot of times I get this exception when CTRL+click to a method or browsing 
> through the sourcecode.
> It's terrible!
>  
>  
> java.awt.IllegalComponentStateException: component must be showing on the 
> screen to determine its location
>  at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2062)
>  at java.awt.Component.getLocationOnScreen(Component.java:2036)
>  at 
> javax.swing.text.JTextComponent$InputMethodRequestsHandler.getTextLocation(JTextComponent.java:4643)
>  at sun.awt.im.InputMethodContext.getTextLocation(InputMethodContext.java:278)
>  at sun.awt.windows.WInputMethod$1.run(WInputMethod.java:588)
>  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>  at java.awt.EventQueue$4.run(EventQueue.java:733)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>  at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>  at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
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-866) Platform "Resolve" button for libraries broken out of the box.

2018-06-23 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-866:


For what it’s worth: I’m not the project architect at all. I’m an enthusiastic 
participant in the NetBeans community. We invite you to be the same — to 
partcipate, not simply to use. We’re giving you the freedom to use NetBeans and 
the responsibility to contribute back to it, in this case, to contribute to the 
relevance of the book. Keeping your findings and insights to yourself runs 
completely counter to what we are about and indeed if you are finding problems 
without being willing to share them then NetBeans is not an environment 
applicable to your needs.

> Platform "Resolve" button for libraries broken out of the box.
> --
>
> Key: NETBEANS-866
> URL: https://issues.apache.org/jira/browse/NETBEANS-866
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 8.2
>Reporter: Peter Jansen
>Priority: Critical
> Attachments: netbeans_issue_javafx.jpg
>
>
> I've just started trying to develop a GUI using the Netbeans Platform using 
> the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform 
> books recommended as part of the official documentation on the platform 
> website. 
> The very first examples in the book appear to break, as the Project 
> Properties > Libraries dialog throws the following error:
> "Module FX WebView Bootstrap in platform requests the token 
> javafx.application but there are no known providers." 
> The resolve button is red, but can't be clicked. 
> 1) Ignoring and attempting to add modules without being able to resolve their 
> dependencies means the program will throw and error and modules will be 
> disabled upon startup.
> 2) Deselecting the offending modules (FX Webview Bootstrap in platform, and 
> so on through other FX-depending modules, until the resolve button works 
> again) appears to allow the code to compile and dependencies to be 
> automatically resolved – but only a few pages in the book, adding the 'XML 
> Text Editor' and resolving the dependencies for this causes the program to 
> crash when running:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.api.project.ProjectManager
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> ...
> It seems that this is a major issue reported several years ago on other 
> venues with 8.x, and I've checked and also appears to be present on the 
> development and 9.0rc1 builds, but still hasn't been fixed?  This appears to 
> be a major issue in even beginning to write new software using the netbeans 
> platform?  My apologies if this is a simple error or oversight on my part.



--
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-866) Platform "Resolve" button for libraries broken out of the box.

2018-06-23 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-866:


Without reporting an issue, we’re not going to be able to fix it. This 
particular issue is resolved, I propse we close it as such since you have the 
solution and the book will be updated accordingly. We’d love to support and 
help you but without a clue about what the problem is that you’re running into, 
we’re not going to spend time guessing.

> Platform "Resolve" button for libraries broken out of the box.
> --
>
> Key: NETBEANS-866
> URL: https://issues.apache.org/jira/browse/NETBEANS-866
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 8.2
>Reporter: Peter Jansen
>Priority: Critical
> Attachments: netbeans_issue_javafx.jpg
>
>
> I've just started trying to develop a GUI using the Netbeans Platform using 
> the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform 
> books recommended as part of the official documentation on the platform 
> website. 
> The very first examples in the book appear to break, as the Project 
> Properties > Libraries dialog throws the following error:
> "Module FX WebView Bootstrap in platform requests the token 
> javafx.application but there are no known providers." 
> The resolve button is red, but can't be clicked. 
> 1) Ignoring and attempting to add modules without being able to resolve their 
> dependencies means the program will throw and error and modules will be 
> disabled upon startup.
> 2) Deselecting the offending modules (FX Webview Bootstrap in platform, and 
> so on through other FX-depending modules, until the resolve button works 
> again) appears to allow the code to compile and dependencies to be 
> automatically resolved – but only a few pages in the book, adding the 'XML 
> Text Editor' and resolving the dependencies for this causes the program to 
> crash when running:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.api.project.ProjectManager
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> ...
> It seems that this is a major issue reported several years ago on other 
> venues with 8.x, and I've checked and also appears to be present on the 
> development and 9.0rc1 builds, but still hasn't been fixed?  This appears to 
> be a major issue in even beginning to write new software using the netbeans 
> platform?  My apologies if this is a simple error or oversight on my part.



--
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-866) Platform "Resolve" button for libraries broken out of the box.

2018-06-23 Thread Peter Jansen (JIRA)


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

Peter Jansen commented on NETBEANS-866:
---

I think we have a difference of opinion on whether the books/tutorials are
up to date.  It's extremely generous for you to continually offer to skype
to help resolve issues -- but for a mature platform like netbeans, I would
hope to be able to learn all that's required to get started from easily
accessible documentation and tutorials, and I don't think that having to
skype with the project architect is ideal or sustainable, as generous an
opportunity it is.

When Stephen Hawking wrote A Brief History of Time, his publisher told him
that for every equation he placed in the book, the sales of the book would
halve.  Similarly, for a project platform or library, I think it's safe to
say that each issue in the documentation or tutorials that doesn't lead the
user to the expected result (or, the ability to resolve dependencies, or
create a runnable program) increases the barrier to entry, causing some
percentage to look in detail for a resolution, and the rest to quickly
look, then eventually give up and find another way to solve their problem
that's quicker or more consistent.  This is particularly the case when it's
the first example the new users attempt to complete.  After this happens a
few times, the proportion of the initial audience that you're left with is
generally quite small.   I also do not think that it's a reasonable
expectation of new users to ask them to proof or update the documentation,
report issues, and block their projects on these issues until they're
resolved -- I think the amount you can ask of new users to a community is
low, especially a mature one.

If you believe the documentation and tutorials in the two recommended books
(Netbeans for beginners, and RCP/JavaFX for Netbeans, which I believe were
written one-to-two major versions behind the current version) are current
and up-to-date without errors or issues, I would invite you to create a
vanilla virtual machine, download a fresh copy of the latest Netbeans and
Java SDK (1.8-1.10?), and follow through each page-by-page to identify both
whether the procedures and examples still work, and whether the methods
recommended are still the canonical methods, best practices, or legacy
methods.  As an effect of this verification process, you would then have
two large known-good and up-to-date resources that with new editions and
publication dates printed on them that would likely be useful for years to
come.

best wishes,
Peter



On Sat, Jun 23, 2018 at 12:05 AM, Geertjan Wielenga (JIRA) 



> Platform "Resolve" button for libraries broken out of the box.
> --
>
> Key: NETBEANS-866
> URL: https://issues.apache.org/jira/browse/NETBEANS-866
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 8.2
>Reporter: Peter Jansen
>Priority: Critical
> Attachments: netbeans_issue_javafx.jpg
>
>
> I've just started trying to develop a GUI using the Netbeans Platform using 
> the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform 
> books recommended as part of the official documentation on the platform 
> website. 
> The very first examples in the book appear to break, as the Project 
> Properties > Libraries dialog throws the following error:
> "Module FX WebView Bootstrap in platform requests the token 
> javafx.application but there are no known providers." 
> The resolve button is red, but can't be clicked. 
> 1) Ignoring and attempting to add modules without being able to resolve their 
> dependencies means the program will throw and error and modules will be 
> disabled upon startup.
> 2) Deselecting the offending modules (FX Webview Bootstrap in platform, and 
> so on through other FX-depending modules, until the resolve button works 
> again) appears to allow the code to compile and dependencies to be 
> automatically resolved – but only a few pages in the book, adding the 'XML 
> Text Editor' and resolving the dependencies for this causes the program to 
> crash when running:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.api.project.ProjectManager
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> ...
> It seems that this is a major issue reported several years ago on other 
> venues with 8.x, and I've checked and also appears to be present on the 
> development and 9.0rc1 builds, but still hasn't been fixed?  

[jira] [Updated] (NETBEANS-986) One-To-One on reverse engineering hibernate

2018-06-23 Thread Philipp Khlupin (JIRA)


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

Philipp Khlupin updated NETBEANS-986:
-
Description: 
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship
{code:java}

    
    
    
    
    
{code}
Please fix it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!

  was:
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship
{code:java}

    
    
    
    
    
{code}
Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!


> One-To-One on reverse engineering hibernate
> ---
>
> Key: NETBEANS-986
> URL: https://issues.apache.org/jira/browse/NETBEANS-986
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Philipp Khlupin
>Priority: Critical
> Attachments: image-2018-06-23-19-37-53-561.png
>
>
> I have two tables with one-by-one relationship (see attached picture)
> When I start generate hibernate reverse engineering mechanism
> It generates one-to-many relationship
> {code:java}
>  fetch="select">
>     
>     
>     
>     
>     
> {code}
> Please fix it or give me advice with workaround
> !image-2018-06-23-19-37-53-561.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] [Updated] (NETBEANS-986) One-To-One on reverse engineering hibernate

2018-06-23 Thread Philipp Khlupin (JIRA)


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

Philipp Khlupin updated NETBEANS-986:
-
Description: 
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship
{code:java}

    
    
    
    
    
{code}
Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!

  was:
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship

Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!


> One-To-One on reverse engineering hibernate
> ---
>
> Key: NETBEANS-986
> URL: https://issues.apache.org/jira/browse/NETBEANS-986
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Philipp Khlupin
>Priority: Critical
> Attachments: image-2018-06-23-19-37-53-561.png
>
>
> I have two tables with one-by-one relationship (see attached picture)
> When I start generate hibernate reverse engineering mechanism
> It generates one-to-many relationship
> {code:java}
>  fetch="select">
>     
>     
>     
>     
>     
> {code}
> Please fixt it or give me advice with workaround
> !image-2018-06-23-19-37-53-561.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] [Updated] (NETBEANS-986) One-To-One on reverse engineering hibernate

2018-06-23 Thread Philipp Khlupin (JIRA)


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

Philipp Khlupin updated NETBEANS-986:
-
Description: 
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship

Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!

  was:
I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship
{code:java}
    
    
    {code}
Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.png!


> One-To-One on reverse engineering hibernate
> ---
>
> Key: NETBEANS-986
> URL: https://issues.apache.org/jira/browse/NETBEANS-986
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: Philipp Khlupin
>Priority: Critical
> Attachments: image-2018-06-23-19-37-53-561.png
>
>
> I have two tables with one-by-one relationship (see attached picture)
> When I start generate hibernate reverse engineering mechanism
> It generates one-to-many relationship
> Please fixt it or give me advice with workaround
> !image-2018-06-23-19-37-53-561.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] [Created] (NETBEANS-986) One-To-One on reverse engineering hibernate

2018-06-23 Thread Philipp Khlupin (JIRA)
Philipp Khlupin created NETBEANS-986:


 Summary: One-To-One on reverse engineering hibernate
 Key: NETBEANS-986
 URL: https://issues.apache.org/jira/browse/NETBEANS-986
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 8.2
Reporter: Philipp Khlupin
 Attachments: image-2018-06-23-19-37-53-561.png

I have two tables with one-by-one relationship (see attached picture)

When I start generate hibernate reverse engineering mechanism

It generates one-to-many relationship
{code:java}
    
    
    {code}
Please fixt it or give me advice with workaround

!image-2018-06-23-19-37-53-561.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] [Created] (NETBEANS-985) Netbeans hangs when opening MinGW C++ project

2018-06-23 Thread Mark McKay (JIRA)
Mark McKay created NETBEANS-985:
---

 Summary: Netbeans hangs when opening MinGW C++ project
 Key: NETBEANS-985
 URL: https://issues.apache.org/jira/browse/NETBEANS-985
 Project: NetBeans
  Issue Type: Bug
Reporter: Mark McKay


I tried opening the open source MuseScore's git repository in NetBeans.  I made 
several attempts and NetBeans kept freezing with the message that it was 
scanning background projects.

 

I am unable to attach the log file to this issue, since each time I try I get 
an error message "JIRA could not attach the file as there was a missing token. 
Please try attaching the file 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



[incubator-netbeans] branch master updated: [NETBEANS-975] Wizard properly reports items created on configuration FS (#597)

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

sdedic 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 8db91d3  [NETBEANS-975] Wizard properly reports items created on 
configuration FS (#597)
8db91d3 is described below

commit 8db91d34cdf1d629ec59492147f96701fff4ca63
Author: Svatopluk Dedic 
AuthorDate: Sat Jun 23 11:28:33 2018 +0200

[NETBEANS-975] Wizard properly reports items created on configuration FS 
(#597)
---
 .../src/org/openide/loaders/TemplateWizard2.java   | 41 +++-
 .../org/openide/loaders/TemplateWizardTest.java| 54 +-
 2 files changed, 92 insertions(+), 3 deletions(-)

diff --git a/openide.loaders/src/org/openide/loaders/TemplateWizard2.java 
b/openide.loaders/src/org/openide/loaders/TemplateWizard2.java
index 1c000e7..ec0b172 100644
--- a/openide.loaders/src/org/openide/loaders/TemplateWizard2.java
+++ b/openide.loaders/src/org/openide/loaders/TemplateWizard2.java
@@ -26,6 +26,7 @@ import java.beans.PropertyDescriptor;
 import java.io.File;
 import java.io.IOException;
 import java.lang.reflect.Method;
+import java.nio.file.Path;
 import javax.swing.*;
 import javax.swing.event.*;
 import org.openide.WizardDescriptor;
@@ -44,6 +45,7 @@ final class TemplateWizard2 extends javax.swing.JPanel 
implements DocumentListen
 
 private static final String PROP_LOCATION_FOLDER = "locationFolder"; // 
NOI18N
 private File locationFolder;
+private DataFolder locationDataFolder;
 private DefaultPropertyModel locationFolderModel;
 
 /** File extension of the template and of the created file -
@@ -392,7 +394,39 @@ final class TemplateWizard2 extends javax.swing.JPanel 
implements DocumentListen
 private javax.swing.JTextField newObjectName;
 // End of variables declaration//GEN-END:variables
 
+private DataFolder findRelativeFolder(File fd) {
+if (locationDataFolder == null) {
+return null;
+}
+File f = FileUtil.toFile(locationDataFolder.getPrimaryFile());
+if (f == null) {
+return null;
+} else if (f.equals(fd)) {
+return locationDataFolder;
+}
+// attempt to locate neighbouring file on the DF's filesystem
+FileObject folderFO = locationDataFolder.getPrimaryFile();
+File lf = FileUtil.toFile(folderFO);
+if (lf != null) {
+try {
+Path p = lf.toPath().relativize(fd.toPath());
+FileObject newDF = folderFO.getFileObject(p.toString());
+if (newDF != null) {
+return DataFolder.findFolder(newDF);
+}
+} catch (IllegalArgumentException ex) {
+// cannot relativize
+}
+}
+return null;
+}
+
 public void setLocationFolder(File fd) {
+locationDataFolder = findRelativeFolder(fd);
+setLocationFolder0(fd);
+}
+
+private void setLocationFolder0(File fd) {
 if (locationFolder == fd)
 return ;
 if (locationFolder != null && locationFolder.equals (fd))
@@ -405,14 +439,19 @@ final class TemplateWizard2 extends javax.swing.JPanel 
implements DocumentListen
 firePropertyChange (PROP_LOCATION_FOLDER, oldLocation, locationFolder);
 fireStateChanged ();
 }
+
 private void setLocationDataFolder(DataFolder fd) {
-setLocationFolder(fd != null ? FileUtil.toFile(fd.getPrimaryFile()) : 
null);
+locationDataFolder = fd;
+setLocationFolder0(fd != null ? FileUtil.toFile(fd.getPrimaryFile()) : 
null);
 }
 
 public File getLocationFolder() {
 return locationFolder;
 }
 private DataFolder getLocationDataFolder() {
+if (locationDataFolder != null) {
+return locationDataFolder;
+}
 if (locationFolder != null) {
 FileObject f = 
FileUtil.toFileObject(FileUtil.normalizeFile(locationFolder));
 if (f != null && f.isFolder()) {
diff --git 
a/openide.loaders/test/unit/src/org/openide/loaders/TemplateWizardTest.java 
b/openide.loaders/test/unit/src/org/openide/loaders/TemplateWizardTest.java
index d270501..739ff48 100644
--- a/openide.loaders/test/unit/src/org/openide/loaders/TemplateWizardTest.java
+++ b/openide.loaders/test/unit/src/org/openide/loaders/TemplateWizardTest.java
@@ -22,6 +22,7 @@ package org.openide.loaders;
 import java.awt.Component;
 import java.awt.Dialog;
 import java.awt.EventQueue;
+import java.io.File;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -29,6 +30,7 @@ import java.util.HashSet;
 import java.util.LinkedHashSet;
 import java.util.Set;
 import javax.swing.JPanel;
+import javax.swing.SwingUtilities;
 import javax.swing.event.ChangeListener;
 import org.netbeans.junit.MockServices;

[jira] [Created] (NETBEANS-984) No support for lombok 1.6.20

2018-06-23 Thread Novomlinov Aleksandr (JIRA)
Novomlinov Aleksandr created NETBEANS-984:
-

 Summary: No support for lombok 1.6.20
 Key: NETBEANS-984
 URL: https://issues.apache.org/jira/browse/NETBEANS-984
 Project: NetBeans
  Issue Type: Bug
Reporter: Novomlinov Aleksandr
 Attachments: image-2018-06-23-11-20-58-498.png

!image-2018-06-23-11-20-58-498.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] [Commented] (NETBEANS-866) Platform "Resolve" button for libraries broken out of the box.

2018-06-23 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-866:


If you don't have the time to dedicate to learning the NetBeans Platform, 
that's fine. However, you and I know that the issue you refer to here is 
solved, in fact, you wrote this to me: "It looks like adding the 'Project API 
Implementation' and 'Parsing API IDE Bridge' was the key to getting the book 
example to compile, and I'm back on my way through the chapters." That was 
about one specific and really not important part of the book. So, I am still 
happy to meet with you via Skype or however you like. The book however and the 
tutorials however are not out of date. So far you have reported one very small 
issue in the book and nothing else. Happy to help with anything else you find.

> Platform "Resolve" button for libraries broken out of the box.
> --
>
> Key: NETBEANS-866
> URL: https://issues.apache.org/jira/browse/NETBEANS-866
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 8.2
>Reporter: Peter Jansen
>Priority: Critical
> Attachments: netbeans_issue_javafx.jpg
>
>
> I've just started trying to develop a GUI using the Netbeans Platform using 
> the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform 
> books recommended as part of the official documentation on the platform 
> website. 
> The very first examples in the book appear to break, as the Project 
> Properties > Libraries dialog throws the following error:
> "Module FX WebView Bootstrap in platform requests the token 
> javafx.application but there are no known providers." 
> The resolve button is red, but can't be clicked. 
> 1) Ignoring and attempting to add modules without being able to resolve their 
> dependencies means the program will throw and error and modules will be 
> disabled upon startup.
> 2) Deselecting the offending modules (FX Webview Bootstrap in platform, and 
> so on through other FX-depending modules, until the resolve button works 
> again) appears to allow the code to compile and dependencies to be 
> automatically resolved – but only a few pages in the book, adding the 'XML 
> Text Editor' and resolving the dependencies for this causes the program to 
> crash when running:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.api.project.ProjectManager
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> ...
> It seems that this is a major issue reported several years ago on other 
> venues with 8.x, and I've checked and also appears to be present on the 
> development and 9.0rc1 builds, but still hasn't been fixed?  This appears to 
> be a major issue in even beginning to write new software using the netbeans 
> platform?  My apologies if this is a simple error or oversight on my part.



--
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-866) Platform "Resolve" button for libraries broken out of the box.

2018-06-23 Thread Peter Jansen (JIRA)


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

Peter Jansen commented on NETBEANS-866:
---

This is still an issue, but it's possible that it's largely an issue with
the defacto documentation (books), and/or my and other newcomer's knowledge
of the netbeans platform and ability to use the documentation resource to
get to a working place quickly.  I have since moved away from netbeans
because while I love the idea of the netbeans platform, it seems like it
may currently be in a place where the barrier to entry is high,
particularly with outdated documentation or tutorials, and getting started
quickly isn't easily possible.  Please feel free to mark this whatever is
appropriate -- I wouldn't want to get in the way of your release.



On Fri, Jun 22, 2018 at 9:11 PM, Laszlo Kishalmi (JIRA) 



> Platform "Resolve" button for libraries broken out of the box.
> --
>
> Key: NETBEANS-866
> URL: https://issues.apache.org/jira/browse/NETBEANS-866
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - JDK Problems
>Affects Versions: 8.2
>Reporter: Peter Jansen
>Priority: Critical
> Attachments: netbeans_issue_javafx.jpg
>
>
> I've just started trying to develop a GUI using the Netbeans Platform using 
> the NetBeans Platform for Beginners and JavaFX RCP for the Netbeans Platform 
> books recommended as part of the official documentation on the platform 
> website. 
> The very first examples in the book appear to break, as the Project 
> Properties > Libraries dialog throws the following error:
> "Module FX WebView Bootstrap in platform requests the token 
> javafx.application but there are no known providers." 
> The resolve button is red, but can't be clicked. 
> 1) Ignoring and attempting to add modules without being able to resolve their 
> dependencies means the program will throw and error and modules will be 
> disabled upon startup.
> 2) Deselecting the offending modules (FX Webview Bootstrap in platform, and 
> so on through other FX-depending modules, until the resolve button works 
> again) appears to allow the code to compile and dependencies to be 
> automatically resolved – but only a few pages in the book, adding the 'XML 
> Text Editor' and resolving the dependencies for this causes the program to 
> crash when running:
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.netbeans.api.project.ProjectManager
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> ...
> It seems that this is a major issue reported several years ago on other 
> venues with 8.x, and I've checked and also appears to be present on the 
> development and 9.0rc1 builds, but still hasn't been fixed?  This appears to 
> be a major issue in even beginning to write new software using the netbeans 
> platform?  My apologies if this is a simple error or oversight on my part.



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