Error while starting build 4055 with jdk 1.4.2

Here is the error i get when starting build 4055 with jdk 1.4.2, apparently IntentionPowerPack plugin is using jdk 1.5 api:
ERROR - ellij.project.impl.ProjectImpl -
ERROR - ellij.project.impl.ProjectImpl - IntelliJ IDEA 5.0.2 Build #4055
ERROR - ellij.project.impl.ProjectImpl - JDK: 1.4.2-p7
ERROR - ellij.project.impl.ProjectImpl - VM: Java HotSpot(TM) Client VM
ERROR - ellij.project.impl.ProjectImpl - Vendor: Sun Microsystems Inc.
ERROR - ellij.project.impl.ProjectImpl - OS: FreeBSD
ERROR - ellij.project.impl.ProjectImpl - Last Action:
ERROR - ellij.project.impl.ProjectImpl -
java.lang.NoSuchMethodError: java.lang.Class.getSimpleName()Ljava/lang/String;
at com.siyeh.ipp.base.Intention.getPrefix(Intention.java:177)
at com.siyeh.ipp.base.Intention.getFamilyName(Intention.java:196)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerIntentionMetaData(IntentionManagerSettings.java:6)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.registerIntentionAndMetaData(IntentionManagerImpl.java:19)
at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.registerIntentionAndMetaData(IntentionManagerImpl.java:25)
at com.siyeh.ipp.IntentionPowerPack.projectOpened(IntentionPowerPack.java:80)
at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:190)
at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:181)
at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:8)
at com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(ProjectManagerImpl.java:9)
at com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerImpl.java:207)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:52)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:146)
at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:54)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:17)
at com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:37)
at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:4)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:106)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:23)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


Thanks,
Dan

0
Avatar
Permanently deleted user

Hello Dan,

Fixed. Thanks.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Here is the error i get when starting build 4055 with jdk 1.4.2,
apparently IntentionPowerPack plugin is using jdk 1.5 api:
ERROR - ellij.project.impl.ProjectImpl -
ERROR - ellij.project.impl.ProjectImpl - IntelliJ IDEA
5.0.2 Build #4055
ERROR - ellij.project.impl.ProjectImpl - JDK: 1.4.2-p7
ERROR - ellij.project.impl.ProjectImpl - VM: Java
HotSpot(TM) Client VM
ERROR - ellij.project.impl.ProjectImpl - Vendor: Sun
Microsystems Inc.
ERROR - ellij.project.impl.ProjectImpl - OS: FreeBSD
ERROR - ellij.project.impl.ProjectImpl - Last Action:
ERROR - ellij.project.impl.ProjectImpl -
java.lang.NoSuchMethodError:
java.lang.Class.getSimpleName()Ljava/lang/String;
at com.siyeh.ipp.base.Intention.getPrefix(Intention.java:177)
at
com.siyeh.ipp.base.Intention.getFamilyName(Intention.java:196)
at
com.intellij.codeInsight.intention.impl.config.IntentionManagerSetting
s.registerIntentionMetaData(IntentionManagerSettings.java:6)
at
com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.re
gisterIntentionAndMetaData(IntentionManagerImpl.java:19)
at
com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.re
gisterIntentionAndMetaData(IntentionManagerImpl.java:25)
at
com.siyeh.ipp.IntentionPowerPack.projectOpened(IntentionPowerPack.java
:80)
at
com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:190)
at
com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.j
ava:181)
at
com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener
.projectOpened(ProjectImpl.java:8)
at
com.intellij.openapi.project.impl.ProjectManagerImpl$1.projectOpened(P
rojectManagerImpl.java:9)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.d(ProjectManagerI
mpl.java:207)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(Proje
ctManagerImpl.java:52)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProjec
t(ProjectManagerImpl.java:146)
at
com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:54)
at
com.intellij.idea.IdeaApplication.c(IdeaApplication.java:17)
at
com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:37)
at
com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.jav
a:5)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(
LaterInvocatorEx.java:4)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java
:35)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:106)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:23)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Thanks,
Dan



0

请先登录再写评论。