Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Importing .mphtxt/.mphbin file into COMSOL4.1

Please login with a confirmed email address before reporting spam

Hi,

I created a geometry in Eclispe(COMSOL API) and saved that in ".mphtxt" format. When I try to import through server it shows the following error:

The bundle class path entry "e4-workbench.jar" could not be found for the bundle "update@plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar"

and many more errors of this kind.

Am I missing some files in my Comsol Multiphysics package?

Thanks
Sandeep

8 Replies Last Post 21 oct. 2015, 23:54 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 mars 2011, 10:50 UTC−4
This problem is solved. Thank you.

Sandeep
This problem is solved. Thank you. Sandeep

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 9 juil. 2011, 21:11 UTC−4
You don't happen to know how you solved it by chance, I have a similar problem

Getting rather annoying spending time building a model only for it not to be able to be loaded later on.

Regards MF
You don't happen to know how you solved it by chance, I have a similar problem Getting rather annoying spending time building a model only for it not to be able to be loaded later on. Regards MF

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 9 juil. 2011, 23:24 UTC−4
MF

It has taken a while for me to figure out that. Let me know If I can help you with your problem, unless it is already solved.

sandeep
MF It has taken a while for me to figure out that. Let me know If I can help you with your problem, unless it is already solved. sandeep

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 juil. 2011, 20:38 UTC−4
Well any help is appreciated,

I have no idea why but simply altering the model and saving it, (sometimes) and then later trying to re upload causes it give the same error and the model is now useless and i have to remake it from scratch or an older file.

Here is part of the error

00000:000 INFO Loggers starting up... [com.comsol.logger]
00000:005 INFO File logger initialized. [com.comsol.logger]
00000:012 INFO Loggers registered with log service. [com.comsol.logger]
00000:014 INFO ServiceEvent REGISTERED [org.eclipse.equinox.log]
00000:016 INFO Loggers completed starting. [com.comsol.logger]
00000:016 INFO BundleEvent STARTED [org.eclipse.equinox.log]
00000:017 INFO BundleEvent STARTED [com.comsol.logger]
00000:022 INFO BundleEvent STARTED [com.comsol.gui]
00000:023 INFO BundleEvent STARTED [com.comsol.guimph]
00000:072 INFO BundleEvent STARTED [com.comsol.nativejni]
00000:076 INFO BundleEvent STARTED [com.comsol.widgets]
00000:079 INFO BundleEvent STARTED [com.comsol.clientserver]
00000:088 INFO BundleEvent STARTED [org.eclipse.emf.common]
00000:096 INFO BundleEvent STARTED [org.eclipse.emf.ecore]
00000:127 INFO BundleEvent STARTED [org.eclipse.emf.cdo.common]
00000:128 INFO BundleEvent STARTED [org.eclipse.emf.cdo]
00000:130 INFO BundleEvent STARTED [org.eclipse.net4j]
00000:131 INFO BundleEvent STARTED [org.eclipse.net4j.tcp]
00000:132 INFO BundleEvent STARTED [org.eclipse.net4j.util]
00000:134 INFO BundleEvent STARTED [com.comsol.nativeutil]
00000:144 INFO BundleEvent STARTED [com.comsol.model]
00000:181 INFO BundleEvent STARTED [com.comsol.post]
00000:237 INFO BundleEvent STARTED [org.eclipse.emf.edit]
00000:239 INFO BundleEvent STARTED [com.comsol.model.edit]
00000:243 INFO BundleEvent STARTED [org.eclipse.jface]
00000:244 INFO BundleEvent STARTED [org.eclipse.help]
00000:256 INFO BundleEvent STARTED [com.comsol.loader]
00000:357 INFO BundleEvent STARTED [org.eclipse.emf.ecore.xmi]
00000:658 INFO BundleEvent STARTED [com.comsol.guicapeopen]
00000:675 INFO BundleEvent STARTED [com.comsol.guipost]
00000:699 INFO BundleEvent STARTED [com.comsol.nativemph]
00000:737 INFO BundleEvent STARTED [com.comsol.graphics]
00000:764 INFO BundleEvent STARTED [com.comsol.widgets.swt]
00001:327 INFO BundleEvent STARTED [com.comsol.guiswt]
00001:329 INFO org.osgi.framework.FrameworkEvent[source=org.eclipse.ui.workbench_3.5.2.M20100113-0800 [161]] [org.eclipse.ui.workbench]
org.osgi.framework.BundleException: The bundle class path entry "e4-workbench.jar" could not be found for the bundle "update@plugins/org.eclipse.ui.workbench_3.5.2.M20100113-0800.jar"
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassPathEntry(ClasspathManager.java:172)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.buildClasspath(ClasspathManager.java:149)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.initialize(ClasspathManager.java:83)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.initialize(DefaultClassLoader.java:199)
at org.eclipse.osgi.internal.loader.BundleLoader.createBCL(BundleLoader.java:843)
at org.eclipse.osgi.internal.loader.BundleLoader.createBCLPrevileged(BundleLoader.java:819)
at org.eclipse.osgi.internal.loader.BundleLoader.createClassLoader(BundleLoader.java:365)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at com.comsol.util.classes.b$a.b(Unknown Source)
at com.comsol.gui.d.b(Unknown Source)
at com.comsol.gui.d.(Unknown Source)
at com.comsol.guimph.f.(Unknown Source)
at com.comsol.guimph.f.(Unknown Source)
at com.comsol.guimph.MphApplication.a(Unknown Source)
at com.comsol.gui.CsApplication.startApplication(Unknown Source)
at com.comsol.gui.CsApplication.doStart(Unknown Source)
at com.comsol.guimph.MphApplication.doStart(Unknown Source)
at com.comsol.util.application.ComsolApplication.doStart(Unknown Source)
at com.comsol.util.application.CsBaseApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Well any help is appreciated, I have no idea why but simply altering the model and saving it, (sometimes) and then later trying to re upload causes it give the same error and the model is now useless and i have to remake it from scratch or an older file. Here is part of the error 00000:000 INFO Loggers starting up... [com.comsol.logger] 00000:005 INFO File logger initialized. [com.comsol.logger] 00000:012 INFO Loggers registered with log service. [com.comsol.logger] 00000:014 INFO ServiceEvent REGISTERED [org.eclipse.equinox.log] 00000:016 INFO Loggers completed starting. [com.comsol.logger] 00000:016 INFO BundleEvent STARTED [org.eclipse.equinox.log] 00000:017 INFO BundleEvent STARTED [com.comsol.logger] 00000:022 INFO BundleEvent STARTED [com.comsol.gui] 00000:023 INFO BundleEvent STARTED [com.comsol.guimph] 00000:072 INFO BundleEvent STARTED [com.comsol.nativejni] 00000:076 INFO BundleEvent STARTED [com.comsol.widgets] 00000:079 INFO BundleEvent STARTED [com.comsol.clientserver] 00000:088 INFO BundleEvent STARTED [org.eclipse.emf.common] 00000:096 INFO BundleEvent STARTED [org.eclipse.emf.ecore] 00000:127 INFO BundleEvent STARTED [org.eclipse.emf.cdo.common] 00000:128 INFO BundleEvent STARTED [org.eclipse.emf.cdo] 00000:130 INFO BundleEvent STARTED [org.eclipse.net4j] 00000:131 INFO BundleEvent STARTED [org.eclipse.net4j.tcp] 00000:132 INFO BundleEvent STARTED [org.eclipse.net4j.util] 00000:134 INFO BundleEvent STARTED [com.comsol.nativeutil] 00000:144 INFO BundleEvent STARTED [com.comsol.model] 00000:181 INFO BundleEvent STARTED [com.comsol.post] 00000:237 INFO BundleEvent STARTED [org.eclipse.emf.edit] 00000:239 INFO BundleEvent STARTED [com.comsol.model.edit] 00000:243 INFO BundleEvent STARTED [org.eclipse.jface] 00000:244 INFO BundleEvent STARTED [org.eclipse.help] 00000:256 INFO BundleEvent STARTED [com.comsol.loader] 00000:357 INFO BundleEvent STARTED [org.eclipse.emf.ecore.xmi] 00000:658 INFO BundleEvent STARTED [com.comsol.guicapeopen] 00000:675 INFO BundleEvent STARTED [com.comsol.guipost] 00000:699 INFO BundleEvent STARTED [com.comsol.nativemph] 00000:737 INFO BundleEvent STARTED [com.comsol.graphics] 00000:764 INFO BundleEvent STARTED [com.comsol.widgets.swt] 00001:327 INFO BundleEvent STARTED [com.comsol.guiswt] 00001:329 INFO org.osgi.framework.FrameworkEvent[source=org.eclipse.ui.workbench_3.5.2.M20100113-0800 [161]] [org.eclipse.ui.workbench] org.osgi.framework.BundleException: The bundle class path entry "e4-workbench.jar" could not be found for the bundle "update@plugins/org.eclipse.ui.workbench_3.5.2.M20100113-0800.jar" at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassPathEntry(ClasspathManager.java:172) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.buildClasspath(ClasspathManager.java:149) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.initialize(ClasspathManager.java:83) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.initialize(DefaultClassLoader.java:199) at org.eclipse.osgi.internal.loader.BundleLoader.createBCL(BundleLoader.java:843) at org.eclipse.osgi.internal.loader.BundleLoader.createBCLPrevileged(BundleLoader.java:819) at org.eclipse.osgi.internal.loader.BundleLoader.createClassLoader(BundleLoader.java:365) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381) at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at com.comsol.util.classes.b$a.b(Unknown Source) at com.comsol.gui.d.b(Unknown Source) at com.comsol.gui.d.(Unknown Source) at com.comsol.guimph.f.(Unknown Source) at com.comsol.guimph.f.(Unknown Source) at com.comsol.guimph.MphApplication.a(Unknown Source) at com.comsol.gui.CsApplication.startApplication(Unknown Source) at com.comsol.gui.CsApplication.doStart(Unknown Source) at com.comsol.guimph.MphApplication.doStart(Unknown Source) at com.comsol.util.application.ComsolApplication.doStart(Unknown Source) at com.comsol.util.application.CsBaseApplication.start(Unknown Source) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 10 juil. 2011, 21:31 UTC−4
I got couple of suggestions(by the first idea I got from your explanation). These may be silly and useless, but that particular error you posted went off by doing these things

