Go to Post Didn't you know? Kids today are born with GPS tracking systems installed so Mom's can look them up on Google Earth wherever they are and also know what they're doing for a living, eating the right foods and if they're dating the appropriate people. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-02-2011, 10:27
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Random Java errors that don't make sense

Netbeans automatic error detection can get confused sometimes. Often closing a project and Netbeans, then reopening it will help. But it sounds as if you've already done it. You say it compiles fine? But it still shows errors? Another thing to check is to make sure the project library paths and Java version are set correctly. Sometimes updates will mess those up.
Also try "clean and build". You said you reinstalled Netbeans, did you redo the update too?

Another thing to do that might work is to start a new FIRST project and move your old files to the new project and rebuild.
__________________
I don't need a signature.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2011, 14:56
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Random Java errors that don't make sense

NetBeans and all the plugins are the newest versions, as far as I can tell. I tried a clean/build and the "errors" are still there, but it compiled fine. Tried making a new project, which had "errors" from the moment I opened it. I think you're right about the library paths. However, there does not appear to be a way to change them through the "projects" tab. However, that does not mean there isn't a way to change them...

?

Last edited by 1168Programmer : 06-02-2011 at 15:37.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 17:42
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Re: Random Java errors that don't make sense

1 have you imported the required/neccicery wpi files
2 have you declared them
3 are caps in places where they shouldnt be
if else recheck/reprogram a similar program and post the differance as they may be of help to others
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 17:58
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Random Java errors that don't make sense

1. Yes - netbeans is saying all the imports are errors even though they aren't
2. Yes - netbeans thinks the declarations are errors too
3. No

The program was perfectly fine before the updates. Then we updated. Then netbeans got angry.

As of right now, I have uninstalled and reinstalled netbeans and the FIRST plugins twice on our main laptop. I am installing netbeans on our older laptop (so old I needed to install the JDK because it didn't even have one) to test whether our laptop is screwed up or whether our code is.

If/when I figure out what's wrong, I'll post that too. In the meantime any other suggestions are more than welcome.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2011, 18:23
1168Programmer 1168Programmer is offline
Head Programmer/CEO
FRC #1168
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Team 1168
Posts: 67
1168Programmer is an unknown quantity at this point
Re: Random Java errors that don't make sense

Ok, netbeans now works on our really old laptop and the project is fine. No "errors". Which is fine, but it doesn't actually solve the problem on the main one.... but of course it could always be that our main laptop is pretty messed up.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 18:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi