Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in Cannot read property 'content' of null #4165

Closed
beeman opened this issue Jan 22, 2017 · 3 comments · Fixed by #4168
Closed

ERROR in Cannot read property 'content' of null #4165

beeman opened this issue Jan 22, 2017 · 3 comments · Fixed by #4168
Labels
P0 Issue that causes an outage, breakage, or major function to be unusable, with no known workarounds type: bug/fix

Comments

@beeman
Copy link
Contributor

beeman commented Jan 22, 2017

Please provide us with the following information:

OS?

macOS Sierra

Versions.

Running of angular/angular-cli#master

angular-cli: 1.0.0-beta.26
node: 7.2.0
os: darwin x64
@angular/common: 2.4.4
@angular/compiler: 2.4.4
@angular/core: 2.4.4
@angular/forms: 2.4.4
@angular/http: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/router: 3.4.4
@angular/compiler-cli: 2.4.4

Repro steps.

The log given by the failure.

Normally this include a stack trace and some more information.

After editing the app rebuilds and this message appears:

ERROR in Cannot read property 'content' of null

No further stack-trace available.

Mention any other details that might be useful.

The app seems to work though this message persists.

@filipesilva
Copy link
Contributor

Can confirm this happens:

image

kamik@T460p MINGW64 /d/sandbox/master-project (master)
$ ng serve -o
** NG Live Development Server is running on http://localhost:4200. **
 10% building modules 6/11 modules 5 active ...t\node_modules\@angular\core\index.jswebpack: wait until bundle finished: /
Hash: 2583d4a7fddc703271c3
Time: 9820ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 222 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.map (main) 62.2 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.map (styles) 9.96 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.57 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
Hash: 70192ef2c5a1c620ab15
Time: 956ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.map (polyfills) 222 kB {4} [initial]
chunk    {1} main.bundle.js, main.bundle.map (main) 62.2 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.map (styles) 9.96 kB {4} [initial]
chunk    {3} vendor.bundle.js, vendor.bundle.map (vendor) 2.57 MB [initial]
chunk    {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry]

ERROR in Cannot read property 'content' of null
webpack: bundle is now VALID.

kamik@T460p MINGW64 /d/sandbox/master-project (master)
$

@filipesilva filipesilva added command: serve P0 Issue that causes an outage, breakage, or major function to be unusable, with no known workarounds type: bug/fix labels Jan 22, 2017
@filipesilva
Copy link
Contributor

Also seems to happen when changing .ts and .css files.

filipesilva added a commit to filipesilva/angular-cli that referenced this issue Jan 22, 2017
MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this issue Feb 9, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P0 Issue that causes an outage, breakage, or major function to be unusable, with no known workarounds type: bug/fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants