Skip to content. | Skip to navigation

Personal tools

Loads of errors when starting up on Windows XP

Up to Installation

Loads of errors when starting up on Windows XP

Posted by Rob Davis at May 28. 2008

I'm really keen to use Frizting to document a project I am building with Tinker.it in London. I downloaded it and whenever i run it i get a load of errors. Here's how it happens:

 

1. Unzip Fritzing and run for first time
2. Create new Fritzing sketch; select folder and filename
3. Get error dialog "Problem opening" "Cannot open input element - Reason:
Error loading diagram". Details show "java.lang.IllegalArgumentException"
4. Click OK and get another error box "Problem Occured" "Error opening the
editor Reason: ERROR"
5. Click OK. "Error opening the editor"

 

I get the same error after restarting Fritzing and restaring the computer.

 

Any answers very much appreacited!

 

Rob

Re: Loads of errors when starting up on Windows XP

Posted by André Knörig at May 28. 2008

Hi Rob,

haven't heard of this problem before, so let's find out together! First, please make sure you have a fairly recent Java version installed (run "java -version" on the command line to find out, should be at 1.5.0_16 or 1.6.0_6), although that's just to be safe.

Then, when you create a new sketch, try using the default name that is suggested.

If the problem persists, please attach the log file and the configuration details. You can find them by clicking Help > About Fritzing > Configuration Details (and from there View Error Log for the log file). This gives us more detailed information about the problem.

Thanks,
andré>

Re: Loads of errors when starting up on Windows XP

Posted by Rob Davis at May 28. 2008

Hi Andre

Thanks for your reply!

Ah interesting - the first ever time i ran Frizting it asked for sketch name and i accepted default (by accident - didn't spot it there). I then tried deleting that and creating a sketch with another name and i think thats when the errors came.

The Java version is:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

Currently the errors are before you even create a new sketch. I deleted Fritzing, reunzipped and ran again. I got a message saying error see log. (So different to before).

Here's log:

 

!SESSION 2008-05-28 09:52:02.176 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2008-05-28 09:52:03.738
!MESSAGE Bundle org.eclipse.update.configurator@3:start not found.

!ENTRY org.eclipse.core.runtime 4 0 2008-05-28 09:52:03.888
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.jobs; bundle-version="[3.2.0,4.0.0)"
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.osgi 4 0 2008-05-28 09:52:03.888
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2008-05-28 09:52:03.908
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:72)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

!ENTRY org.eclipse.osgi 2 0 2008-05-28 09:52:03.918
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-28 09:52:03.918
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.918
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.918
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.918
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.918
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.918
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.2.0,4.0.0).

!ENTRY org.eclipse.osgi 2 0 2008-05-28 09:52:03.938
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-05-28 09:52:03.938
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar/ [2] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing optionally required bundle org.eclipse.core.runtime.compatibility.auth_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2008-05-28 09:52:03.938
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).

Hope that helps!
Rob

Re: Loads of errors when starting up on Windows XP

Posted by André Knörig at May 28. 2008

Hi Rob,

that's weird, and in fact the OS X Leopard people also have problems with the sketch creation wizard. But I think the solution found there doesn't apply to Windows.

From what I understand, it could be that you got an incomplete download ("bundle could not be resolved"). For instance, check if you can find the file fritzing-0005/plugins/org.eclipse.core.runtime_3.3.100.v20070530.jar (it should be 71.5 kB). You could then try a fresh download and see how it goes.

The other thing you could try is to edit the file fritzing-0005/configuration/config.ini and remove the parameter "org.eclipse.update.configurator@3:start,". This is only needed for automatic updates which we don't support anyway, and seems to cause the initial error in your case.

But my guess is that it's an incomplete download ..right?

andré>

Re: Loads of errors when starting up on Windows XP

Posted by Rob Davis at May 28. 2008

Hi Andre

 

THe ZIP seemed complete (29,301,919 bytes) and WinZip reports no error unzipping it. The file you mention is present and sized 73,300 bytes, so no problem there.

 

I downloaded again and unzipped just in case.

 

And now it works!!

 

Thanks!

Re: Loads of errors when starting up on Windows XP

Posted by André Knörig at May 28. 2008

Super, now I'm relieved.. :)
Google Code, which is hosting the downloads, seems to have some troubles occassionally.

Powered by Ploneboard
Document Actions
© 2007- 2008 University of Applied Sciences Potsdam \ Powered by Plone