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

crash when running pub build #17148

Closed
DartBot opened this issue Feb 26, 2014 · 5 comments
Closed

crash when running pub build #17148

DartBot opened this issue Feb 26, 2014 · 5 comments
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response) web-dart2js

Comments

@DartBot
Copy link

DartBot commented Feb 26, 2014

This issue was originally filed by robert.w.ha...@gmail.com


What is the expected output? What do you see instead?

I expect a successful build but instead the compiler crashes.

What version of the product are you using? On what operating system?

Windows 7, Dart Editor version 1.1.3.release (STABLE)
, 32314

Please provide any additional information below.

--- 26.02.2014 20:22:40 Running pub build ... ---
Pub build failed, [65] Building animatr_gui....
[Warning from polymer (Linter) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:330:96: Expected tag name. Got something else instead
[Warning from polymer (Linter) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:340:96: Expected tag name. Got something else instead
[Warning from polymer (InlineCodeExtractor) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:330:96: Expected tag name. Got something else instead
[Warning from polymer (InlineCodeExtractor) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:340:96: Expected tag name. Got something else instead
[Warning from polymer (BuildFilter) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:330:96: Expected tag name. Got something else instead
[Warning from polymer (BuildFilter) on animatr_gui|web/docs/logging/Level.html]:
web/docs/logging/Level.html:340:96: Expected tag name. Got something else instead
The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (build number could not be determined), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

[Dart2JS on animatr_gui|web/animatr.dart]:
packages\animatr_gui\panels\properties.dart:3:42: Error: The compiler crashed when compiling this element.
class PropertiesPanel extends Panel with ChangeNotifier {
                                         ^^^^^^^^^^^^^^
Build error:
Transform Dart2JS on animatr_gui|web/animatr.dart threw error: The null object does not have a method 'isSetter'.

NoSuchMethodError : method not found: 'isSetter'
Receiver: null
Arguments: []
dart:core Object.noSuchMethod
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 645 TypeGraphInferrerEngine.updateParameterAssignments
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_nodes.dart 449 StaticCallSiteTypeInformation.addToGraph
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 791 TypeGraphInferrerEngine.registerCalledElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 1083 SimpleTypeInferrerVisitor.handleStaticSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 1040 SimpleTypeInferrerVisitor.visitGetterSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\resolved_visitor.dart 24 ResolvedVisitor.visitSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\tree\nodes.dart 355 Send.accept
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\inferrer_visitor.dart 644 InferrerVisitor.visit
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 468 SimpleTypeInferrerVisitor.run.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\elements\modelx.dart 1363 FunctionSignatureX.forEachOptionalParameter
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 465 SimpleTypeInferrerVisitor.run
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 540 TypeGraphInferrerEngine.analyze.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 499 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 523 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 500 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 539 TypeGraphInferrerEngine.analyze
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 473 TypeGraphInferrerEngine.runOverAllElements.<fn>
dart:core List.forEach
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 465 TypeGraphInferrerEngine.runOverAllElements
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 936 TypeGraphInferrer.analyzeMain
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\types\types.dart 345 TypesTask.onResolutionComplete.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1561 CompilerTask.measure
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\types\types.dart 344 TypesTask.onResolutionComplete
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1111 Compiler.compileLoadedLibraries
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1011 Compiler.runCompiler.<fn>
dart:isolate _RawReceivePortImpl._handleMessage

The compiler is broken.

When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.

The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.

Please include the following information:

* the name and version of your operating system,

* the Dart SDK build number (build number could not be determined), and

* the entire message you see here (including the full stack trace
  below as well as the source location above).

[Dart2JS on animatr_gui|web/animatr.html_bootstrap.dart]:
packages\animatr_gui\panels\properties.dart:3:42: Error: The compiler crashed when compiling this element.
class PropertiesPanel extends Panel with ChangeNotifier {
                                         ^^^^^^^^^^^^^^
Build error:
Transform Dart2JS on animatr_gui|web/animatr.html_bootstrap.dart threw error: The null object does not have a method 'isSetter'.

NoSuchMethodError : method not found: 'isSetter'
Receiver: null
Arguments: []
dart:core Object.noSuchMethod
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 645 TypeGraphInferrerEngine.updateParameterAssignments
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_nodes.dart 449 StaticCallSiteTypeInformation.addToGraph
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 791 TypeGraphInferrerEngine.registerCalledElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 1083 SimpleTypeInferrerVisitor.handleStaticSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 1040 SimpleTypeInferrerVisitor.visitGetterSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\resolved_visitor.dart 24 ResolvedVisitor.visitSend
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\tree\nodes.dart 355 Send.accept
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\inferrer_visitor.dart 644 InferrerVisitor.visit
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 468 SimpleTypeInferrerVisitor.run.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\elements\modelx.dart 1363 FunctionSignatureX.forEachOptionalParameter
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\simple_types_inferrer.dart 465 SimpleTypeInferrerVisitor.run
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 540 TypeGraphInferrerEngine.analyze.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 499 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 523 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 500 Compiler.withCurrentElement
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 539 TypeGraphInferrerEngine.analyze
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 473 TypeGraphInferrerEngine.runOverAllElements.<fn>
dart:core List.forEach
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 465 TypeGraphInferrerEngine.runOverAllElements
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\inferrer\type_graph_inferrer.dart 936 TypeGraphInferrer.analyzeMain
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\types\types.dart 345 TypesTask.onResolutionComplete.<fn>
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1561 CompilerTask.measure
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\types\types.dart 344 TypesTask.onResolutionComplete
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1111 Compiler.compileLoadedLibraries
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\compiler\implementation\compiler.dart 1011 Compiler.runCompiler.<fn>
dart:isolate _RawReceivePortImpl._handleMessage

Build failed.

@iposva-google
Copy link
Contributor

Added Area-Dart2JS, Triaged labels.

@floitschG
Copy link
Contributor

Thanks for the report.

By any chance do you have a reproducable test-case?
We are going to look at the stack trace and try to figure out what went wrong, but it would help a lot if we could reproduce the crash ourselves.


Set owner to @herhut-ggl.

@ghost
Copy link

ghost commented Mar 13, 2014

After looking into the issue I suspect the cause has been fixed in the 1.2 stable release. Could you update to that release and check whether the issue still exists?


Added Accepted label.

@floitschG
Copy link
Contributor

Added NeedsInfo label.

@DartBot DartBot added Type-Defect web-dart2js needs-info We need additional information from the issue author (auto-closed after 14 days if no response) labels Mar 13, 2014
@DartBot DartBot assigned ghost Mar 13, 2014
@sigmundch
Copy link
Member

I'll close this issue assuming that it was fixed in 1.2, but please let us know and share with us a way to reproduce it if you run into it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-info We need additional information from the issue author (auto-closed after 14 days if no response) web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants