{"action":"created","issue":{"url":"https://api.github.com/repos/tomaz/appledoc/issues/593","repository_url":"https://api.github.com/repos/tomaz/appledoc","labels_url":"https://api.github.com/repos/tomaz/appledoc/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/tomaz/appledoc/issues/593/comments","events_url":"https://api.github.com/repos/tomaz/appledoc/issues/593/events","html_url":"https://github.com/tomaz/appledoc/issues/593","id":171595400,"number":593,"title":"Documentation generated but pages are empty","user":{"login":"TitouanVanBelle","id":1162441,"avatar_url":"https://avatars.githubusercontent.com/u/1162441?v=3","gravatar_id":"","url":"https://api.github.com/users/TitouanVanBelle","html_url":"https://github.com/TitouanVanBelle","followers_url":"https://api.github.com/users/TitouanVanBelle/followers","following_url":"https://api.github.com/users/TitouanVanBelle/following{/other_user}","gists_url":"https://api.github.com/users/TitouanVanBelle/gists{/gist_id}","starred_url":"https://api.github.com/users/TitouanVanBelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TitouanVanBelle/subscriptions","organizations_url":"https://api.github.com/users/TitouanVanBelle/orgs","repos_url":"https://api.github.com/users/TitouanVanBelle/repos","events_url":"https://api.github.com/users/TitouanVanBelle/events{/privacy}","received_events_url":"https://api.github.com/users/TitouanVanBelle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-17T07:49:55Z","updated_at":"2016-12-09T09:46:33Z","closed_at":"2016-08-18T08:20:16Z","body":"I'm facing an issue where the documentation (HTML structure) is generated but the pages are empty and throwing the following error when loading\n\n```\nTypeError: null is not an object (evaluating 'taskTreeItem.getElementsByTagName')\n```\n\nI am running appledoc 2.2.1 (build 1333) macOS Sierra Version 10.12 Beta (16A286a) and Xcode 7.3.1\nand also tried appledoc 2.2.1 (build 1333). I tried installing appledoc the following ways:\n- brew install appledoc\n- git clone + sh: branch=master (appledoc version: 2.2.1 (build 1334))\n- git clone + sh: tag=2.2.1 (appledoc version: 2.2.1 (build 1333))\n\nI created a [small project sample](https://github.com/TitouanVanBelle/AppledocSample) for you to reproduce\n### Command\n\n```\nruby doc.rb\n```\n\n**doc.rb**\n\n```\ndef appledoc_command\n  company = 'MyCompany'\n  company_id = 'com.myCompany'\n  company_url = 'http://www.mycompany.com/'\n  target = 'iphoneos'\n  output_path = 'docs/'\n\n  \"appledoc \\\n  --project-name 'AppledocSample' \\\n  --project-company '#{company}' \\\n  --company-id '#{company_id}' \\\n  --docset-atom-filename '#{company}.atom' \\\n  --docset-feed-url '#{company_url}/#{company}/%DOCSETATOMFILENAME' \\\n  --docset-package-url '#{company_url}/#{company}/%DOCSETPACKAGEFILENAME' \\\n  --docset-fallback-url '#{company_url}/#{company}' \\\n  --output '#{output_path}' \\\n  --docset-platform-family '#{target}' \\\n  --logformat xcode \\\n  --keep-intermediate-files \\\n  --keep-undocumented-objects \\\n  --keep-undocumented-members \\\n  --search-undocumented-doc \\\n  --no-repeat-first-par \\\n  --create-html \\\n  --create-docset \\\n  --install-docset \\\n  --publish-docset \\\n  --no-warn-invalid-crossref \\\n  --exit-threshold 2 \\\n  'sdk/SDK.h'\"\nend\n\nsystem appledoc_command\n```\n### Result\n\n```\n09:51:49 - tito@lt0311 AppledocSample(master)> ruby doc.rb \nappledoc version: 2.2.1 (build 1333)\n\nInitializing...\nParsing source files...\nInitializing parser with settings provider GBApplicationSettingsProvider...\nInitializing objective-c parser with settings provider GBApplicationSettingsProvider...\nParsing objects from 1 paths...\nParsing 'sdk/SDK.h'...\nParsing file 'sdk/SDK.h'...\nParsing source code from 'sdk/SDK.h'...\nParsing objective-c objects...\nInitializing tokenizer...\nInitializing class with name SDK...\nInitializing adopted protocols provider for SDK...\nInitializing ivars provider for SDK...\nInitializing methods provider for SDK...\nMatched SDK class definition at line 18.\nAssigned comment 'This is the SDK' to 'SDK'...\nResetting comments...\nMatched superclass NSObject.\nResetting comments...\nMatched property definition property at line 24.\nAssigned comment 'This is a property' to 'property'...\nSDK: Registering method property...\nSDK: Registering section default...\nResetting comments...\nMatched method +method at line 32.\nAssigned comment 'This is a method …returns an NSStri' to 'method'...\nSDK: Registering method method...\nRegistering class SDK...\nParsed 1 source files.\nParsing static documents from 0 paths...\nParsed 0 static document files.\nFinished parsing in 4ms.\n\nProcessing parsed data...\nInitializing processor with settings provider GBApplicationSettingsProvider...\nInitializing comments processor with settings provider GBApplicationSettingsProvider...\nProcessing parsed objects...\nChecking for known superclasses and adopted protocols...\nMerging known categories to classes...\nProcessing class SDK...\nProcessing method @propertySDK.property...\nProcessing Comment 'This is a property' found in SDK.h...\n- Comment has 2 lines.\n- Found comment block in lines 22..23...\n- Registering short description from This is a property...\n- Registering text block This is a property at SDK.h@22...\n  - Converting cross references in 'This is a property'...\nValidating processed parameters...\nFinished processing method @propertySDK.property.\nProcessing method +[SDK method]...\nProcessing Comment 'This is a method …returns an NSStri' found in SDK.h...\n- Comment has 4 lines.\n- Found comment block in lines 28..30...\n- Registering short description from This is a method...\n- Registering text block This is a method at SDK.h@28...\n  - Converting cross references in 'This is a method'...\n- Found comment block in lines 30..31...\n- Registering return description that returns an NSString at SDK.h@30...\n- Registering text block that returns an NSString at SDK.h@30...\n  - Converting cross references in 'that returns an NSString'...\nRegistering component <GBCommentComponent: 0x7f8ed9d431a0>...\nValidating processed parameters...\nFinished processing method +[SDK method].\nProcessing Comment 'This is the SDK' found in SDK.h...\n- Comment has 2 lines.\n- Found comment block in lines 16..17...\n- Registering short description from This is the SDK...\n- Registering text block This is the SDK at SDK.h@16...\n  - Converting cross references in 'This is the SDK'...\n- Registering text block This is the SDK at SDK.h@16...\n  - Converting cross references in 'This is the SDK'...\nRegistering component <GBCommentComponent: 0x7f8ed9f0ed40>...\nFinished processing class SDK.\nFinished processing in 5ms.\n\nGenerating output...\nInitializing generator with settings provider GBApplicationSettingsProvider...\nGenerating output from parsed objects...\nInitializing generation steps...\nInitializing output generators array...\nInitializing output generator with settings provider GBApplicationSettingsProvider...\nInitializing output generator with settings provider GBApplicationSettingsProvider...\nInitializing output generator with settings provider GBApplicationSettingsProvider...\nInitializing output generator with settings provider GBApplicationSettingsProvider...\nInitializing output generator with settings provider GBApplicationSettingsProvider...\nRunning generation steps...\nGeneration step 1/5: Running GBHTMLOutputGenerator...\nCopying template files from '~/.appledoc/html' to 'docs/html'...\nRemoving output at 'docs/html'...\nCopying template files from '~/.appledoc/html' to 'docs/html'...\nRemoving temporary files from 'docs/html'...\nCreating template handler for template file '~/.appledoc/html/document-template.html'...\nParsing template from /Users/tito/.appledoc/html/document-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template GBCommentComponentsList at line 45...\nFound section template GBCommentComponent at line 49...\nRemoving template file 'document-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/hierarchy-template.html'...\nParsing template from /Users/tito/.appledoc/html/hierarchy-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Classes at line 87...\nFound section template Navigation at line 97...\nRemoving template file 'hierarchy-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/index-template.html'...\nParsing template from /Users/tito/.appledoc/html/index-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Navigation at line 112...\nRemoving template file 'index-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/object-template.html'...\nParsing template from /Users/tito/.appledoc/html/object-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Method at line 280...\nFound section template MethodDeclaration at line 362...\nFound section template TaskTitle at line 367...\nFound section template TaskMethod at line 372...\nFound section template TaskSelector at line 382...\nFound section template GBCommentComponentsList at line 387...\nFound section template Constant at line 391...\nFound section template GBCommentComponent at line 412...\nFound section template ObjectSpecification at line 416...\nFound section template Navigation at line 424...\nFound section template JumpTo at line 431...\nFound section template TableOfContents at line 469...\nRemoving template file 'object-template.html' from output...\nGBHTMLOutputGenerator is generating output...\nGenerating output for class SDK...\nInitializing variables provider...\nInitializing variables provider with settings provider GBApplicationSettingsProvider...\nRendering { object = SDK; p…0x7f8ed9c010e0>\";...\nFinished generating output for class SDK.\nGenerating output for index...\nRendering { blocks = ( ); c…0x7f8ed9c010e0>\";...\nFinished generating output for index.\nGenerating output for hierarchy...\nRendering { blocks = ( ); c…0x7f8ed9c010e0>\";...\nFinished generating output for hierarchy.\nGeneration step 2/5: Running GBDocSetOutputGenerator...\nCopying template files from '~/.appledoc/docset' to 'docs/docset'...\nRemoving output at 'docs/docset'...\nCopying template files from '~/.appledoc/docset' to 'docs/docset'...\nRemoving temporary files from 'docs/docset'...\nCreating template handler for template file '~/.appledoc/docset/Contents/info-template.plist'...\nParsing template from /Users/tito/.appledoc/docset/Contents/info-template.plist...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'Contents/info-template.plist' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/Documents/documents-template'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/Documents/documents-template...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'Contents/Resources/Documents/documents-template' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/nodes-template.xml'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/nodes-template.xml...\nClearing parsed values...\nClearing parsed values...\nFound section template Node at line 75...\nFound section template NodeRef at line 117...\nRemoving template file 'Contents/Resources/nodes-template.xml' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/tokens-template.xml'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/tokens-template.xml...\nClearing parsed values...\nClearing parsed values...\nFound section template TokenIdentifier at line 46...\nFound section template DeclaredIn at line 50...\nFound section template RelatedTokens at line 54...\nFound section template Abstract at line 63...\nFound section template Availability at line 67...\nFound section template Reference at line 71...\nFound section template MethodDeclaration at line 75...\nFound section template GBCommentComponentsList at line 79...\nRemoving template file 'Contents/Resources/tokens-template.xml' from output...\nGBDocSetOutputGenerator is generating output...\nInitializing simplified object representations...\nInitializing simplified representation of SDK with id 1...\nMoving HTML files to DocSet bundle...\nCopying 'docs/html' to 'docs/docset/Contents/Resources/Documents'...\nRemoving 'docs/docset/Contents/Resources/Documents'...\nWriting DocSet Info.plist...\nRendering { bundleIdentifie…publisherName = M...\nWriting DocSet Nodes.xml file...\nRendering { blocks = ( ); c…0x7f8ed9c010e0>\";...\nWriting DocSet Tokens.xml files...\nRegistering component <GBCommentComponent: 0x7f8ed9f0b610>...\nRegistering component <GBCommentComponent: 0x7f8ed9e19a50>...\nRegistering component <GBCommentComponent: 0x7f8ed9e19a50>...\nRegistering component <GBCommentComponent: 0x7f8ed9e19a50>...\nRegistering component <GBCommentComponent: 0x7f8ed9f090e0>...\nRendering { filePath = \"Cla…\"//apple_ref/occ/...\nIndexing DocSet...\nRunning command '/usr/bin/xcrun docsetutil index docs/docset'\n> Indexing AppledocSample Documentation (3 nodes)\n> 1: index.html\n> 2: Classes/SDK.html\n> 3: index.html\n> Loading symbols from /Users/tito/Documents/workspace/fyber/AppledocSample/docs/docset/Contents/Resources/Tokens1.xml\n> *      5 tokens processed (   0.0 sec)\n> Linking up related token references\n> Sorting tokens\nGeneration step 3/5: Running GBDocSetFinalizeGenerator...\nCopying template files from '~/.appledoc' to '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nRemoving output at '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nCopying template files from '~/.appledoc' to '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nRemoving temporary files from '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nCreating template handler for template file '~/.appledoc/docset/Contents/info-template.plist'...\nParsing template from /Users/tito/.appledoc/docset/Contents/info-template.plist...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'docset/Contents/info-template.plist' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/Documents/documents-template'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/Documents/documents-template...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'docset/Contents/Resources/Documents/documents-template' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/nodes-template.xml'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/nodes-template.xml...\nClearing parsed values...\nClearing parsed values...\nFound section template Node at line 75...\nFound section template NodeRef at line 117...\nRemoving template file 'docset/Contents/Resources/nodes-template.xml' from output...\nCreating template handler for template file '~/.appledoc/docset/Contents/Resources/tokens-template.xml'...\nParsing template from /Users/tito/.appledoc/docset/Contents/Resources/tokens-template.xml...\nClearing parsed values...\nClearing parsed values...\nFound section template TokenIdentifier at line 46...\nFound section template DeclaredIn at line 50...\nFound section template RelatedTokens at line 54...\nFound section template Abstract at line 63...\nFound section template Availability at line 67...\nFound section template Reference at line 71...\nFound section template MethodDeclaration at line 75...\nFound section template GBCommentComponentsList at line 79...\nRemoving template file 'docset/Contents/Resources/tokens-template.xml' from output...\nCreating template handler for template file '~/.appledoc/html/document-template.html'...\nParsing template from /Users/tito/.appledoc/html/document-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template GBCommentComponentsList at line 45...\nFound section template GBCommentComponent at line 49...\nRemoving template file 'html/document-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/hierarchy-template.html'...\nParsing template from /Users/tito/.appledoc/html/hierarchy-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Classes at line 87...\nFound section template Navigation at line 97...\nRemoving template file 'html/hierarchy-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/index-template.html'...\nParsing template from /Users/tito/.appledoc/html/index-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Navigation at line 112...\nRemoving template file 'html/index-template.html' from output...\nCreating template handler for template file '~/.appledoc/html/object-template.html'...\nParsing template from /Users/tito/.appledoc/html/object-template.html...\nClearing parsed values...\nClearing parsed values...\nFound section template Method at line 280...\nFound section template MethodDeclaration at line 362...\nFound section template TaskTitle at line 367...\nFound section template TaskMethod at line 372...\nFound section template TaskSelector at line 382...\nFound section template GBCommentComponentsList at line 387...\nFound section template Constant at line 391...\nFound section template GBCommentComponent at line 412...\nFound section template ObjectSpecification at line 416...\nFound section template Navigation at line 424...\nFound section template JumpTo at line 431...\nFound section template TableOfContents at line 469...\nRemoving template file 'html/object-template.html' from output...\nCreating template handler for template file '~/.appledoc/publish/xml-template.xml'...\nParsing template from /Users/tito/.appledoc/publish/xml-template.xml...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'publish/xml-template.xml' from output...\nFinalizing DocSet...\nGBDocSetFinalizeGenerator is generating output...\nMoving DocSet files from 'docs/docset' to '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nInitializing directory at '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nRemoving existing directory...\nCreating directory...\nCopying 'docs/docset' to '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nRemoving '/Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'...\nGeneration step 4/5: Running GBDocSetInstallGenerator...\nInstalling DocSet...\nGBDocSetInstallGenerator is generating output...\nInstalling DocSet to Xcode...\nGeneration step 5/5: Running GBDocSetPublishGenerator...\nCopying template files from '~/.appledoc/publish' to 'docs/publish'...\nRemoving output at 'docs/publish'...\nCopying template files from '~/.appledoc/publish' to 'docs/publish'...\nRemoving temporary files from 'docs/publish'...\nCreating template handler for template file '~/.appledoc/publish/xml-template.xml'...\nParsing template from /Users/tito/.appledoc/publish/xml-template.xml...\nClearing parsed values...\nClearing parsed values...\nRemoving template file 'xml-template.xml' from output...\nPreparing DocSet for publishing...\nGBDocSetPublishGenerator is generating output...\nInitializing directory at 'docs/publish'...\nEnumerating directory contents...\nRunning command '/usr/bin/xcrun docsetutil package -verbose -output docs/publish/com.myCompany.AppledocSample-1.0.xar -atom docs/publish/MyCompany.atom -download-url http:/www.mycompany.com/MyCompany/com.myCompany.AppledocSample-1.0.xar /Users/tito/Library/Developer/Shared/Documentation/DocSets/com.myCompany.AppledocSample.docset'\nFinished generating in 761ms.\n\nFinished in 770ms.\nParsing:    4ms (0%)\nProcessing: 5ms (0%)\nGenerating: 761ms (98%)\nExiting with result 0 (reported result was 0 - higher than 2)...\n```\n"},"comment":{"url":"https://api.github.com/repos/tomaz/appledoc/issues/comments/265973950","html_url":"https://github.com/tomaz/appledoc/issues/593#issuecomment-265973950","issue_url":"https://api.github.com/repos/tomaz/appledoc/issues/593","id":265973950,"user":{"login":"Cylix","id":3252462,"avatar_url":"https://avatars.githubusercontent.com/u/3252462?v=3","gravatar_id":"","url":"https://api.github.com/users/Cylix","html_url":"https://github.com/Cylix","followers_url":"https://api.github.com/users/Cylix/followers","following_url":"https://api.github.com/users/Cylix/following{/other_user}","gists_url":"https://api.github.com/users/Cylix/gists{/gist_id}","starred_url":"https://api.github.com/users/Cylix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cylix/subscriptions","organizations_url":"https://api.github.com/users/Cylix/orgs","repos_url":"https://api.github.com/users/Cylix/repos","events_url":"https://api.github.com/users/Cylix/events{/privacy}","received_events_url":"https://api.github.com/users/Cylix/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T09:46:33Z","updated_at":"2016-12-09T09:46:33Z","body":"Just got the same issue, don't really know why.\r\n\r\nI had my Appledoc installed with Brew. I didn't do any updates but suddenly, the generated HTML files were empty.\r\nUninstalling and then reinstalling with brew didn't solve the issue.\r\n\r\nHowever, uninstalling and then reinstalling from the GitHub repository solved the issue."}}
{"actor":{"display_login":"Cylix"}}