Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Swing-AWT Run time Exception after Clean and Build JavaNetBeans Project
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Priyanjan
Run time Exception after Clean and Build JavaNetBeans Project
0 Answer(s)      2 years and 5 months ago
Posted in : Swing AWT


I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5

The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button.

Then i 'Clean and Build the project' and get a dist folder in thr project directory.

Now The PROBLEM IS...

When is run the jar file from the dist folder , the first form (i.e Splash From) Opens fine but after progress bar is filled it should be disappeared followed by opening of Login form , BUT it dont happen , the Login Form dont opens..

But It works fine when i run project from NetBeans and all forms opens.

when i run the jar file form dist folder using cmdPrompt the following errors shows .

Exception in thread "main" java.lang.NullPointerEXception at javax.swing.ImageIcon. at hrmsproject.Loginframe.<Login_frame.java:116> at hrms_project.SplashPanel.main<SplashPanel.java:49>

Classes /Forms used in the project are :

SplashPanel.java (jPanel)
Login_frame.java (jFrame)
user_pass.java (jFrame)
admin_pass.java (jFrame)

usermainframe.java (jFrame)
adminmainframe.java (jFrame)

adminchangeadmin_pass.java (jPanel)
adminchangeemp_pass.java (jPanel)
empchangeemp_pass.java (jPanel)

Main.java

where SplashPanel.java is set as main class to open first when project is run.

Do i also need to post the code?

Please Help ! I have my Project Presentation tomorrow..


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Run time Exception after Clean and Build JavaNetBeans Project
Run time Exception after Clean and Build JavaNetBeans Project  I have... problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a dist folder in thr project directory. Now
Run time exception
Run time exception  What class of exceptions are generated by the Java run-time system?  Java runtime system generates RuntimeException and Error exceptions
Advertisements
when I run exiting project that time I got error, I want solution on it?
when I run exiting project that time I got error, I want solution on it?  Error occurred during deployment: Exception while loading the app... log for details. BUILD FAILED (total time: 1 minute 20 seconds
for sending project build
for sending project build  hello I want to send my iphone project build to someone else how can i send it...   yes you can send but Follow the steps on the portal to creating an ad hoc build and certificate. Look
Maven Project Build fails - Maven
Maven Project Build fails  HI Team I need an urgent help... am tryin to build the project app, I am getting this error. as below. Please...\domain>mvn clean install -Dmaven.hibernate.skip=true -Dmaven.test.skip=true [INFO
Run time problem
Run time problem  when i run a project,it shows an exception like "unable to create MIDlet".It also shows "running with locale:English_united States.1252 running in the identified third party security domain" "please help
Java run time polymorphism
Java run time polymorphism  What is run-time polymorphism or dynamic method dispatch
Run time polymorphism
Run time polymorphism  What is run time polymorphism or dynamic method dispatch
How to build a Struts Project - Struts
How to build a Struts Project  Please Help me. i will be building a small Struts Projects, please give some Suggestion & tips
run project on company lan
run project on company lan  sir, i have create dynamic java project of complaint registration and run on local host http://localhost:8080 and by using ip adress but the problem is how to run it at on company server so
Run time error - WebSevices
Run time error  Hello, Anyone know, how run the template files in zend framework.Anybody help me. Rgds, Pras  code to help in solving the problem : protected function _run($template
run time error
run time error  my program compile successfully but does not showing output for any program ...   Post your code.   public class...("Hello, World!"); } } // This is simple program but after successful compiles
get integer at run time
get integer at run time  how to get integer value at run time in j2ee using servlets   Hi, You can get the value from request parameter and then convert using the function Integer.parseInt(variable). Here
continuing execution after an exception is thrown
continuing execution after an exception is thrown  If while executing a statement in a try say the second statement, if it throws an exception, is it possible to handle that exception and then continue on with the remaining
how to write build file for one project - Ant
how to write build file for one project   hi This is kishore, i want to know how to write build file for one sample project in java. if u.../Howtogeneratebuildfile.shtml We hope that this will help you in writing your own build
JSP handle run-time exceptions
JSP handle run-time exceptions  How does JSP handle run-time... to have uncaught run-time exceptions automatically forwarded to an error processing... the browser to the JSP page error.jsp if an uncaught exception is encountered during
jdbc run time error - JDBC
jdbc run time error  i m creating the table using thin driver it is showing the following run time error: Exception in thread "main... Exception { Class.forName("jdbc.oracle.OracleDriver()"); Connection con
How to find run time in SQL.
How to find run time in SQL.  I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run... 22/10/2010 17:30:00 I want to find the run time of both the jobs. (i.e when i run
java run time error - JDBC
java run time error  when i m running for batch execution program in jdbc i m facing this kind of runtime error as Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap ter could not establish
Common concerns to build a project
Common concerns to build a project   ..., and project dependencies.  3. The build output: Developers spend a good chunk of time in creating build scripts such as ANT scripts to execute build
java applet run time error - Applet
java applet run time error  Hi, Im new to java applet.please help me. i have create a MPEG movie player in applet. when i run that program...("Can't build MRL for RTP"); return false; }*/ public void init
Threads(suspend(),resume()) run time abnormal behaviour
Threads(suspend(),resume()) run time abnormal behaviour   class..."); a1.t.resume(); } } hi! when i run this code after some seconds...=new Thread(this); t.start(); } public void run
java run time error - Java Beginners
java run time error  when i compile my program it didnt show any error in my program.but i cant run my program, if i run my program means it will show error like as following Exception in thread "main
Grid World project Run Error !! help please!!
Grid World project Run Error !! help please!!  i'm trying to make... not "run" here is my code: import info.gridworld.grid.Location; import..., the error occurs and i exit the error but run does not work anymore
java run time error in loading the driver - JDBC
java run time error in loading the driver  when i mrunning the program in oracle using type 4 driver it is giving the error as Error:jdbc.driver.OracleDriver the code was as follows: please suggest me how it can
java run time error - Java Beginners
java run time error  i am getting error "main... only, i have to display number of files and its last modified time ,i use... 23 08:17 0 23 08:17 but after displaying 12 such lines, it show error
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  I did all the things already, but I don't want this way. What I did, 1) first I... But I dont know how to run that application? Please tell me the way to run
java code to insert select at run time....????
java code to insert select at run time....????  java database code...;%=rs.getString(1)%>);" ></td> </tr> <% } %> <% } catch(Exception...:#ffffff;"></td> </tr> <% } } catch(Exception e){} %> <
objects create at run time - Java Interview Questions
objects create at run time  how to create objects at runtime,other than instantiation.  Hi friend, Object : Objects are the basic run time entity or in other words object is a instance of a class . An object
Project Time Management
Project time management involves all the processes involved for the timely completion and delivery of the project. Time management is an integral part.... A project manager is responsible to carry out an effective time management in every
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  How to run our application after deploying .war file in tomcat6.0?   Hi Friend, After installing the tomcat, follow these steps: 1)Go to the Control
Advertisements
 

 

 

DMCA.com