Fixes are available
APAR status
Closed as program error.
Error description
AbortCompilation when invoking content assist Product: Rational Software Architect for WebSphere 7.5.4 There are a.jar, b.jar which requires a.jar, project C, which re quires a.jar, b.jar and delivers some classes, but exports only classes ? b.ja r, and project D. In project D in main a class from b.jar (which extends class fro m a.jar) is declared as field. Now content proposal checks if it is possible to use that field as a parameter in content assists, and fails, because there is no a.jar on clas spath =? we cannot check if the field can be used as a String (in that case) . Stack trace shown in .log: !ENTRY org.eclipse.ui 4 0 2009-10-27 08:18:36.577 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.jdt.internal.compiler.problem.AbortCompilation at org.eclipse.jdt.internal.compiler.problem.ProblemHandler. handle(Unknown Source) at org.eclipse.jdt.internal.compiler.problem.ProblemHandler. handle(Unknown Source) at org.eclipse.jdt.internal.compiler.problem.ProblemReporter .handle(Unknown Source) at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClas sPathCorrect(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBind ing.resolve(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resol veType(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.super class(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.isSupe rclassOf(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.isComp atibleWith0(Unknown Source) at org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.isComp atibleWith(Unknown Source) at org.eclipse.jdt.internal.codeassist.InternalExtendedCompletionCo ntext.getVisibleElements(Unknown Source) at org.eclipse.jdt.core.CompletionContext.getVisibleElements (Unknown Source) at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal. getAssignableElements(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal. guessParameters(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal. computeGuessingCompletion(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal. computeReplacementString(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal .getReplacementString(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProp osal.apply(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.JavaMethodCompletionPropos al.apply(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal. apply(Unknown Source) at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProp osal.apply(Unknown Source) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.ins ertProposal(Unknown Source) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.ins ertSelectedProposalWithMask(Unknown Source) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.ver ifyKey(Unknown Source) at org.eclipse.jface.text.contentassist.ContentAssistant$InternalLi stener.verifyKey(Unknown Source) at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.veri fyKey(Unknown Source)
Local fix
Problem summary
Invoking content assist causes AbortCompilation exception.
Problem conclusion
Error handling was improved so that unexpected errors are logged without impeding workflow.
Temporary fix
Comments
APAR Information
APAR number
PK99777
Reported component name
SW ARCHITECT WI
Reported component ID
5724I7001
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-10-28
Closed date
2010-04-01
Last modified date
2010-04-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SW ARCHITECT WI
Fixed component ID
5724I7001
Applicable component levels
R750 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"750","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"750","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]
Document Information
Modified date:
01 April 2010