IBM Support

Java model exceptions in the log

Troubleshooting


Problem

Java™ model exceptions are sometimes logged to report a Java model status about missing files, even though the files that are reported missing can be observed in the workspace.

Symptom

For example:
!ENTRY com.ibm.etools.struts 4 4 Aug 01, 2005 11:01:36.926
!MESSAGE com.ibm.etools.struts.index.jdt.JDTHandleManager@7b547b54
!STACK 1
Java Model Exception: Java Model Status [ShippingProcessSelector.java [in gen.src.com.justorders.selectors.region.shippingprocessing.sel [in <project root> [in OrderProcessingMappingService]]] does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(Unknown Source)
at org.eclipse.jdt.internal.core.CompilationUnit.buildStructure(Unknown Source)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getChildren(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType(Unknown Source)
at org.eclipse.jdt.internal.core.CompilationUnit.getTypes(Unknown Source)
at com.ibm.etools.struts.index.jdt.JDTHandleManager.handleChangedJavaCompilationUnit(Unknown Source)
at com.ibm.etools.struts.index.jdt.JDTHandleManager.handleJavaElementDelta(Unknown Source)
at com.ibm.etools.struts.index.jdt.JDTHandleManager.elementChanged(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessor$2.run(Unknown Source)
at org.eclipse.core.internal.runtime.InternalPlatform.run(Unknown Source)
at org.eclipse.core.runtime.Platform.run(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessor.fire(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(Unknown Source)
at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(Unknown Source)
// . . .

Cause

A component incorrectly references resources under the /gen directory of the module project.

Resolving The Problem

The exception does not adversely impact the function of the product. The exception can be safely ignored.

[{"Product":{"code":"SSQQFK","label":"WebSphere Integration Developer"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Importing and Exporting applications","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.0.1;6.0.1.1;6.0.1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21217749