[jira] [Commented] (NETBEANS-654) InvalidFileException while editing a class with a .form file

2018-04-13 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-654:
--

Well, that is funny (I think). I placed a breakpoint at the constructor for 
SourceIcon, and it appears that it is called and then submitted for an async 
task "indirectly" by DiffSidebar.getEditorCookie.
{noformat}
JavaNode$IconTask$SourceIcon.:431
JavaNode$IconTask$SourceIcon.:428
JavaNode$IconTask.create:535
JavaNode.:126
JavaDataSupport.createJavaNode:66
FormDataNode.:51
NbFormServices.createFormDataNode:105
FormDataObject.createNodeDelegate:152
DataObject$1.run:347
DefaultMutexImplementation.readAccess:172
DefaultMutexImplementation$1R.run:1016
Children$ProjectManagerDeadlockDetector.execute:1913
DefaultMutexImplementation.doWrapperAccess:1035
DefaultMutexImplementation.readAccess:162
Mutex.readAccess:235
DataObject.getNodeDelegateImpl:330
DataObject.getNodeDelegate:317
FormDataObject.getLookup:90
FormEditorSupport.:193
NbFormServices.createEditorSupport:126
FormDataObject.getFormEditorSupport:131
FormDataObject.getCookie:81
DiffSidebar.getEditorCookie:
DiffSidebar.getText:1060
DiffSidebar.getText:979
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940{noformat}
DiffSidebar creates two temp files in getText(VersioningSystem) (one for .form 
and one for .java) in a temp folder that is deleted in a `finally` that is 
called before leaving the method. The .java file is the *same file* *that is 
given to the Source Icon Task*. This results in the file being deleted before 
JavaNode$IconTask$SourceIcon gets a chance to read it.

Well, that was round-about... Aren't debuggers great? Also, is that enough for 
you to find the issue?

> InvalidFileException while editing a class with a .form file
> 
>
> Key: NETBEANS-654
> URL: https://issues.apache.org/jira/browse/NETBEANS-654
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Assignee: Jan Lahoda
>Priority: Blocker
>
> This happens while Netbeans is trying to parse the source of a class that has 
> a form designer editor thingy.
> {noformat}
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Caused: 
> org.netbeans.modules.java.source.parsing.FileObjects$InvalidFileException: 
> Invalid or deleted file: 
> /var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:354)
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:334)
> Caused: java.lang.IllegalArgumentException
>     at 
> org.netbeans.modules.java.source.parsing.FileObjects.sourceFileObject(FileObjects.java:337)
>     at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:730)
>     at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:374)
> [catch] at 
> 

[jira] [Commented] (NETBEANS-663) Shortcuts using "alt/option" on the mac do not work.

2018-04-13 Thread Austin Stephens (JIRA)

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

Austin Stephens commented on NETBEANS-663:
--

I note that this appears to happen in windows as well if you use the right alt 
key instead of the left one. The right one doesn't work. I think that might be 
related to Java 9.

> Shortcuts using "alt/option" on the mac do not work.
> 
>
> Key: NETBEANS-663
> URL: https://issues.apache.org/jira/browse/NETBEANS-663
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Action Items
>Affects Versions: 9.0
>Reporter: Austin Stephens
>Priority: Major
>
> The menu item flashes like it was activated, but nothing happens. This might 
> be because the key is interpreted like "alt altGraph pressed \{Key}" or 
> because it is never added to the binding map. I do note that "alt + F11" was 
> in the map, but that didn't work either (probably for the first reason). All 
> of the others are just not in the map. See NbKeymap.getAction.



--
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-654) InvalidFileException while editing a class with a .form file

2018-04-13 Thread Austin Stephens (JIRA)

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

Austin Stephens edited comment on NETBEANS-654 at 4/13/18 7:38 PM:
---

I have a feeling that this might be related (info obtained on a different 
instance of the issue):

