facebook

Window/Preferences/Java/Compiler error [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #220450 Reply

    kitm
    Member

    – System Setup ——————————-
    Operating System and version: Win2K, v5.0/sp4/build 2195
    Eclipse version: 3.0.1
    Eclipse build id: 200409161125
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: none
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.8.2 w/ QF2 (3.8.2-QuickFix-20041020.zip)
    Eclipse JDK version: 1.4.2_05
    Application Server JDK version: 1.4.2_05
    Are there any exceptions in the Eclipse log file? Yes – see below

    – Message Body ——————————-
    When I started ME today it reported a number of errors re: the assert keyword. (The same project showed no errors yesterday before I shut it down – no changes since then.) So I tried to check the Java Compiler preferences and got an error dialog saying “The currently displayed page contains invalid values.” (I’ve got a screen-shot, but don’t know how to paste it into this post.)

    The log file contained errors – see below. I tried deleting the eclipse configuration dirs and restarting -clean. I found that if I dispatched teh error dialog, selected a different preference (e.g. JUnit), then re-selected Compiler, it displayed the Compiler prefs page with no error, but the prefs were all correct as far as I could see.

    I finally tried doing a fresh install of 3.0.1 and seeing if I got the error. I did not. I then re-installed ME 3.8.2 + QF2 and restarted. Now I get the error. Any Ideas? I’m totally stuck and am on deadline!

    The eclipse log file contains:
    !SESSION Dec 02, 2004 12:03:29.792 ———————————————
    eclipse.buildId=M200409161125
    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.802
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.debug.localVariable (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.842
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.debug.lineNumber (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.852
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.debug.sourceFile (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.862
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.codegen.unusedLocal (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.872
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.882
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.codegen.targetPlatform (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.882
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.882
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.methodWithConstructorName (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.892
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.deprecation (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.892
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.892
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedLocal (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.902
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedParameter (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.912
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.922
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.922
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.assertIdentifier (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.932
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedImport (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.932
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.maxProblemPerUnit (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.932
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.source (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.952
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.compliance (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.962
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.staticAccessReceiver (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.962
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.962
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.noEffectAssignment (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.972
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.972
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedPrivateMember (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.972
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.972
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unnecessaryElse (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.localVariableHiding (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.fieldHiding (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.specialParameterHidingField (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.indirectStaticAccess (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.982
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.emptyStatement (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.992
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.992
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.992
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:29.992
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.02
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.02
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.02
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.12
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.12
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.12
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.doc.comment.support (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.invalidJavadoc (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocTags (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocComments (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.22
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.builder.resourceCopyExclusionFilter (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.builder.invalidClasspath (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.incompleteClasspath (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.circularClasspath (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.32
    !MESSAGE preference option missing: org.eclipse.jdt.core.builder.cleanOutputFolder (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.42
    !MESSAGE preference option missing: org.eclipse.jdt.core.builder.duplicateResourceTask (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.42
    !MESSAGE preference option missing: org.eclipse.jdt.core.incompatibleJDKLevel (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.42
    !MESSAGE preference option missing: org.eclipse.jdt.core.classpath.exclusionPatterns (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.jdt.ui 4 10001 Dec 02, 2004 12:03:30.42
    !MESSAGE preference option missing: org.eclipse.jdt.core.classpath.multipleOutputLocations (org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock)

    !ENTRY org.eclipse.core.runtime 4 2 Dec 02, 2004 12:03:30.152
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock.validateMaxNumberProblems(CompilerConfigurationBlock.java:916)
    at org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock.validateSettings(CompilerConfigurationBlock.java:842)
    at org.eclipse.jdt.internal.ui.preferences.CompilerConfigurationBlock.createContents(CompilerConfigurationBlock.java:291)
    at org.eclipse.jdt.internal.ui.preferences.CompilerPreferencePage.createContents(CompilerPreferencePage.java:65)
    at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:217)
    at org.eclipse.jdt.internal.ui.preferences.CompilerPreferencePage.createControl(CompilerPreferencePage.java:57)
    at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1008)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1003)
    at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:529)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:450)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:448)
    at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:708)
    at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:726)
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:200)
    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195)
    at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:72)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    #220453 Reply

    kitm
    Member

    Never mind! Solution found.

    In an effort to boost eclipse/ME performance, I am using several java params in my script to launch eclipse. I decided to see if any of these was causing the problem and discovered that one of them was.

    My launch command was:
    D:\jdk\bin\java -Xms160m -Xmx256m -Xverify:none -XX:+UseConcMarkSweepGC -XX:CompileThreshold=250 -cp D:\eclipse\startup.jar org.eclipse.core.launcher.Main -data D:\eclipse-workspace -nosplash

    When I remove the -Xverify:none, the problem goes away. When I put it back, the problem comes back. I have no idea why turning off bytecode verification causes a problem for ME. Nor do I understand why it worked for several weeks before surfacing. (I’ve had this lauch script since early November.) But at least I’m back up and able to work on my jsps.

    -Kit

    #220457 Reply

    Scott Anderson
    Participant

    Kit,

    Bizarre. Thanks for posting the solution back as I’m sure it will help others.

    #220929 Reply

    I thought I would share that we had the same exact problem and removing the commandline option -Xverify:none worked in our case as well. Very strange…

    Thanks for following up on the forum kit!

    Tyler.

    #221725 Reply

    Eric Rizzo
    Member

    Same here. I was going mad trying to narrow it down, and figured ME testing team would have seen such an obvious problem (I was getting it on a brand new install of both Eclipse 3.0.1 and ME 3.8.3).
    I’m glad to see it is because of an unusual JVM option, but I think the ME team should investigate this as a bug – the verify:none option is a useful one to have.

    Also, perhaps this should be made sticky or put a troubleshooting FAQ ro something…

    #224244 Reply

    branscomp
    Member

    Even stranger still, I was getting this problem and I did NOT have Xverify:none set. So I set it, and the problem went away. The complete opposite of what everyone else reported.

    cheers

    Paul Branscombe

    #224260 Reply

    Riyad Kalla
    Member

    Ha, Paul thank you for the followup, that is certainly strange. We have another thread with 2 users that see typing backwards in the JSP editor when using JDK 5.0 and the other sees it when using JDK 1.4.2… naturally when they both switched to the opposing JDK, the problem went away, weird.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Window/Preferences/Java/Compiler error [Closed]

You must be logged in to post in the forum log in