Github user NightOwl888 commented on the issue:

    https://github.com/apache/lucenenet/pull/206
  
    BTW - I tried running the code generation after copying and pasting the 
repo over to a different directory, and I am getting a null reference exception 
for some reason.
    
    ```
    Done Building Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\L
    uceneDocsPlugins\LuceneDocsPlugins.csproj" (default targets).
    
    Done Building Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\L
    uceneDocsPlugins.sln" (default targets).
    
    
    Build succeeded.
        0 Warning(s)
        0 Error(s)
    
    Time Elapsed 00:00:03.14
    Building metadata...
    [17-08-07 11:44:26.907]Warning:[ExtractMetadata]Error opening project 
F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json: Object reference 
not set to an instance of an object.. Ignored.
    [17-08-07 11:44:26.924]Error:Error extracting metadata for 
F:/Projects/_Test/lucenenet/src/Lucene.Net/Lucene.Net.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.ICU/Lucene.Net.ICU.csproj,F:/Projects/_Test/lucenenet/src/
 
Lucene.Net.Join/Lucene.Net.Join.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.SmartCn/project.json,F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json:
 Object reference not set to an instance of an object.
    [17-08-07 11:44:26.925]Info:Completed in 32619.2671 milliseconds
    
    
    Build failed.
    [17-08-07 11:44:26.966]Warning:[ExtractMetadata]Error opening project 
F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json: Object reference 
not set to an instance of an object.. Ignored.
    [17-08-07 11:44:26.966]Error:Error extracting metadata for 
F:/Projects/_Test/lucenenet/src/Lucene.Net/Lucene.Net.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.ICU/Lucene.Net.ICU.csproj,F:/Projects/_Test/lucenenet/src/
 
Lucene.Net.Join/Lucene.Net.Join.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.SmartCn/project.json,F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json:
 Object reference not set to an instance of an object.
            1 Warning(s)
            1 Error(s)
    
    
    
    F:\Projects\_Test\lucenenet>powershell -file apidocs/docs.ps1 -ServeDocs 1
    
    
        Directory: F:\Projects\_Test\lucenenet\apidocs
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    d-----         8/7/2017   6:43 PM                tools
    
    
        Directory: F:\Projects\_Test\lucenenet\apidocs\tools
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    d-----         8/8/2017   4:45 PM                tmp
    d-----         8/7/2017   6:43 PM                docfx
    d-----         8/7/2017   6:43 PM                nuget
    d-----         8/7/2017   6:43 PM                vswhere
    Cleaning...
    MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files 
(x86)\MSBuild\14.0\bin\amd64'.
    All packages listed in packages.config are already installed.
    
    
        Directory: F:\Projects\_Test\lucenenet
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    d-----         8/7/2017   6:43 PM                PluginsFolder
    Microsoft (R) Build Engine version 15.1.1012.6693
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Building the projects in this solution one at a time. To enable parallel 
build, please add the "/m" switch.
    Build started 8/8/2017 4:45:23 PM.
    Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\LuceneDocsPlugi
    ns.sln" on node 1 (default targets).
    ValidateSolutionConfiguration:
      Building solution configuration "Debug|Any CPU".
    Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\LuceneDocsPlugi
    ns.sln" (1) is building 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins
    \LuceneDocsPlugins\LuceneDocsPlugins.csproj" (2) on node 1 (default 
targets).
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all 
output fi
    les are up-to-date with respect to the input files.
    CoreCompile:
    Skipping target "CoreCompile" because all output files are up-to-date with 
resp
    ect to the input files.
    CopyFilesToOutputDirectory:
      LuceneDocsPlugins -> 
F:\Projects\_Test\lucenenet\apidocs\lucenetemplate\plugi
      ns\LuceneDocsPlugins.dll
    Done Building Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\L
    uceneDocsPlugins\LuceneDocsPlugins.csproj" (default targets).
    
    Done Building Project 
"F:\Projects\_Test\lucenenet\src\docs\LuceneDocsPlugins\L
    uceneDocsPlugins.sln" (default targets).
    
    
    Build succeeded.
        0 Warning(s)
        0 Error(s)
    
    Time Elapsed 00:00:00.39
    Building metadata...
    [17-08-08 09:45:43.390]Warning:[ExtractMetadata]Error opening project 
F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json: Object reference 
not set to an instance of an object.. Ignored.
    [17-08-08 09:45:43.409]Error:Error extracting metadata for 
F:/Projects/_Test/lucenenet/src/Lucene.Net/Lucene.Net.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.ICU/Lucene.Net.ICU.csproj,F:/Projects/_Test/lucenenet/src/
 
Lucene.Net.Join/Lucene.Net.Join.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.SmartCn/project.json,F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json:
 Object reference not set to an instance of an object.
    [17-08-08 09:45:43.410]Info:Completed in 19189.1809 milliseconds
    
    
    Build failed.
    [17-08-08 09:45:43.446]Warning:[ExtractMetadata]Error opening project 
F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json: Object reference 
not set to an instance of an object.. Ignored.
    [17-08-08 09:45:43.447]Error:Error extracting metadata for 
F:/Projects/_Test/lucenenet/src/Lucene.Net/Lucene.Net.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.ICU/Lucene.Net.ICU.csproj,F:/Projects/_Test/lucenenet/src/
 
Lucene.Net.Join/Lucene.Net.Join.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj,F:/Projects/_Test/lucenenet/src/Lucene.Net.Analysis.SmartCn/project.json,F:/Projects/_Test/lucenenet/src/tools/lucene-cli/project.json:
 Object reference not set to an instance of an object.
            1 Warning(s)
            1 Error(s)
    
    
    
    F:\Projects\_Test\lucenenet>
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to