Thread: Diffsidebar long tasks :: FILE_DELETED 
/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523641982284/vcs-1523647512781/.form
{noformat}
File.getParentFile:499
FileInfo.getRoot:165
FileObjectFactory.getInstance:104
FileObjectFactory.getInstance:99
BaseFileObj.getFactory:625
BaseFileObj.getParent:597
FileUtil.isParentOf:1448
RepositoryUpdater.getOwningSourceRoot:1619
ErrorAnnotator$RootAddedDeletedListener.update:369
ErrorAnnotator$RootAddedDeletedListener.fileDeleted:358
FCLSupport$DispatchEventWrapper.dispatchEventImpl:156
FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync:223
FCLSupport$DispatchEventWrapper.dispatchEvent:112
FCLSupport.dispatchEvent:87
FileObject$ED.dispatch:1410
FileSystem$EventDispatcher.run:770
EventControl.dispatchEvent:59
FileSystem.dispatchEvent:529
FileObject.dispatchEvent:619
FileObject.fireFileDeletedEvent:595
BaseFileObj.fireFileDeletedEvent:717
FolderObj.delete:427
BaseFileObj$2.call:767
BaseFileObj$2.call:762
FileBasedFileSystem.runAsInconsistent:97
BaseFileObj.delete:776
FileObject.delete:385
DiffSidebar.deleteTempFolder:1174
DiffSidebar.getText:984
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940
DiffSidebar$RefreshDiffTask.computeDiff:909
DiffSidebar$RefreshDiffTask.run:894
RequestProcessor$Task.run:1418
GlobalLookup.execute:45
Lookups.executeWith:278
RequestProcessor$Processor.run:2033
{noformat}
I got this by setting an exception breakpoint that stops all threads. The path 
that went missing was 
/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523641982284/vcs-1523647512781/.java


was (Author: sir intellegence):
I have a feeling that this might be related (info obtained on a different 
instance of the issue):

Thread: Diffsidebar long tasks :: FILE_DELETED 
/var/folders/h7//T/vcs-/vcs-/.form
{noformat}
File.getParentFile:499
FileInfo.getRoot:165
FileObjectFactory.getInstance:104
FileObjectFactory.getInstance:99
BaseFileObj.getFactory:625
BaseFileObj.getParent:597
FileUtil.isParentOf:1448
RepositoryUpdater.getOwningSourceRoot:1619
ErrorAnnotator$RootAddedDeletedListener.update:369
ErrorAnnotator$RootAddedDeletedListener.fileDeleted:358
FCLSupport$DispatchEventWrapper.dispatchEventImpl:156
FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync:223
FCLSupport$DispatchEventWrapper.dispatchEvent:112
FCLSupport.dispatchEvent:87
FileObject$ED.dispatch:1410
FileSystem$EventDispatcher.run:770
EventControl.dispatchEvent:59
FileSystem.dispatchEvent:529
FileObject.dispatchEvent:619
FileObject.fireFileDeletedEvent:595
BaseFileObj.fireFileDeletedEvent:717
FolderObj.delete:427
BaseFileObj$2.call:767
BaseFileObj$2.call:762
FileBasedFileSystem.runAsInconsistent:97
BaseFileObj.delete:776
FileObject.delete:385
DiffSidebar.deleteTempFolder:1174
DiffSidebar.getText:984
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940
DiffSidebar$RefreshDiffTask.computeDiff:909
DiffSidebar$RefreshDiffTask.run:894
RequestProcessor$Task.run:1418
GlobalLookup.execute:45
Lookups.executeWith:278
RequestProcessor$Processor.run:2033
{noformat}
I got this by setting an exception breakpoint that stops all threads.

> InvalidFileException while editing a class with a .form file
> 
>
> Key: NETBEANS-654
> URL: https://issues.apache.org/jira/browse/NETBEANS-654
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Assignee: Jan Lahoda
>Priority: Blocker
>
> This happens while Netbeans is trying to parse the source of a class that has 
> a form designer editor thingy.
> {noformat}
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> 

[jira] [Comment Edited] (NETBEANS-654) InvalidFileException while editing a class with a .form file

2018-04-13 Thread Austin Stephens (JIRA)

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

Austin Stephens edited comment on NETBEANS-654 at 4/13/18 7:34 PM:
---

I have a feeling that this might be related (info obtained on a different 
instance of the issue):

Thread: Diffsidebar long tasks :: FILE_DELETED 
/var/folders/h7//T/vcs-/vcs-/.form
{noformat}
File.getParentFile:499
FileInfo.getRoot:165
FileObjectFactory.getInstance:104
FileObjectFactory.getInstance:99
BaseFileObj.getFactory:625
BaseFileObj.getParent:597
FileUtil.isParentOf:1448
RepositoryUpdater.getOwningSourceRoot:1619
ErrorAnnotator$RootAddedDeletedListener.update:369
ErrorAnnotator$RootAddedDeletedListener.fileDeleted:358
FCLSupport$DispatchEventWrapper.dispatchEventImpl:156
FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync:223
FCLSupport$DispatchEventWrapper.dispatchEvent:112
FCLSupport.dispatchEvent:87
FileObject$ED.dispatch:1410
FileSystem$EventDispatcher.run:770
EventControl.dispatchEvent:59
FileSystem.dispatchEvent:529
FileObject.dispatchEvent:619
FileObject.fireFileDeletedEvent:595
BaseFileObj.fireFileDeletedEvent:717
FolderObj.delete:427
BaseFileObj$2.call:767
BaseFileObj$2.call:762
FileBasedFileSystem.runAsInconsistent:97
BaseFileObj.delete:776
FileObject.delete:385
DiffSidebar.deleteTempFolder:1174
DiffSidebar.getText:984
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940
DiffSidebar$RefreshDiffTask.computeDiff:909
DiffSidebar$RefreshDiffTask.run:894
RequestProcessor$Task.run:1418
GlobalLookup.execute:45
Lookups.executeWith:278
RequestProcessor$Processor.run:2033
{noformat}
I got this by setting an exception breakpoint that stops all threads.


was (Author: sir intellegence):
I have a feeling that this might be related (info obtained on a different 
instance of the issue):

Thread: Diffsidebar long tasks :: FILE_DELETED 
/var/folders/h7//T/vcs-/vcs-/.form
{noformat}
File.getParentFile:499
FileInfo.getRoot:165
FileObjectFactory.getInstance:104
FileObjectFactory.getInstance:99
BaseFileObj.getFactory:625
BaseFileObj.getParent:597
FileUtil.isParentOf:1448
RepositoryUpdater.getOwningSourceRoot:1619
ErrorAnnotator$RootAddedDeletedListener.update:369
ErrorAnnotator$RootAddedDeletedListener.fileDeleted:358
FCLSupport$DispatchEventWrapper.dispatchEventImpl:156
FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync:223
FCLSupport$DispatchEventWrapper.dispatchEvent:112
FCLSupport.dispatchEvent:87
FileObject$ED.dispatch:1410
FileSystem$EventDispatcher.run:770
EventControl.dispatchEvent:59
FileSystem.dispatchEvent:529
FileObject.dispatchEvent:619
FileObject.fireFileDeletedEvent:595
BaseFileObj.fireFileDeletedEvent:717
FolderObj.delete:427
BaseFileObj$2.call:767
BaseFileObj$2.call:762
FileBasedFileSystem.runAsInconsistent:97
BaseFileObj.delete:776
FileObject.delete:385
DiffSidebar.deleteTempFolder:1174
DiffSidebar.getText:984
DiffSidebar.access$1600:89
DiffSidebar$RefreshDiffTask.fetchOriginalContent:940
DiffSidebar$RefreshDiffTask.computeDiff:909
DiffSidebar$RefreshDiffTask.run:894
RequestProcessor$Task.run:1418
GlobalLookup.execute:45
Lookups.executeWith:278
RequestProcessor$Processor.run:2033{noformat}

