Netbeans and issues

I'm working under netbeans, and I did an update recently to all the plug-ins that I have. Now because of that, I have those red squiggles everywhere even though there's no error associated with that line of code. Not only that, but it won't recognize any other methods or classes when I try to do the Auto comeplete. When I try to do the auto-complete, it comes back with the, "No suggestions" even though the class is in the same file. Any one run into this, and if so, is there a fix to this!?

YAY! I sloved my own problem! Heh. Ok, to solve this issue, all you have to do is:
1) Change your JDK to something else (doesn't matter unless you have methods that are depricated).
2) Clean and build.
3) Change back to your old JDK.
4) Clean and build again.
That solved it for me, and hopefully will solve it for others as well.

Similar Messages

  • NetBeans problem: Issue with servlets and Chinese character encoding

    Java Version: JDK1.5.0_01, JRE1.5.0_01 (International version)
    Netbeans Version: Netbeans IDE 4.0
    OS: Windows XP Personal Edition
    Dear Sirs,
    First at all thanks for reading this post. I am having the following issue. I am creating an application using html pages and servlets. I am using Chinese and English languages on them (html encoding UTF-8).
    I created a project in Netbeans and added an idex.html screen reporting to a servlet. Both index.html and in the servlet generated html page contains the line:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    Additional, I setup the character code settings in Netbeans:
    (tools-options-Java sources-Expert-default encoding=UTF-8
    When I run the project, index.html displays itself perfectly, with the Chinese characters displayed properly. The problem comes when the html created servlet is displayed, which instead of the Chinese characters some strange characters are displayed (�� instead of Chinese).
    I have tried different encodings from http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html without any luck. I also setup the encoding of the file itself (using right click-properties in the project menu of Netbeans).
    Also, when I am editing the servlet, the characters are displayed properly. I type them directly without any issue, but then the display is wrong at runtime.
    Also, just in case this have something to do with the problem, my PC was bought in US, therefore the default character set is not Chinese. I had to install the Chinese typing stuff later on. But like I said earlier, the html page is displayed properly, so I really think is some problem with Netbeans.
    After a week trying to find a solution, I decided to post it here in the hopes that someone will show me the way of the light.
    Thanks in advance for any ideas or help provided
    Aral.

    Ok, I found out some problems with Netbeans as well.
        public void doGet(HttpServletRequest request,
                          HttpServletResponse response)
            throws IOException, ServletException
            response.setCharacterEncoding("UTF-8");
            request.setCharacterEncoding("UTF-8");
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            byte[] st = {-25,-75,-124,-27,-100,-106,-17,-68,-102,-27,-80,-113,-27,-72,-125,-26,-118,-75,-26,-105,-91,-27,-82,-93};
            out.println("this works: ");
            out.println(new String(st,"UTF-8"));
            out.println("<br>");
            out.println("this doesn't: ");
            out.println("some chinese copied from the Internet<br>");Right click the .java file and choose properties -> encoding UTF-8
    Then I make a copy of the .java file, rename it to html and open it with IE sure enough
    the Chinise is allready unreadable (not it's still readable in the IDE);
    When I compile the file with F9 I get the following error:
    whatever.java:101: warning: unmappable character for encoding Cp1252
    Tried to set the encoding to UNICODE but then the file doesn't compile.
    I gues you have to download the Japanese version for it to work correctly.

  • Possible iPod Classic and Oracle Netbeans/Java Issue

    I recently lost all the music from my iPod Classic and was unable to restore from iTunes or reset to factory defaults. The iPod showed a large amount of disk usage but no music, video, photos, etc. and it took forever to connect to my Windows USB port. After battling this and trying tons of ideas on the net, the Apple Store had to reformat the device from a Mac and reset the drive. Today I just had the same issue and I think the issue was caused by Oracle Netbeans and/or Java being loaded to my desktop. Both times I had this issue was after downloading Oracle NetBeans for a development tool. Has anyone else seen this issue?

    1. How likely is it that Apple will fix this issue with future firmware releases?
    No-one here could even hazard a guess. We're just users like yourself. Do Philips claim this DVD player is compatible? Isn't it the responsibility of the makers of the DVD player to ensure it works with the Classic?
    2. Are other 3rd party devices (i.e. Docks, Automobiles, etc.) affected by this firmware release?
    Yes. Almost all older 3rd party accessories don't work with the Classic. There have been many posts about such issues both here and other iPod forums.
    3. Is there any way to go back to firmware release 1.0.2? I know backing off firmware releases is possible with the iPhone.
    This may be of help but you have to have the previous version still on your computer.
    Remove the latest update from the iTunes/iPod updates folder.
    In Windows XP but I think it's found in "Documents and Settings\User Name\Application Data\Apple Computer\iTunes\iPod Software Updates."
    Then prevent iTunes from checking the internet for a new update (preferences/general and remove the check mark from "check for updates automatically), then click restore. Or simply disconnect your modem from the computer.
    Then restore the iPod.
    You should then be asked if you want to use the previous version of the iPod software.

  • Netbeans and Windows 2000 Server Problems

    I've tried to run netbeans on my windows 2000 server OS a few times. It usually doesn't work out and I have to go back to pcGrasp.
    Does anyone out there know of any issues between netbeans and this OS. Is it worth it. I'd like to move away from the .net world and learn j2EE but I'd like to move up my IDE. Netbeans seems like the best choice. Does any experienced individuals out there know of a better one?
    This was my latest error with netbeans. From just opening a folder??? I also tried to report it - I still have to wait another hour after I registered before I could HOPEFULLY find where exactly I can report it. Maybe thats why there are so many bugs. They make it impossible to report something they tell you to report to help out.
    A java.lang.reflect.InvocationTargetException exception has occurred.
    Please report this at http://www.netbeans.org/issues.html,
    including a copy of your ide.log file as an attachment.
    The ide.log file is located in your C:\Documents and Settings\Administrator\.netbeans\3.6\system folder.
    Thanks for anything
    -Wiley

    I use Windows 2000 Professional and have not problems.
    I would suggest,
    - ensure you have all windows updates.
    - ensure you have JDK 1.4.2_04
    - try eclipse which is also free (From IBM) http://www.eclipse.org/

  • Report for Req Material and Issue Material for Project/WBS

    Dear All,
    My client need a report for a WBS element-wise material required and material issue with value.
    Let me know if any standard report avialble for same??
    Or Incase of devlopment which are the tables we can use to Get req qty and issue qty of materials?
    Thanks and Regards,
    Atul R. Rajmane

    Dear Shirkant,
    Thanks for your input. I am using CN52N report.
    I this I have selected Req Qty, Qty Received, Qty Withdrawn, Shortfall Qty. I am getting figures in  Req Qty, Qty Withdrawn, Shortfall Qty but I am not able to get Qty Received figure. Let me know how I can get it i.e. for this any Note is required or any other configuration??
    If I can get this figure than I can use this report for requirement.
    Thanks and Regards,
    Atul R. Rajmane

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

  • In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    AshwinVC wrote:
    I reset the system and issue gets resolved.
    How? 

  • Material wise reciept and Issue report with Opening and Closing Stock

    Hi
    I need a report,Material wise Receipt and issue with Opening and Closing stock.Is there any standard report available in SAP ?
    Or we have to go for Customised Report.
    Please reply

    Hi,
    MB5B gives total receipts - if i click on the receipts i can view the multiple material documents - BUT is there any way to drill down the reciepts or view the breakup of the receipts on the same screen OR is there any other report for this.
    Regards,
    Laxmi

  • Opening closing stock receipts and issues analysis

    Hi,
    Is it possible to match the values in the MC.A (Total Receipts and Issues Values) to Gl Accounts,
    If it is possible How?

    Hi,
    from within the MC.A there is a link directly to the accounting documents that are involved.
    Go to the menu option Extras > accounting doc for material when you have the data for a material displayed.
    By careful and make sure that you have selected the correct flag on the values window of the initial selection screen.
    Steve B

  • Material stock received and issued for a given period of time

    HOW to get the material stock received and issued for a given period of time including the open orders.
    if there is any BAPI Available then please tell me. or give me the table relations thaks.
    thanks inadvance

    hi friend,
    Why don't you try using a TIMER. Try using this code
    Timer timer = new Timer((TIMER), new ActionListener()
         public void actionPerformed(ActionEvent ae)
    // perform your task here...
    timer.setInitialDelay(TIMER);
    timer.setRepeats(true);
    timer.start();
    I think this will work fine.
    Bye,
    Ravi.

  • How to achieve Indenting and Issuing of raw materials in Oracle 11i

    Hi
    We have an issue with indenting and issuing of raw materials between stores and shop floor.
    Business Process is:
    1) Shop Floor should send a requisition of raw material to stores department i.e., (Indenting) with authorization of Production Manager.
    2) Then based on the requisition, stores needs to issue the raw material to Shop floor with Stores Manager authorization in report format.
    Work around:
    we have created Flexi Fields (DFF) in the Batches window under context value,
    through which we can indent quantity of that item datewise required.
    But the trouble is, it is time consuming and data entry is more.
    Also we have RM Pick List report, which is not useful for us for this process.
    Can any one please give me any idea how to do this process with minimal data entry in optimal time without new customization.
    Thanks in advance for your valuable ideas
    Prem.

    Hi Gordon,
    My SBO version is 8.8 PL 10, Indian Database. I want to see the "Raw Material" G/L Account's opening balance in the Opening Balance Column of Trial Balance or similar report of SBO. The technical problem behind this is - the mentioned reports shows the the amounts in OB column if that amount is entered by the OB Transactions (in Administration -> System Initialization). But how to manage the Raw Material / Inventory G/L through this concept, as the OB amount for this is entered through Inventory Initial Quantity. We can do the entry one day before the expected starting date of the financial period, is that can be a standard practice? For. e.g. entering the opening balance for 1-1-06 on 31-12-05.

  • TS1717 itunes will not open and issue 13001 comes up...? thanks

    itunes will not open and issue 13001 comes up...? thanks

    Perhaps something here will help:
    http://support.apple.com/kb/TS1421
    Regards.

  • Creating refunds in CR&B and issuing the check in Accounts Payable (ERP)

    Hi experts-
    I'm on an implementation project where ERP and CR&B are being put in place, both being on the same SAP instance/ box. The current refund process calls for generating refunds on the customers' contract accounts in CR&B and issuing the checks out of AP. The check memo field is to include the customer's name, Contract Account # ,and service address.
    Is there a standard SAP process to accommodate for this requirement? If not, what custom program or interface could satisfy the requirement?
    I'd like to hear if anyone has done anything similar and what successful approach was followed.
    Thanks,
    MD
    Moderator note - thread locked, no research - duplicate of Creating a refund request in CCS and printing that refund check FI-AP
    Edited by: William Eastman on Apr 26, 2011 5:24 PM

    1. Take List of all applied Invoices of the Payment
    2. Check the status of those invoices. Each one of them should be in status 'Accounted'
    3. If not,Identify the problem with the Invoice and Clear that. The problem may be Invoice adjustment(adj to Paid invoices allowed).
    4. Try running Create Accounting again.
    5. If the problem persists still, it conveys us that the Transactions were struck in loop and can be resolved only by using UPDATE command.
    6. Contact Oracle for Data fix
    Regards,
    Sridhar

  • Java PDK Bugs and Issues

    Here are some bugs and issues I've run across using the JPDK that I thought other
    developers should be aware of. The following information comes from using JPDK
    1.1 with Oracle Portal Version 3.0.6.3.3 Early Adopter on Windows 2000.
    1) Do not use a colon character (':') in the String value returned by the method getTitle( Locale l ) in the class Portlet. Registering the provider will appear to succeed, but when you view the Portlet Repository you will get the following error message:
    An Unhandled Exception has occurred. ORA-06502: PL/SQL: numeric or value error:
    character to number conversion error
    Your provider and its portlets will not appear in the Portlet Repository when this error occurs.
    Perhaps other characters will cause this error as well.
    2) The Provider class method initSession() is supposed to propagate the array of returned Cookies back to the browser. The Cookies are never propagated to the browser. This is a huge road-block for our application and we need to have this problem fixed as there is no workaround.
    3) There is a limit to the number of portlets you can have per provider. I initially wrote a provider class that managed 19 portlet classes. However, after registering the provider only 17 portlet classes were loaded by the provider and/or displayed by the Portlet Repository. I had to create a second provider to manage additional portlets. The second provider worked out fine for me because I have 5 portlets that are for "administrator" users only. Moving these portlets left 14 portlets for the first provider to manage.
    Note: I don't know if this error occurs using the provider.xml method of implementing a provider and its portlets. My provider and portlets are implemented directly using the Java class API's.
    4) Sometimes I will receive the error "Meta data missing for portlet ID=<number>" when a portlet is rendered for the first time. This error does not occur often but when the error happens two conditions are met:
    a) The portlet is being rendered for the first time
    b) The HTTP and Web Assistant NT services have recently been started.
    This error is obviously caused by some timeout but increasing the timeout values
    for both the provider and the portlet has no effect. This error may be restricted to the NT platform.
    The following notes are not bugs but issues to be aware of:
    1) Make sure you have the "sessiontimeout" parameter defined when declaring the initArgs of a servlet in the zone.properties file and you intend to register your provider with a "Login Frequency" of "Once per User Session". For example:
    servlet.urlservlet.initArgs=debuglevel=1,sessiontimeout=1800000
    If you leave off the session timeout, Oracle Portal will call your provider's initSession() method for every request constantly generating new a session ID.
    2) Currently there is no means to check whether a ProviderUser has administrative
    privileges. This feature would be extremely helpful for restricting which portlets a user has access to when the provider's getPortlets() method is called.
    3) Currently there is no Java API for storing user and global preferences in the
    Oracle database. The JPDK provides a PersonalizationManager class but the method
    of storing the preferences needs to be implemented by the developer.
    The default Personalization Manager persists user preferences as a file
    to disk. However, this method opens up security holes and hinders scaleability.
    We got around the security and scalability issues by using Oracle's JDBC
    driver to persist user and global preferences to custom tables in the underlying Oracle database.
    I would appreciate hearing from anyone who has run across the cookie propagation issue and has any further insights.
    Thanks...
    Dave White
    null

    David,
    Thank you for your feedback on the JPDK. The information you provide helps us understand how customers are using 9iAS
    Portal and its development kits. I apologize for the delay in getting back with you. Since you are using the Early Adopters
    release, we wanted to test a few of the bugs and issues on the production release of 9iAS Portal.
    1) Using a colon character (:) in the String value returned by the method getTitle(Locale l) returned the ORA-06502 error is a
    known issue. This issue actually occurs within 9iAS Portal and should be resolved in the first maintenance release scheduled
    for 9iAS Portal.
    Waiting on reply from Nilay on #1
    2) The Provider class method initSession() not propagating the array of returned cookies back to the browser is an issue that we are currently working on. This bug has been fixed for most cases in the first maintenance release. A 100% fix of this issue is still being worked on.
    3) The limit to the number of portlets you can have per provider was an issue in the Early Adopter release, but is no longer an issue with 9iAS Portal production. Upgrade to the production release and you should no longer see this problem.
    4) The error "Meta data missing for portlet ID=<number>". I have not seen or heard about others receiving this same message. For this error, can you upgrade to the production version and let me know if you still receive this error message. At that time we can check for differences within the configuration.
    Not bug, but issues......
    1) You have made a good point with the sessiontimeout parameter. The JPDK uses servlet 2.0 APIs which does not provide access to the sessiontimeout. Currently, you will need to specify the sessiontimeout parameter in the zone.properties file.
    2) This is true. Currently there is no means to check whether a ProviderUser has administrative privileges. This is on our features list for future enhancements.
    3) This is also true. The DefaultPortletPersonalizationManager was created as a default runtime for developers not used to writing portlet code. It allows developers to write portlet code without concentrating on the underlying framework. Once a developer becomes more experienced with the JPDK and portlet environment, we encourage them to create their own
    customization manager. This includes changing how the portlet repository is stored or changing how the user customization is
    handled and where it is stored. You have no limitations as long as you follow the guidelines of the PortletPersonalizationManager interface.
    I hope this information helped. Again, we appreciate and welcome this type of feedback, it helps us not only locate bugs and issues, but also helps prioritize our enhancement list.
    Sue

  • NetBeans and JSP pages

    I'm using the netBeans IDE to develope my project and the project is web application. But I've a problems with this IDE.
    Q1. The default page is index.html and the default home for the project is say $HOME, when I write http://localhost:8084/$HOME/index.html the browser displace error message. I've to run this file from the netBeans. Do I need to run netBeans and run the file from the IDE to access the index.html file?
    Q2. The second problem is; once I run the index file from the netBeans and then use this address http://localhost:8084/$HOME i.e if I remove the index.html file form the URL the Browser displays all the files that I've in my project but I don't won't this to happend. Is there any means to avoid this problem?
    Thank you indavance.

    I'm using the netBeans IDE to develope my project and
    the project is web application. But I've a problems
    with this IDE.If you are new to application development, then I recommend not using any IDE - it is better to configure everything manually http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html to understand what's going on under the hood.
    Once you understand what's going on, then it will be much easier to configure your IDE.
    Q1. The default page is index.html and the default
    home for the project is say $HOME, when I write
    http://localhost:8084/$HOME/index.html the browser
    displace error message. I've to run this file from
    the netBeans. Do I need to run netBeans and run the
    file from the IDE to access the index.html file?Check this with NetBeans User Mailing List
    Q2. The second problem is; once I run the index file
    from the netBeans and then use this address
    http://localhost:8084/$HOME i.e if I remove the
    index.html file form the URL the Browser displays all
    the files that I've in my project but I don't won't
    this to happend. Is there any means to avoid this
    problem?
    Thank you indavance.

Maybe you are looking for