Run time Exception after Clean and Build JavaNetBeans Project

Ads

 
 

Share on Google+Share on Google+

Priyanjan
Run time Exception after Clean and Build JavaNetBeans Project
0 Answer(s)      5 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..

Ads
View Answers
Ads









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
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
Run time polymorphism
Run time polymorphism  What is run time polymorphism or dynamic method dispatch
Java run time polymorphism
Java run time polymorphism  What is run-time polymorphism or dynamic method dispatch
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
Maven Dependency jsf-extensions-run-time >> 1.0.4
You should include the dependency code given in this page to add Maven Dependency of jsf-extensions >> jsf-extensions-run-time version1.0.4 in your project
Index Out of Bound Exception
. This exception are seen at run-time rather than the compile time. This causes... that occurs at run-time errors. This arises because of  invalid parameter... Index Out of Bound Exception   
Data transfer object at run time - Development process
Data transfer object at run time  I have to assign data from resulset to data transfer object.. but i don't know the the number of coloums in selected table. So i have creted a Data Object class with 100 getter setter methods