Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

General Discussions


You are currently viewing our General Discussions as a guest. Please register to participate.
Login



Reply
Least helpful error messages
Old 02-07-2008, 06:35 PM Least helpful error messages
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
So I started working on a project today and I needed to code up a directed graph in java. Everything is going great for like the first hour, I had all of the underlying structure done (the linked list based adjacency list) and I start building the methods for inserting data and sunddenly eclipse gives me a little wavy red line under one of my assignments. I look at the error message and it says:

Quote:
Type Mismatch: cannot convert from DirectedGraph<V,E>.Vertex<V> to DirectedGraph<V,E>.Vertex<V>
So far I've had no luck at figuring out the underlying error in my design and that message is of very little help. Java is pretty much telling me that it wants something of type vertex... but it can't be of type vertex.

What are some of the completely pointless and unhelpful error messages you guys have seen.. I'm sure those of you who have C++ experience have some.
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
 
Register now for full access!
Old 02-07-2008, 07:54 PM Re: Least helpful error messages
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
What's the operating system that gives all it's error messages in haiku form? Umbunto or FreeBSD or something?

I didn't know Java could do template based types? Is Vertex<V> a member class of DirectedGraph<V,E> or is it publically accessible by itself?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 02-07-2008, 09:37 PM Re: Least helpful error messages
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Java supports generics, which serves the same purpose as template classes in C++ but works a little differently. Vertex<V> is a nested subclass of DirectedGraph. I think I'm going to try externalizing all of my nested classes to see if that solves or at least simplifies my problem.

As far as the haikus go... I'm not sure which OS it is but that's much better than some of the cryptic error messages I've seen.
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 02-07-2008, 09:46 PM Re: Least helpful error messages
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
ASP actually has an "Unspecified Error" message. If I recall correctly, it has something to do with malformed SQL queries. But I haven't seen the error in years.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 02-07-2008, 09:47 PM Re: Least helpful error messages
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
"Permission denied" is a good one, although asp typically only throws that over ntfs permissions. It could mean just about anything, and doesn't sound very helpful.

There's the always popular "object reference not set to an instance of an object." Come to think of it, there's a guy online named after that error...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 02-10-2008, 01:14 PM Re: Least helpful error messages
Banned

Posts: 2,898
Location: Canada
Trades: 0
I hate when error message says: Contact Administrator
Hmmm... contact myself






fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Least helpful error messages
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.65979 seconds with 12 queries