Errors and Warnings

This section lists errors and warnings that may occur in applications built using the DevExtreme SPA framework at runtime.

E3001

Occurs when the application's router cannot parse the URI to which the application navigates.

You can see the URI to which the application navigates in the browser's address bar. Check whether the URI is correct. If yes, check to which routing rules this URL must conform. If it conforms to none of the rules, add/change the rules or change the URI.

NOTE
Run the application in a browser without the DevExtreme Simulator to see the current URI.

E3002

Occurs when the application's router cannot generate a URI using the specified object.

Check to which routing rules the specified object must conform. If it conforms to none of the rules, add/change the rules or change the object.

E3003

Occurs when the navigate() method is called during application initialization.

You can handle the application's initialized event to call the navigate() method.

E3004

Occurs when trying to execute a disabled command.

The command's disabled state is specified by the disabled option. A disabled command is displayed by a disabled widget.

E3005

Occurs when a command added to a view is not registered in the application's command mapping.

E3006

Occurs when an unknown value is passed as the target parameter of the HtmlApplication.navigate(uri, options) method.

The target parameter can be set to 'blank' or 'current'.

E3007

Occurs when you restore the application's state.

When an error occurs while you restore the application's state, the state is cleared. Rerun the application or refresh the application's page to continue working.

E3008

An internal error occurred when navigating back to a view.

Please refer to our Support Center.

E3009

An internal error occurred when navigating forward to a view.

Please refer to our Support Center.

E3010

Occurs when an identifier is not specified for a command.

Specify the id configuration option for the command that takes place in the markup passed in the error's message.

E3011

Occurs when an appropriate controller is not found for the current context within the application's registered controllers.

To investigate the problem, take a look at the JSON object that is provided in the browser's console. This object defines the current context and the registered controllers that are appropriate in the current context. In addition, check to make sure that a file with the required controller is referenced in the application.

E3012

Occurs when more than one layout controller is appropriate in the current context.

To choose the controller to be used in the current context, the objects added to the application's layout set are considered. These objects define which layout controllers should be used in different contexts. When several objects (registrations) suit the current context, this error occurs. To investigate the problem, use the information that is provided in the browser's console - you will see the current context and the list of competitive registrations. To have only one kind of registration in the current context, define it more specifically within the layout set or handle the application's resolveLayoutController event.

E3013

Occurs when an HTML template with the specified view name is not found for the current device.

Try the following solutions for the problem.

  • Check to make sure that the same view name, including the case, is specified for the view option of the dxView component, for the function that returns a ViewModel for the view and for the navigation parameter holding the view name.
  • Check to make sure that the HTML file with the view template is linked on the application's page (usually index.html).
  • Check to make sure that the required view is appropriate for the current context - the platform and type of the device on which the application is running.

E3014

Occurs when an unexpected element is found within the dxView element.

The dxView element may include child elements either of the dxCommand or dxContent type. For details on how to define views and fit them into the application's layouts, refer to the Views and Layouts article.

E3015

Occurs when the 'exec' method is called after the 'finalize' method.

This is an internal error. Please refer to our Support Center to solve the problem.

E3016

Occurs when an unknown transition type is specified for the layout's content placeholder.

The acceptable transition types are the following: "none","slide","fade" and "overflow".

E3018

Occurs when the data-options attribute takes an invalid value.

Check that the data-option attribute value has a valid JSON format and does not contain variables. To use variables, use the data-bind attribute instead.

E3019

Occurs when using DevExtreme scripts version 131 and greater for the views implemented on scripts version 122 and lower.

Refer to the View and Layouts article to learn how to define views. Set the required documentation version using the Version chooser in the documentation main menu.

E3020

Occurs when more than one HTML template is appropriate for the required view/layout in the current context.

A view may have several HTML templates - each for a particular platform and type of the device. When navigating to a view, an HTML template appropriate for the current context is chosen. To avoid situations when several templates are appropriate, define contexts for views more specifically. For details, refer to the Context Specific Markup topic.

E3021

Occurs when the loadTemplates(source) method cannot load a view/layout template from the specified source.

Check to confirm that the source specified as a parameter of the loadTemplates() method is valid.

E3022

Occurs when internal application components cannot be initialized.

Please refer to our Support Center.

E3023

Occurs when a navigation item is not found.

This is an internal error. Please refer to our Support Center.

E3024

Occurs when a layout controller is being added to an application within the resolveLayoutController event handler, while this controller is not added to the layout set.

Make sure that the layout is added to the application layout set.

W3001

Appears when an internal error occurs in the framework.

Please refer to our Support Center to solve the problem.

W3002

Appears when an internal error occurs in the framework.

Please refer to our Support Center to solve the problem.

W3003

Appears together with the E3011 error.

Provides information on the occurred error.

W3004

Appears together with the E3012 error.

Provides information on the occurred error.

W3005

Occurs when a direct hash-based navigation is detected.

Use the DevExreme dxAction binding to specify a URL to which to navigate when clicking an HTML element, instead of the using the standard href="#url" attribute.