Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315888 - [infer type arguments] The fix 'Add type arguments to 'AbstractProject'' generated a null change.
Summary: [infer type arguments] The fix 'Add type arguments to 'AbstractProject'' gene...
Status: CLOSED DUPLICATE of bug 232735
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-05 15:20 EDT by Philippe Marschall CLA
Modified: 2010-06-07 03:20 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Marschall CLA 2010-06-05 15:20:45 EDT
What steps will reproduce the problem?
1. Do a Quick Fix "Add Type Arguments" for a raw type warning where it's not possible to add type arguments. I.E. overriding a method where the superclass method has already a raw type argument.


-- Error Details --
Date: Sat Jun 05 21:15:33 CEST 2010
Message: Internal Error
Severity: Error
Product: Eclipse SDK 3.6.0.v201005201744 (org.eclipse.sdk.ide)
Plugin: org.eclipse.jdt.ui
Session Data:
eclipse.buildId=I20100520-1744
java.version=1.6.0_20
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/marschall/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/marschall/.eclipse_keyring -showlocation

This is a continuation of log file /Users/marschall/Documents/workspace/.metadata/.bak_1.log
Created Time: 2010-06-05 21:13:30.953


Exception Stack Trace:
org.eclipse.core.runtime.CoreException: The fix 'Add type arguments to 'AbstractProject'' generated a null change.
	at org.eclipse.jdt.internal.corext.fix.CompilationUnitRewriteOperationsFix.createChange(CompilationUnitRewriteOperationsFix.java:105)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.FixCorrectionProposal.createTextChange(FixCorrectionProposal.java:155)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.createChange(CUCorrectionProposal.java:389)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.ChangeCorrectionProposal.getChange(ChangeCorrectionProposal.java:310)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.getTextChange(CUCorrectionProposal.java:399)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.CUCorrectionProposal.getAdditionalProposalInfo(CUCorrectionProposal.java:151)
	at org.eclipse.jdt.internal.ui.text.correction.proposals.FixCorrectionProposal.getAdditionalProposalInfo(FixCorrectionProposal.java:133)
	at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Olivier Thomann CLA 2010-06-05 23:25:31 EDT
Move to JDT/UI
Comment 2 Dani Megert CLA 2010-06-07 03:20:05 EDT

*** This bug has been marked as a duplicate of bug 232735 ***