- This topic has 6 replies, 3 voices, and was last updated 12 years, 6 months ago by support-tony.
-
AuthorPosts
-
fenyoapaParticipantHi, I have installed BlackBerry plugin and SDK 6.0 to my licenced MyEclipse 10.5 (Indigo).
I get this:Error preverifying class com.google.zxing.BarcodeFormat
java/lang/NoClassDefFoundError: java/lang/Enum
Error!: Error: preverifier failedIn Eclipse Indigo it is working fine (but I wanna use it in MyEclipse).
I played with:
Properties -> Java Compiler -> Compiler Compliance Level (1.3-1.7)
Installed JREs
Java Build Path -> Libraries
I tried to set the Eclipse’s SDK to use (instead of the one in MyEclipse)but I cant resolve this.
When my project used BlackBerry SDK 5.0 it was working fine, but the com.google.zxing.BarcodeFormat is available only in 6.0.
Can somebody help?
support-swapnaModeratorfenyoapa,
Sorry that you are seeing this issue.
I have escalated it to a dev team member. They will get back to you.Sorry for inconvenience caused.
fenyoapaParticipantOk, thank you. I’m waiting for the reply.
support-swapnaModeratorfenyoapa,
Can you please give us additional information to help investigate the issue?
1. Can you please copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?
2. How did you install the BB plugin? If you have downloaded it as zip file, then please share the download link. If you have used an update site, please share the details.
3. Did this plugin install OK on previous releases of MyEclipse ?
4. When exactly do you see the error? Please share the details of what exactly you were doing at the time of occurrence of the error. List out the steps in detail to help us replicate the issue at our end.
5. Clear the contents of the .log file which is located at <workspace dir>/.metadata/.log. Replicate the issue and copy paste the contents of the .log file here for us.
fenyoapaParticipantDear Swapna,
here is my answers, please read point 4 first, maybe the solution is there (somewhere…)****************************************************************************************
****************************************************************************************
1) Installation Details
****************************************************************************************
******************************************************************************************* Date:
2012. június 19. 23:56:40 CEST*** System properties:
OS=WindowsVista
OS version=6.1.0
OS arch=x86
Profile arch=x86
Window system=win32
Java version=1.6.0_13
Workspace=file:/C:/Users/Laci/Workspaces/MyEclipse 10/
VM Args=-Xmx512m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-XX:MaxPermSize=512m
-Djava.class.path=C:\Users\Laci\AppData\Local\Genuitec\MYECLI~1\../Common/plugins/ORB7B5~1.JAR*** Subscription information
Product Id: E2MY (MyEclipse Standard Subscription)
License version: 2.1
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20130516
Number of users: 1*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 10.5
Build id: 10.5-20120615Blueprint: MyEclipse 10
com.genuitec.myeclipse.database – 10.5.0.me201206141911
com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
com.genuitec.myeclipse.editor – 10.5.0.me201206141911
com.genuitec.myeclipse.enterprise.workbench – 10.5.0.me201206141911
com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
com.genuitec.myeclipse.maven – 10.5.0.me201206141911
com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
com.genuitec.myeclipse.orion – 10.5.0.me201206141911
com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
com.genuitec.myeclipse.reports – 10.5.0.me201206141911
com.genuitec.myeclipse.resin – 10.5.0.me201206141911
com.genuitec.myeclipse.struts – 10.5.0.me201206141911
com.genuitec.myeclipse.sun – 10.5.0.me201206141911
com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
com.genuitec.myeclipse.websphere – 10.5.0.me201206141911
com.genuitec.myeclipse.ws – 10.5.0.me201206141911
org.eclipse.birt – 2.6.1.me201206141911
org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
org.eclipse.emf – 2.7.0.v20110606-0949
org.eclipse.gef – 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
org.eclipse.graphiti.feature – 0.8.0.v20110607-1252
org.eclipse.jpt.jpa.feature – 3.0.0.me201206141911
org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
org.eclipse.m2e.feature – 1.0.0.me201206141911
org.eclipse.wst.common.fproj – 3.3.0.me201206141911
org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.xsd – 2.7.0.v20110606-0949
org.springframework.ide.eclipse.feature – 2.9.1.me201206141911com.android.ide.eclipse.adt – 18.0.0.v201203301601-306762
com.android.ide.eclipse.ddms – 18.0.0.v201203301601-306762
com.android.ide.eclipse.hierarchyviewer – 18.0.0.v201203301601-306762
com.android.ide.eclipse.traceview – 18.0.0.v201203301601-306762
com.google.gdt.eclipse.suite.e37.feature – 2.6.1.v201205091048-rel-r37
fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
net.rim.EclipseJDE – 1.5.2.201204302029
org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
org.eclipse.dltk.core – 3.0.0.v20101211-0331-7l-2ED-z0UkhYdtV3_LBO
org.eclipse.dltk.core.index – 3.0.0.v20101026-0553-79–9oA5885GAJ
org.eclipse.draw2d – 3.7.0.v20110425-2050-46-7w3122153603161
org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
org.eclipse.jsf.feature – 3.3.0.me201206141911
org.eclipse.ocl – 3.1.0.v20110606-1427
org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
org.eclipse.php – 3.0.1.v201201110400-7V-79F8NcJTcJTTTJwJJ
org.eclipse.php.sdk – 3.0.0.v201201110400-77-184_2BEICRgM_fMVcz0M4Va9O
org.eclipse.php.source – 3.0.1.v201201110400-7V-79F8NcJTcJTTTJwJJ
org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\Laci\AppData\Local\Genuitec\MyEclipse 10\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Users\Laci\AppData\Local\Genuitec\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
-startup
C:\Users\Laci\AppData\Local\Genuitec\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-install
C:\Users\Laci\AppData\Local\Genuitec\MyEclipse 10
-configuration
C:\Users\Laci\AppData\Local\Genuitec\MyEclipse 10\configuration
-vm
C:\Users\Laci\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll****************************************************************************************
****************************************************************************************
2) Plug-in Details
****************************************************************************************
****************************************************************************************I used the update site : http://www.blackberry.com/go/eclipseUpdate/3.6/java
Details are:BlackBerry Java Plug-in
Version: 1.5.2.201204302029
(c) Copyright Research In Motion 2012. All rights reserved.
Visit http://www.rim.com/Portions copyright:
(c) Copyright Eclipse contributors and others 2000, 2009. All rights reserved.
Visit http://www.eclipse.org/platformThis product includes software developed by the
Apache Software Foundation http://www.apache.org/————–
(If I click in “Plug-in Details” then the popupped table is empty)
————–****************************************************************************************
****************************************************************************************
3) Did this plugin install OK on previous releases of MyEclipse ?
****************************************************************************************
****************************************************************************************I don’t know.
****************************************************************************************
****************************************************************************************
4) When exactly do you see the error?
Please share the details of what exactly you were doing at the time of occurrence of the error.
List out the steps in detail to help us replicate the issue at our end.
****************************************************************************************
****************************************************************************************Yesterday I saw this error when I clicked on “Run as…” -> BalckBerry Simulator.
It was on the BlackBerry’s output console.
Now, I changed the plug-in version back to 5.0 and I using google’s ZXing (not the one in the BB OS 6.0)
Now I see this error in the MyEclipse editor, the letter “p” is underlined in red in the first “package” word in my source file,
and it says :Multiple markers at this line
– The type java.lang.Enum cannot be resolved. It is indirectly referenced from
required .class files
– The type java.lang.Enum cannot be resolved. It is indirectly referenced from
required .class filesI checked, the “java.lang.Enum” is missing from the “net_rim_api.jar” lib (it is the “JRE System library [BlackBerry JRE 5.0.0] of my project)
I reinstalled the plug-in many times.
I tried to add an other jre (ver 7) too (together with bb’s jre) -> doesn’t work.How it is possible, and what can I do?
Thank you!
FL
fenyoapaParticipantI got an e-mail :
Hello,You are receiving this email because you are watching the topic, “BlackBerry plugin 6.0 NoClassDefFoundError: java.lang.Enum” at MyEclipse. This topic has received a reply since your last visit. You can use the following link to view the replies made, no more notifications will be sent until you visit the topic.
http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=131195#131195
BUT WHEN I CLICK IT WRITES:
The topic or post you requested does not exist
Ml, FL
support-tonyKeymasterfenyoapa,
Unfortunately, we added a post to the topic by mistake, then deleted it. That is why you got a notification with an invalid link.
I tried to replicate your BlackBerry problem but couldn’t. I installed the plug-in and SDK 6 to MyEclipse 10.5 on Windows 7. Then I created a new BlackBerry project and ran it on the simulator. I saw no problems. I even added a line of code to reference the com.google.zxing.BarcodeFormat class but had no problems there, either.
In your Java build path, do you have “JRE System Library [BlackBerry JRE 6.0.0]”? The only other place I could see the SDK level mentioned is under Window->Preferences->BlackBerry Java Plug-in->Preprocessor Directives, where the BlackBerrySDK6.0.0 directive is selected, though it doesn’t appear to be editable.
Your problem seems to be the use of the Enum class somewhere in your code. From your initial error, it looks as though the BarcodeFormat class uses enums. However, in searching for the BarcodeFormat class, I discovered that only the most recent version of that class uses enums. So I think that you may have a mixture of different versions of the SDK in your build path, rather than just one. Can you please check that?
You said that you can get this working on eclipse. Is it the same project that is causing the problem on MyEclipse? If so are there any differences between the build path on eclipse and MyEclipse?
If you still see the problem, can you attach a simple BlackBerry project (zipped) that shows the problem, so we can try to replicate the error here?
-
AuthorPosts