i.) One weird thing I observed is, When I connect my COMSOL Multiphysics to server and try to upload already created .mphtxt file, I got to make sure the eclipse window is closed completely and not running. In short, Comsol didn't like eclipse window open, when I am attempting a connection with server or importing the file.

ii) Did you try using a different file name ?

Finally, can you elaborate on the situation the error arises, like where you are altering and saving the model(the imported one in comsol or you are altering the java code in eclipse)?
I got couple of suggestions(by the first idea I got from your explanation). These may be silly and useless, but that particular error you posted went off by doing these things i.) One weird thing I observed is, When I connect my COMSOL Multiphysics to server and try to upload already created .mphtxt file, I got to make sure the eclipse window is closed completely and not running. In short, Comsol didn't like eclipse window open, when I am attempting a connection with server or importing the file. ii) Did you try using a different file name ? Finally, can you elaborate on the situation the error arises, like where you are altering and saving the model(the imported one in comsol or you are altering the java code in eclipse)?

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 22 déc. 2014, 03:39 UTC−5

Hi,

I created a geometry in Eclispe(COMSOL API) and saved that in ".mphtxt" format. When I try to import through server it shows the following error:

Dear Sandeep
How can one save .mphtxt or .mphbin file in COMSOL?
I want to save my mesh or geometry in terms of .mphtxt file from comsol.
Thanking you.
[QUOTE] Hi, I created a geometry in Eclispe(COMSOL API) and saved that in ".mphtxt" format. When I try to import through server it shows the following error: Dear Sandeep How can one save .mphtxt or .mphbin file in COMSOL? I want to save my mesh or geometry in terms of .mphtxt file from comsol. Thanking you.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 22 déc. 2014, 04:12 UTC−5
Yes, I got it.
Thanking you.
Yes, I got it. Thanking you.

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 21 oct. 2015, 23:54 UTC−4
how you will solve it
didarul
how you will solve it didarul

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.