Portlet Factory, Version 6.1.2


 

IBM WebSphere Portlet Factory Designer Task view error messages

Errors and warnings that result from a builder's generation code are sent to the IDE's Tasks view. These errors include syntax or other errors in your Java code (for example, in the Method builder). By default, the Tasks view is included in the IBM® WebSphere Portlet Factory Models perspective. To add it to the current perspective, click Window > Show View > Other > Basic > Tasks.

For each problem logged in the Tasks view, an icon in the first column indicates the severity of the problem:

  • indicates an Error. Examples of errors are invalid values for builder call inputs and Java coding errors.

  • indicates a Warning.

The displayed information in the other Tasks columns include:

Description

A description of the problem. If the description is too long to fit in the column, right-click on the problem entry in the Tasks view and choose Properties.

Resource

Name of the model in which the problem occurred.

In Folder

Pathname of the model's directory.

Location

Name and type of builder in which the error occurred. If this column is blank, the problem is generic to the model. For example, syntax errors in Java code.

If the problem occurred in a specific builder call, clicking on the Tasks entry will open that builder call in the builder call editor. To get more information on the error, right-click on the error in the Tasks view and choose Properties.

If the error occurred during model generation, clicking on the Tasks entry will open a Generation Errors dialog that gives an explanation of what caused the generation error. When this type of error occurs, no builder is opened in the builder call editor.

 

Application Server Console Messages

Some error messages during a model's execution get written to the application server's console (command) window. You can check the application server's command window for any System.out.println() statements you have included in any of your methods as well.

Parent topic: Overview: debugging an application


Library | Support |