Issues

Issue #34 invalid

Processing 1.5.1 can't get colorutils to work

Brendan Dawes avatarBrendan Dawes created an issue

Hi,

Since upgrading to Processing 1.5.1 I can't get any projects that use colorutils to work, including the examples. I've downloaded the latest libraries and all of them work fine except the colorutils. The error I get is:

Exception in thread "Animation Thread" java.lang.NoSuchMethodError: toxi.util.datatypes.GenericSet.<init>([Ljava/lang/Object;)V
	at toxi.color.ColorRange.<init>(Unknown Source)
	at toxi.color.ColorRange.<clinit>(Unknown Source)
	at ColorTheory.draw(ColorTheory.java:77)
	at processing.core.PApplet.handleDraw(PApplet.java:1631)
	at processing.core.PApplet.run(PApplet.java:1530)
	at java.lang.Thread.run(Thread.java:680)

On Mac OSX 10.7.3 Any ideas?

Comments (3)

  1. Karsten Schmidt

    Hi Brendan, I'm not sure what this is, but am guessing it's your setup rather than anything on this side. Am on 10.7.4 and have the latest version of Java and never had any problems with Processing 1.5.1 (also not under 10.6.x). I've also not encountered anything similar in any of the recent workshops.

    java -version
    java version "1.6.0_31"
    Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3646)
    Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
    

    Can you also please make sure you're not having multiple versions of the library installed and if this doesn't help maybe try upgrading your Java from here:

    http://support.apple.com/kb/DL1515 http://stackoverflow.com/questions/6614380/jdk-on-osx-10-7-lion

  2. Brendan Dawes

    Finally got around to sorting it out. There was a folder called "prefutils" that seemed to be causing the problem, probably from an old version. All working great now - thanks.

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.