> InvalidFileException while editing a class with a .form file
> 
>
> Key: NETBEANS-654
> URL: https://issues.apache.org/jira/browse/NETBEANS-654
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 9.0
> Environment: Mac
>Reporter: Austin Stephens
>Assignee: Jan Lahoda
>Priority: Blocker
>
> This happens while Netbeans is trying to parse the source of a class that has 
> a form designer editor thingy.
> {noformat}
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and attach dump file 
> '/Users/astephens/Library/Application 
> Support/NetBeans/dev/var/log/_4.dump'.
> Annotation: An error occurred during parsing of 
> '/var/folders/h7/fj0xqrvj6398tchb4bvt4b8c0xt43p/T/vcs-1523547877869/vcs-1523563534216/.java'.
>  Please report a bug against java/source and 

[jira] [Created] (NETBEANS-664) Introduce field blocks use of previously undone label

2018-04-13 Thread Joseph James Jalbert (JIRA)
Joseph James Jalbert created NETBEANS-664:
-

 Summary: Introduce field blocks use of previously undone label
 Key: NETBEANS-664
 URL: https://issues.apache.org/jira/browse/NETBEANS-664
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Refactoring
Affects Versions: 9.0
 Environment: Window 10 recent development version.  Java 8 171.  
NetBeans 406 on 20180411
Reporter: Joseph James Jalbert


Testing.  Introduce field according to instructions.  Used suggested field name 
that was also used in previous question and undone.  label is not present in 
any file in package introduce at this point.  When attempt to use in present 
question, says already in use.  Does work if change name, but name use is 
persisting after being undone, and is not present in source to be deleted.



--
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-663) Shortcuts using "alt/option" on the mac do not work.

2018-04-13 Thread Austin Stephens (JIRA)
Austin Stephens created NETBEANS-663:


 Summary: Shortcuts using "alt/option" on the mac do not work.
 Key: NETBEANS-663
 URL: https://issues.apache.org/jira/browse/NETBEANS-663
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Action Items
Affects Versions: 9.0
Reporter: Austin Stephens


The menu item flashes like it was activated, but nothing happens. This might be 
because the key is interpreted like "alt altGraph pressed \{Key}" or because it 
is never added to the binding map. I do note that "alt + F11" was in the map, 
but that didn't work either (probably for the first reason). All of the others 
are just not in the map. See NbKeymap.getAction.



--
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-656) Help is Broken (Offline and On-line)

2018-04-13 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-656:


Created a pull request to fix the URL: 
[https://github.com/apache/incubator-netbeans/pull/499]

> Help is Broken (Offline and On-line)
> 
>
> Key: NETBEANS-656
> URL: https://issues.apache.org/jira/browse/NETBEANS-656
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - Help System
>Affects Versions: 9.0
> Environment: Both Windows 10  and Linux 64-bit
>Reporter: will mason
>Priority: Critical
>  Labels: Regression, help, help-requested, help-system, 
> pull-request-available
> Fix For: 9.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> h2. expected
>  * Press [HELP] menu
> * Press "*Help Contents*"
> * Loading help settings ... (pop-up)
> * Display Netbeans Help window
> * page; "*Using the IDE Help System*"
> _As well_
>  * Press [HELP] menu
> * Press "*online docs and support*"
> * Internal browser page opens
> * And see the Help system/pages
> h2. actual
> * Nothing happens
> * The  "*Help Contents*" menu entry is *_absent_*
> * The Link  {noformat}
> http://www.netbeans.org/kb/index.html
> {noformat}
> ** Appears to be an out of date page
> ** Also it points to netbeans.org, should it point to Netbeans.Apache.org?
> h2.  Impact
> *  Off line help is essential.
> **  Quite a few project don't have internet access (by choice) 
> *  We are a small lab and we both rely and expect people to be self-reliant 
> that includes being able to find answers through tools like help. and 
> documentation.
> ** We get a lot to of students who haven't used Java or Netbeans
> ** We get C++ and C# programmers who've never used java
> ** We have web developers who don't use Java 
> ** Experienced people may think of help a an "extra" -- it is not in a 
> work-a-day environment with many levels of experience.
> * If you want people to adopt Netbeans, 
> ** (Reliable) HELP is an essential; 
> ** (Reliable) Documentation is essential.
> * I appreciate that this is a Beta version and the documents may be not ready
> **  Show a placeholder IDE Help System
> **  For heaven's sake put that in the landing page for the on-line link
>  



--
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-656) Help is Broken (Offline and On-line)

