|
editor netbeans |
Posted by lari3 on May-08-2013 16:53 |
|
I have a problem with my editor netbeans7.0.1,
exact i cn't open open project or added some archive files ,
So please can you help me |
Re: editor netbeans |
Posted by Peter Kwan on May-09-2013 01:49 |
|
Hi lari3,
If you are not sure how to use NetBeans, may be you can use post a message in other forums that support NetBeans.
I have never used NetBeans 7.0.1 before. I have just downloaded NetBeans 7.2.1, install it, then performed the followings:
1. Create a new Java application. The NetBeans automatically creates a JavaApplication1.java file.
2. Copy the code from the "Simple Bar Chart" sample code to the JavaApplication1.java (modifying the class name to JavaApplication1).
3. Add DemoModule.java to the source files.
4. Add ChatDirector.jar to the Libraries folder.
Then I compile the code and it runs normally.
I have attached a screen shot for your reference.
Regards
Peter Kwan
|
Re: editor netbeans |
Posted by lari3 on May-09-2013 02:21 |
|
think you Peter,
but my problem is that i can't added archive file and source file
i try this but its not working
this is the erreur:
A java.lang.ArrayIndexOutOfBoundsException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\\Users\\azza\\.netbeans\\7.0.1\\var\\log folder.
i try with other version of netbeans but the same erreur |
Re: editor netbeans |
Posted by Peter Kwan on May-10-2013 02:08 |
|
Hi lari3,
Actually, the error message suggests you to contact NetBeans "http://www.netbeans.org/community/issues.html", and attach the "messages.log" file. So it may be an issue with NetBeans. Have you reported the issue to NetBeans, and what is NetBeans' response?
In your message, you have not mentioned when the exception occur. May be you can follow my steps and inform me when does the exception occur. If the exception occur, it may be useful if you could take a screen shot, and also include the "messages.log" as mentioned in your error message.
*** All of the followings should be performed using the Administrator account ***
(A) Download the latest Java 1.7.x, and install it.
(B) Download NetBeans 7.2.1 (the Java SE version) and install it.
(C) Download ChartDirector for JSP/Java (the "chartdir_java.zip" file), UNBLOCK it, then unzip it.
(D) Start NetBeans, create a new empty Java application. The NetBeans should automatically create the JavaApplication1.
(E) Right click on the Library folder, select "Add JAR/Folder", and add the "ChartDirector.jar" that you have unzipped in step (C) above.
(F) Drag and drop the "DemoModule.java" from the File Explorer into the "Source Packages/javaapplication1" folder in NetBeans. Remember to add a line "package javaapplication1;" to put it in your projects package.
(G) Copy all code from "simplebar.java" to "JavaApplication1.java". Replace the class name "simplebar" with "JavaApplication1". Remember to add a line "package javaapplication1;" to put it in your projects package.
(H) Press compile to run the code.
Regards
Peter Kwan |
Re: editor netbeans |
Posted by lari3 on May-10-2013 02:37 |
|
Hi Peter,
mu problem is that i can't add any thing to my project
and the erreur occur always.
this is the log file
log.txt |
---|
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:174)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:238)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:280)
Caused: sun.security.validator.ValidatorException: PKIX path building failed
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:285)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:191)
at sun.security.validator.Validator.validate(Validator.java:218)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:954)
Caused: javax.net.ssl.SSLHandshakeException
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1520)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:182)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:176)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:511)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:449)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1029)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1056)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1040)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:960)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:318)
at javax.swing.JEditorPane.getStream(JEditorPane.java:705)
at javax.swing.JEditorPane.getStream(JEditorPane.java:719)
at javax.swing.JEditorPane.setPage(JEditorPane.java:407)
at org.netbeans.modules.uihandler.Installer$SubmitInteractive.assignInternalURL(Installer.java:1887)
at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:1449)
at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:969)
at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:900)
at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:908)
at org.netbeans.modules.uihandler.UIHandler.run(UIHandler.java:140)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
|
| |
Re: editor netbeans |
Posted by Peter Kwan on May-10-2013 17:24 |
|
Hi lari3,
From your information, it seems the issue is completely not related to ChartDirector, but is a NetBeans issue. I suggest you contact NetBeans for support.
Regards
Peter Kwan |
Re: editor netbeans |
Posted by lari3 on May-10-2013 19:58 |
|
ok think you Peter |
|