Research Log of Web Science Students

Computer Science is not simply programming

Posts Tagged ‘error

Momentary Video Capture Blinking *minor* Bug and D3D error

leave a comment »

After the CS199 meeting, I managed to work on the JMF’s frame rate which resulted to better output. I tinkered a little bit on the Java3D util files on NyARToolkit because I’m trying to optimize its frame rate and how it projects “inside” the video captured. I unfortunately did not save a copy of my working file so when I got home, my program’s video capture kept blinking (much like double buffering or continuous refreshing). Since it kept getting the same blinking bug on Bootcamp, I restarted to MacOS and used VMWare. When I ran the code, JMF’s capture device did not start and the program ended with the following errors:

DefaultRenderingErrorListener.errorOccurred:

CONTEXT_CREATION_ERROR: Renderer: Error creating Canvas3D graphics context

graphicsDevice = Win32GraphicsDevice[screen=0] canvas = javax.media.j3d.Canvas3D[canvas0,0,0,640×480]

[Java3D]: Using D3DDEVTYPE_REF mode.

[Java3D] Warning : Fail to create hardware D3D Device, switch to use reference rasterizer. – D3DERR_DEVICELOST

There aren’t a lot of information about this error when I googled it. However, I managed to solve it when one reply to a thread suggested that upgrading my Video Card Drivers will make it work. Since I’m using VMWare, I can definitely omit the idea that the problem lies with the hardware drivers. So I reinstalled DirectX since this was where the original problem occurred. Then, it worked! Finally.

Advertisements

Written by rururu

November 23, 2009 at 4:30 pm

Posted in Augmented Reality

Tagged with , , ,

getAuthUrl Error

leave a comment »

We’re getting an error refactoring the whole app so multiple users can log in and get tokens at the same time. Here’s an exerpt of the stack trace:

java.lang.NullPointerException
	at com.projectrix.oauth.model.impl.GoogleDocs.getAuthUrl(GoogleDocs.java:49)
	at com.projectrix.controller.OAuthController.authorize(OAuthController.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)

And this is what line 77 of OAuthController.java looks like:


authUrl = provider.getAuthUrl();

The getAuthURL method is where oauthParameters (consumerKey, consumerSecret and scope) are set and the OAuthHmacSha1Signer, GoogleOAuthHelper and the oauth_callback are instantiated. This is also where oauthHelper, oauth_callback and oauthParameters are given values by calling in getUnauthorizedRequestToken for oauthHelper, by appending StringBuilder values for oauth_callback and by calling in setOAuthCallback for oauthParameters. The method returns an approvalPageUrl (authUrl) string which was acquired by oauthHelper.createUserAuthorizationUrl(oauthParameters). The tutorials are found here.

What do I do? Maybe we’re looking at the wrong place. *Investigating now* =)

Written by Daniela

October 8, 2009 at 6:07 pm

Posted in ProjectriX

Tagged with , ,

366 lines of … errors!!

leave a comment »

LOL!! C’mon!! That’s the longest error I ever had! When I copy-pasted it to OpenOffice, Times New Roman size 12, I end up with an 11-page document! Woaahhh!!

366 lines

Written by roseannsale

August 27, 2009 at 12:03 am

Posted in Kinespell 2

Tagged with , ,

Wanted: More Help

leave a comment »

With the help of Maam Ada, Guillard and Google Search, my partner and I came up with different solutions to solve our problem with AbsoluteLayout. After trying every solution that we come across the Internet, we are still having errors

We are now doing and redoing things in order to fix these.

Read the rest of this entry »

Written by roseannsale

August 27, 2009 at 12:00 am

org.netbeans.lib.awtextra.AbsoluteLayout does not exist

leave a comment »

For unknown reasons when I run KineSpell (SunSpot Package), NetBeans cannot see the class Absolute Layout, while it can on other programs.

I think I just have to add the class path again.. 😀 Read the rest of this entry »

Written by roseannsale

August 26, 2009 at 11:57 pm

Red

leave a comment »

Isn’t it a bit hysterical when you think your program will run smoothly then all of a sudden you can see red marks and red exclamation points all over your screen?? Well, when I tried the original SunSpot Package of KineSpell, red became the color of my screen!!

Read the rest of this entry »

Written by roseannsale

August 26, 2009 at 11:33 pm

Posted in Kinespell 2

Tagged with , ,

ERROR

with 3 comments

KineSpell + Ubuntu 8.04 = the following errors Read the rest of this entry »

Written by roseannsale

August 17, 2009 at 5:38 am

Posted in Kinespell 2

Tagged with ,