This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270687 - In Help IDE displays "C/C++/Fortran Development" section only
Summary: In Help IDE displays "C/C++/Fortran Development" section only
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Other
: P1 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 20:16 UTC by soldatov
Modified: 2017-05-25 18:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2017-05-19 20:16:05 UTC
I downloaded internal NetBeans 8.2 with all plug-ins. In my environment "C/C++", "Java", "Groovy", "Html5" plug-ins are activated. I opened some Java project, but in Help I see "C/C++/Fortran Development" section only.

Workaround: type "Php" or "Java" in Search tab.
Comment 1 ilia 2017-05-22 06:52:55 UTC
It seems that help in 8.2 without patches is broken too.
Comment 2 ilia 2017-05-22 13:10:10 UTC
AFAIK help files (packed in jar, zip, whatever) should contain map.xml file which determines help mappings.

In 8.2 installation directory only cnd cluster and general help contain such files:

ilia:/usr/local/netbeans-8.2$ find . -name docs -exec grep -r map.xml {}  +
Binary file ./cnd/modules/docs/org-netbeans-modules-cnd.jar matches
Binary file ./ide/modules/docs/org-netbeans-modules-usersguide.jar matches
Comment 3 ilia 2017-05-22 13:18:58 UTC
Please ignore last comment, I did grep in directories named "docs" only.
Comment 4 ilia 2017-05-22 15:14:47 UTC
This happens if I call Help (F1) while Java project is selected.


FINE [org.netbeans.modules.javahelp]: HelpCtx HelpCtx[org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode] from org.openide.explorer.view.TreeView$ExplorerTree...
FINE [org.netbeans.ui.javahelp]: Showing help ID: org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode
FINE [org.netbeans.modules.javahelp]: getting master...
FINE [org.netbeans.modules.javahelp]: getting master...done
FINE [org.netbeans.modules.javahelp]: finding help set for org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode...
FINE [org.netbeans.modules.javahelp]: listing helpsets: [Core IDE Help, C/C++/Fortran Development]
WARNING [org.netbeans.modules.javahelp]: Warning: the JavaHelp topic ID org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode was not found.
FINE [org.netbeans.modules.javahelp]: finding help set for org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode...done
FINE [org.netbeans.modules.javahelp]: displayHelpInFrame
FINE [org.netbeans.modules.javahelp]: ensureFrameViewer
FINE [org.netbeans.modules.javahelp]: displayInJHelp: org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode null
WARNING [org.netbeans.modules.javahelp]: Warning: the JavaHelp topic ID org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode was not found.
INFO [org.netbeans.modules.sampler.InternalSampler]: Slowness detector disabled - running in debug mode
FINE [org.netbeans.modules.javahelp]: HelpCtx HelpCtx[org.netbeans.modules.java.j2seproject.ui.J2SELogicalViewProvider.J2SELogicalViewRootNode] from org.openide.explorer.view.TreeView$ExplorerTree...
Comment 5 ilia 2017-05-24 11:02:31 UTC
From mail:

I was able to add help for Docker with this fix:

diff --git a/cnd/javahelp/org/netbeans/modules/cnd/help/cndHelp.jhp b/cnd/javahelp/org/netbeans/modules/cnd/help/cndHelp.jhp
--- a/cnd/javahelp/org/netbeans/modules/cnd/help/cndHelp.jhp
+++ b/cnd/javahelp/org/netbeans/modules/cnd/help/cndHelp.jhp
@@ -419,6 +419,12 @@
 				<file title="WorkingWithJNA.html"/>
 				<file title="WorkingWithJNI.html"/>
 			</directory>
+			<directory title="Docker">
+				<file title="AboutDocker.html"/>
+				<file title="AddingDockerInstance.html"/>
+				<file title="BuildImageDialog.html"/>
+				<file title="RunningDockerContainers.html"/>
+			</directory>
 			<file title="cnd.hs"/>
 			<file title="cndTOC.xml"/>
 			<file title="credits.html"/>