Check the classpath. Check it again. Then really check it. I'd guess that your prototypes model / framework is not on the classpath.

I log this out at every app launch.  Priceless.

    /**
* Returns details on the JVM configuration (classpath, system properties etc.), useful for debugging.
     */
    static public String dumpJVMConfiguration()
    {
StringBuffer output = new StringBuffer("\nSystem Properties Follow....\n");

        Properties systemProperties = System.getProperties();
        Enumeration propertyNames = systemProperties.propertyNames();
        while (propertyNames.hasMoreElements())
        {
            String propertyName = (String) propertyNames.nextElement();
            if (propertyName.equals("java.class.path"))
            {
                output.append("Classpath\n");
String pathSeparator = systemProperties.getProperty("path.separator");

NSArray classPathComponents = NSArray .componentsSeparatedByString(systemProperties.getProperty(propertyName), pathSeparator ); Enumeration classpathEnumeration = classPathComponents.objectEnumerator();
                while (classpathEnumeration.hasMoreElements())
                {
String jarPath = (String) classpathEnumeration.nextElement();
                    output.append(jarPath + "\n");
                    try
                    {
                        File jarFile = new File(jarPath);
output.append((jarFile.isFile() ? " --> Exists\n" : "*** --> Does not Exist!\n"));
                    }
                    catch (Throwable t)
                    {
output.append("Exception validating classpath: " + t + "\n");
                    }
                }
            }
            else
            {
output.append(propertyName + " = " + systemProperties.getProperty(propertyName) + "\n");
            }
        }

        return output.toString();
    }



Chuck


On Mar 25, 2008, at 7:03 PM, James Cicenia wrote:
Ok -

My app works great in my development. I am trying to put it on my test deploy server and no go.

I was wondering if I was missing some part of the push, or, framework, or?

I get this though all values are showing up at User line 73, so it looks as though the model is out of sync or something? (running mysql)

Thanks
James Cicenia

Application:
coupon
Error:
java.lang.NullPointerException
Reason:
Stack trace:
File
Line#
Method
Package
EOAttribute.java
2020
adaptorValueByConvertingAttributeValue
com.webobjects.eoaccess
JDBCColumn.java
562
takeInputValue
com.webobjects.jdbcadaptor
JDBCChannel.java
226
_bindInputVariablesWithBindingsAndExecute
com.webobjects.jdbcadaptor
JDBCChannel.java
303
_evaluateExpression
com.webobjects.jdbcadaptor
JDBCChannel.java
261
evaluateExpression
com.webobjects.jdbcadaptor
JDBCChannel.java
185
selectAttributes
com.webobjects.jdbcadaptor
EODatabaseChannel.java
878
_selectWithFetchSpecificationEditingContext
com.webobjects.eoaccess
EODatabaseChannel.java
215
selectObjectsWithFetchSpecification
com.webobjects.eoaccess
EODatabaseContext.java
3205
_objectsWithFetchSpecificationEditingContext
com.webobjects.eoaccess
EODatabaseContext.java
3346
objectsWithFetchSpecification
com.webobjects.eoaccess
EOObjectStoreCoordinator.java
539
objectsWithFetchSpecification
com.webobjects.eocontrol
EOEditingContext.java
4114
objectsWithFetchSpecification
com.webobjects.eocontrol
ERXEC.java
1065
objectsWithFetchSpecification
er.extensions
EOEditingContext.java
4500
objectsWithFetchSpecification
com.webobjects.eocontrol
EOUtilities.java
193
objectsMatchingValues
com.webobjects.eoaccess
EOUtilities.java
321
objectMatchingValues
com.webobjects.eoaccess
User.java
73
authenticateUser
com.aweli.cpn.eo
Main.java
60
login
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________
Wonder-disc mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wonder-disc

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to