2018-04-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot updated NETBEANS-656:

Labels: Regression help help-requested help-system pull-request-available  
(was: Regression help help-requested help-system)

> Help is Broken (Offline and On-line)
> 
>
> Key: NETBEANS-656
> URL: https://issues.apache.org/jira/browse/NETBEANS-656
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - Help System
>Affects Versions: 9.0
> Environment: Both Windows 10  and Linux 64-bit
>Reporter: will mason
>Priority: Critical
>  Labels: Regression, help, help-requested, help-system, 
> pull-request-available
> Fix For: 9.0
>
>
> h2. expected
>  * Press [HELP] menu
> * Press "*Help Contents*"
> * Loading help settings ... (pop-up)
> * Display Netbeans Help window
> * page; "*Using the IDE Help System*"
> _As well_
>  * Press [HELP] menu
> * Press "*online docs and support*"
> * Internal browser page opens
> * And see the Help system/pages
> h2. actual
> * Nothing happens
> * The  "*Help Contents*" menu entry is *_absent_*
> * The Link  {noformat}
> http://www.netbeans.org/kb/index.html
> {noformat}
> ** Appears to be an out of date page
> ** Also it points to netbeans.org, should it point to Netbeans.Apache.org?
> h2.  Impact
> *  Off line help is essential.
> **  Quite a few project don't have internet access (by choice) 
> *  We are a small lab and we both rely and expect people to be self-reliant 
> that includes being able to find answers through tools like help. and 
> documentation.
> ** We get a lot to of students who haven't used Java or Netbeans
> ** We get C++ and C# programmers who've never used java
> ** We have web developers who don't use Java 
> ** Experienced people may think of help a an "extra" -- it is not in a 
> work-a-day environment with many levels of experience.
> * If you want people to adopt Netbeans, 
> ** (Reliable) HELP is an essential; 
> ** (Reliable) Documentation is essential.
> * I appreciate that this is a Beta version and the documents may be not ready
> **  Show a placeholder IDE Help System
> **  For heaven's sake put that in the landing page for the on-line link
>  



--
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-656) Help is Broken (Offline and On-line)

2018-04-13 Thread Geertjan Wielenga (JIRA)

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

Geertjan Wielenga commented on NETBEANS-656:


JavaHelp is not part of the donation of NetBeans to Apache, since JavaHelp is a 
separate project and not part of NetBeans itself. Plus, it is licensed in such 
a way that it can't be distributed at this time from NetBeans in Apache. So, 
yes, JavaHelp is not going to work, at the moment.

> Help is Broken (Offline and On-line)
> 
>
> Key: NETBEANS-656
> URL: https://issues.apache.org/jira/browse/NETBEANS-656
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI, platform - Help System
>Affects Versions: 9.0
> Environment: Both Windows 10  and Linux 64-bit
>Reporter: will mason
>Priority: Critical
>  Labels: Regression, help, help-requested, help-system
> Fix For: 9.0
>
>
> h2. expected
>  * Press [HELP] menu
> * Press "*Help Contents*"
> * Loading help settings ... (pop-up)
> * Display Netbeans Help window
> * page; "*Using the IDE Help System*"
> _As well_
>  * Press [HELP] menu
> * Press "*online docs and support*"
> * Internal browser page opens
> * And see the Help system/pages
> h2. actual
> * Nothing happens
> * The  "*Help Contents*" menu entry is *_absent_*
> * The Link  {noformat}
> http://www.netbeans.org/kb/index.html
> {noformat}
> ** Appears to be an out of date page
> ** Also it points to netbeans.org, should it point to Netbeans.Apache.org?
> h2.  Impact
> *  Off line help is essential.
> **  Quite a few project don't have internet access (by choice) 
> *  We are a small lab and we both rely and expect people to be self-reliant 
> that includes being able to find answers through tools like help. and 
> documentation.
> ** We get a lot to of students who haven't used Java or Netbeans
> ** We get C++ and C# programmers who've never used java
> ** We have web developers who don't use Java 
> ** Experienced people may think of help a an "extra" -- it is not in a 
> work-a-day environment with many levels of experience.
> * If you want people to adopt Netbeans, 
> ** (Reliable) HELP is an essential; 
> ** (Reliable) Documentation is essential.
> * I appreciate that this is a Beta version and the documents may be not ready
> **  Show a placeholder IDE Help System
> **  For heaven's sake put that in the landing page for the on-line link
>  



