Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 11 of 11

Threaded View

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default NullPointer Exception and error while running bat file in chat server program

    Hello, I have A chat server programmed in java... it runs with PostGRESQL database just to let you guys know..

    I'm having this error... and been trying to fix it for months.... if anyone could help me resolve this issue i would appreciate it alot.


    The Error I get when I Run the bat file to start the Server is this... (Error In Bold)


    Also I can post the whole program source after the expired part which error occours on




    Java -cp Server.zip com.diginet.digichat.server.ChatServer client=xClient,Client

    ChatServer params: client=xClient,Client ports=8896,8897,8898,8899
    Your DigiChat demo expired on Thu Aug 17 11:59:45 BST 1939
    Please log in as Admin and add a serial number.
    This server allows the following:
    Unlimited sites
    1 users
    0 rooms
    No Moderated Chat
    No Commander Login
    Expires on: Thu Aug 17 11:59:45 BST 1939
    Exception in thread "main" java.lang.NullPointerException
    at com.diginet.digichat.server.ChatServer.<init>(Unkn own Source)
    at com.diginet.digichat.server.ChatServer.main(Unknow n Source
    )
    Last edited by illucidryan; May 6th, 2009 at 02:23 PM.


Similar Threads

  1. TCP chat attaching cipher is not running
    By Koren3 in forum Java Networking
    Replies: 4
    Last Post: May 19th, 2009, 02:52 AM
  2. Java NullPointer Exception in Server chat program
    By Valtros in forum Exceptions
    Replies: 1
    Last Post: May 8th, 2009, 05:06 AM
  3. Replies: 0
    Last Post: May 3rd, 2009, 10:55 AM
  4. SSL Chat implementation
    By Koren3 in forum Java Networking
    Replies: 6
    Last Post: April 24th, 2009, 08:20 AM
  5. Replies: 1
    Last Post: April 20th, 2009, 11:17 AM