--
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-662) Repeated Undo and Redo of Class move makes the Class have wrong package name

2018-04-13 Thread Manikantan Narender Nath (JIRA)
Manikantan Narender Nath created NETBEANS-662:
-

 Summary: Repeated Undo and Redo of Class move makes the Class have 
wrong package name
 Key: NETBEANS-662
 URL: https://issues.apache.org/jira/browse/NETBEANS-662
 Project: NetBeans
  Issue Type: Bug
  Components: java - Refactoring
Affects Versions: 9.0
Reporter: Manikantan Narender Nath


Test spec: Java refactoring 
[http://netbeans-vm.apache.org/synergy/client/app/#/specification/351]

Test ssuite: Move 
[http://netbeans-vm.apache.org/synergy/client/app/#/suite/2020/v/1]

Test case: Class I 
[http://netbeans-vm.apache.org/synergy/client/app/#/case/5112/suite/-1/v/1]

*Steps to reproduce*
 # Open usages.ClassA.java
 # In Project view Move ClassA.java from package usages to package move
 # Open usages.ClassB.Java
 # Press undo and confirm
 # Press redo and confirm

*Expected result*

package declaration in ClassA.java is package usages;

*Actual result*

package declaration in ClassA.java is package move;



--
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-615) Cannot run java application from IDE

2018-04-13 Thread Filippo (JIRA)

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

Filippo edited comment on NETBEANS-615 at 4/13/18 7:52 AM:
---

Do you mean the nbjavac library I can see in the list of installed plugins ?

If the plugin is deactivated the class is still compiled on save (I assume with 
javac of java 10 sdk) but it has *RuntimeException* as the first line.

I'm sure the plugin was installed and activated during my previous tests but 
now it seems to work.

 

 


was (Author: setecastronomy):
Do you mean the nbjavac library I can see in the list of installed plugins ?

If it is active the class compiled on save is ok and I can manually execute it 
with *java*. If the plugin is deactivated the class is till compiled on save 
but it has *RuntimeException* as the first line.

So according to my result executing *run* in the ide causes always the 
compilation of the class with something different from nbjavac (I assume javac 
of java 10 sdk).

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



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

2018-04-13 Thread Filippo (JIRA)

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

Filippo commented on NETBEANS-615:
--

Do you mean the nbjavac library I can see in the list of installed plugins ?

If it is active the class compiled on save is ok and I can manually execute it 
with *java*. If the plugin is deactivated the class is till compiled on save 
but it has *RuntimeException* as the first line.

So according to my result executing *run* in the ide causes always the 
compilation of the class with something different from nbjavac (I assume javac 
of java 10 sdk).

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



[jira] [Created] (NETBEANS-661) Code completion issue - method finishing

2018-04-13 Thread Zsolt Holman (JIRA)
Zsolt Holman created NETBEANS-661:
-

 Summary: Code completion issue - method finishing
 Key: NETBEANS-661
 URL: https://issues.apache.org/jira/browse/NETBEANS-661
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 8.2
 Environment: Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_161; Java HotSpot(TM) 64-Bit Server VM 25.161-b12
Runtime: Java(TM) SE Runtime Environment 1.8.0_161-b12
System: Linux version 4.4.0-119-generic running on amd64; UTF-8; hu_HU (nb)
User directory: /home/figura/.netbeans/8.2
Cache directory: /home/figura/.cache/netbeans/8.2
Reporter: Zsolt Holman
 Attachments: Képernyőkép – 2018-04-13 09-36-38.png

Code completion does not exactly meets the expected result description. 

method(int a) should result method(a) , but actually it results method(0)



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